Searched refs:key_rec (Results 1 – 1 of 1) sorted by relevance
/fs/ecryptfs/ |
D | keystore.c | 340 parse_tag_67_packet(struct ecryptfs_key_record *key_rec, in parse_tag_67_packet() argument 378 rc = ecryptfs_parse_packet_length(&data[i], &key_rec->enc_key_size, in parse_tag_67_packet() 386 if (message_len < (i + key_rec->enc_key_size)) { in parse_tag_67_packet() 389 __func__, message_len, (i + key_rec->enc_key_size)); in parse_tag_67_packet() 392 if (key_rec->enc_key_size > ECRYPTFS_MAX_ENCRYPTED_KEY_BYTES) { in parse_tag_67_packet() 396 key_rec->enc_key_size, in parse_tag_67_packet() 400 memcpy(key_rec->enc_key, &data[i], key_rec->enc_key_size); in parse_tag_67_packet() 1844 struct ecryptfs_key_record *key_rec) in pki_encrypt_session_key() argument 1874 rc = parse_tag_67_packet(key_rec, msg); in pki_encrypt_session_key() 1898 struct ecryptfs_key_record *key_rec, size_t *packet_size) in write_tag_1_packet() argument [all …]
|