Lines Matching refs:cipher_code
212 parse_tag_65_packet(struct ecryptfs_session_key *session_key, u8 *cipher_code, in parse_tag_65_packet() argument
268 *cipher_code = data[i++]; in parse_tag_65_packet()
298 write_tag_66_packet(char *signature, u8 cipher_code, in write_tag_66_packet() argument
346 message[i++] = cipher_code; in write_tag_66_packet()
591 u8 cipher_code; member
721 s->cipher_code = ecryptfs_code_for_cipher_string( in ecryptfs_write_tag_70_packet()
724 if (s->cipher_code == 0) { in ecryptfs_write_tag_70_packet()
732 dest[s->i++] = s->cipher_code; in ecryptfs_write_tag_70_packet()
879 u8 cipher_code; member
979 s->cipher_code = data[(*packet_size)++]; in ecryptfs_parse_tag_70_packet()
980 rc = ecryptfs_cipher_code_to_string(s->cipher_string, s->cipher_code); in ecryptfs_parse_tag_70_packet()
983 __func__, s->cipher_code); in ecryptfs_parse_tag_70_packet()
1147 u8 cipher_code = 0; in decrypt_pki_encrypted_session_key() local
1181 &cipher_code, msg); in decrypt_pki_encrypted_session_key()
1191 rc = ecryptfs_cipher_code_to_string(crypt_stat->cipher, cipher_code); in decrypt_pki_encrypted_session_key()
1194 cipher_code) in decrypt_pki_encrypted_session_key()
2189 u8 cipher_code; in write_tag_3_packet() local
2346 cipher_code = ecryptfs_code_for_cipher_string(crypt_stat->cipher, in write_tag_3_packet()
2348 if (cipher_code == 0) { in write_tag_3_packet()
2354 dest[(*packet_size)++] = cipher_code; in write_tag_3_packet()