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()
599 u8 cipher_code; member
735 s->cipher_code = ecryptfs_code_for_cipher_string( in ecryptfs_write_tag_70_packet()
738 if (s->cipher_code == 0) { in ecryptfs_write_tag_70_packet()
746 dest[s->i++] = s->cipher_code; in ecryptfs_write_tag_70_packet()
871 u8 cipher_code; member
968 s->cipher_code = data[(*packet_size)++]; in ecryptfs_parse_tag_70_packet()
969 rc = ecryptfs_cipher_code_to_string(s->cipher_string, s->cipher_code); in ecryptfs_parse_tag_70_packet()
972 __func__, s->cipher_code); in ecryptfs_parse_tag_70_packet()
1142 u8 cipher_code = 0; in decrypt_pki_encrypted_session_key() local
1176 &cipher_code, msg); in decrypt_pki_encrypted_session_key()
1186 rc = ecryptfs_cipher_code_to_string(crypt_stat->cipher, cipher_code); in decrypt_pki_encrypted_session_key()
1189 cipher_code) in decrypt_pki_encrypted_session_key()
2198 u8 cipher_code; in write_tag_3_packet() local
2368 cipher_code = ecryptfs_code_for_cipher_string(crypt_stat->cipher, in write_tag_3_packet()
2370 if (cipher_code == 0) { in write_tag_3_packet()
2376 dest[(*packet_size)++] = cipher_code; in write_tag_3_packet()