Lines Matching refs:cipher_code
199 parse_tag_65_packet(struct ecryptfs_session_key *session_key, u8 *cipher_code, in parse_tag_65_packet() argument
255 *cipher_code = data[i++]; in parse_tag_65_packet()
285 write_tag_66_packet(char *signature, u8 cipher_code, in write_tag_66_packet() argument
333 message[i++] = cipher_code; in write_tag_66_packet()
586 u8 cipher_code; member
722 s->cipher_code = ecryptfs_code_for_cipher_string( in ecryptfs_write_tag_70_packet()
725 if (s->cipher_code == 0) { in ecryptfs_write_tag_70_packet()
733 dest[s->i++] = s->cipher_code; in ecryptfs_write_tag_70_packet()
857 u8 cipher_code; member
954 s->cipher_code = data[(*packet_size)++]; in ecryptfs_parse_tag_70_packet()
955 rc = ecryptfs_cipher_code_to_string(s->cipher_string, s->cipher_code); in ecryptfs_parse_tag_70_packet()
958 __func__, s->cipher_code); in ecryptfs_parse_tag_70_packet()
1129 u8 cipher_code = 0; in decrypt_pki_encrypted_session_key() local
1163 &cipher_code, msg); in decrypt_pki_encrypted_session_key()
1173 rc = ecryptfs_cipher_code_to_string(crypt_stat->cipher, cipher_code); in decrypt_pki_encrypted_session_key()
1176 cipher_code); in decrypt_pki_encrypted_session_key()
2185 u8 cipher_code; in write_tag_3_packet() local
2355 cipher_code = ecryptfs_code_for_cipher_string(crypt_stat->cipher, in write_tag_3_packet()
2357 if (cipher_code == 0) { in write_tag_3_packet()
2363 dest[(*packet_size)++] = cipher_code; in write_tag_3_packet()