Home
last modified time | relevance | path

Searched refs:key_rec (Results 1 – 1 of 1) sorted by relevance

/fs/ecryptfs/
Dkeystore.c360 parse_tag_67_packet(struct ecryptfs_key_record *key_rec, in parse_tag_67_packet() argument
398 rc = ecryptfs_parse_packet_length(&data[i], &key_rec->enc_key_size, in parse_tag_67_packet()
406 if (message_len < (i + key_rec->enc_key_size)) { in parse_tag_67_packet()
409 __func__, message_len, (i + key_rec->enc_key_size)); in parse_tag_67_packet()
412 if (key_rec->enc_key_size > ECRYPTFS_MAX_ENCRYPTED_KEY_BYTES) { in parse_tag_67_packet()
416 key_rec->enc_key_size, in parse_tag_67_packet()
420 memcpy(key_rec->enc_key, &data[i], key_rec->enc_key_size); in parse_tag_67_packet()
1970 struct ecryptfs_key_record *key_rec) in pki_encrypt_session_key() argument
2002 rc = parse_tag_67_packet(key_rec, msg); in pki_encrypt_session_key()
2028 struct ecryptfs_key_record *key_rec, size_t *packet_size) in write_tag_1_packet() argument
[all …]