Lines Matching refs:cipher_code
213 parse_tag_65_packet(struct ecryptfs_session_key *session_key, u8 *cipher_code, in parse_tag_65_packet() argument
269 *cipher_code = data[i++]; in parse_tag_65_packet()
299 write_tag_66_packet(char *signature, u8 cipher_code, in write_tag_66_packet() argument
347 message[i++] = cipher_code; in write_tag_66_packet()
592 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()
880 u8 cipher_code; member
980 s->cipher_code = data[(*packet_size)++]; in ecryptfs_parse_tag_70_packet()
981 rc = ecryptfs_cipher_code_to_string(s->cipher_string, s->cipher_code); in ecryptfs_parse_tag_70_packet()
984 __func__, s->cipher_code); in ecryptfs_parse_tag_70_packet()
1148 u8 cipher_code = 0; in decrypt_pki_encrypted_session_key() local
1182 &cipher_code, msg); in decrypt_pki_encrypted_session_key()
1192 rc = ecryptfs_cipher_code_to_string(crypt_stat->cipher, cipher_code); in decrypt_pki_encrypted_session_key()
1195 cipher_code) in decrypt_pki_encrypted_session_key()
2191 u8 cipher_code; in write_tag_3_packet() local
2348 cipher_code = ecryptfs_code_for_cipher_string(crypt_stat->cipher, in write_tag_3_packet()
2350 if (cipher_code == 0) { in write_tag_3_packet()
2356 dest[(*packet_size)++] = cipher_code; in write_tag_3_packet()