Home
last modified time | relevance | path

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

/security/keys/encrypted-keys/
Dencrypted.c270 static char *datablob_format(struct encrypted_key_payload *epayload, in datablob_format() argument
274 u8 *iv = epayload->iv; in datablob_format()
285 len = sprintf(ascii_buf, "%s %s %s ", epayload->format, in datablob_format()
286 epayload->master_desc, epayload->datalen); in datablob_format()
410 static struct key *request_master_key(struct encrypted_key_payload *epayload, in request_master_key() argument
415 if (!strncmp(epayload->master_desc, KEY_TRUSTED_PREFIX, in request_master_key()
417 mkey = request_trusted_key(epayload->master_desc + in request_master_key()
420 } else if (!strncmp(epayload->master_desc, KEY_USER_PREFIX, in request_master_key()
422 mkey = request_user_key(epayload->master_desc + in request_master_key()
433 epayload->master_desc); in request_master_key()
[all …]
Dencrypted.h26 static inline void dump_decrypted_data(struct encrypted_key_payload *epayload) in dump_decrypted_data() argument
29 epayload->decrypted_data, in dump_decrypted_data()
30 epayload->decrypted_datalen, 0); in dump_decrypted_data()
33 static inline void dump_encrypted_data(struct encrypted_key_payload *epayload, in dump_encrypted_data() argument
37 epayload->encrypted_data, encrypted_datalen, 0); in dump_encrypted_data()
53 static inline void dump_decrypted_data(struct encrypted_key_payload *epayload) in dump_decrypted_data() argument
57 static inline void dump_encrypted_data(struct encrypted_key_payload *epayload, in dump_encrypted_data() argument