Searched refs:epayload (Results 1 – 3 of 3) sorted by relevance
286 epayload->master_desc, epayload->datalen); in datablob_format()499 digest = epayload->format + epayload->datablob_len; in datablob_hmac_append()501 epayload->format, epayload->datablob_len); in datablob_hmac_append()539 epayload->format + epayload->datablob_len, in datablob_hmac_verify()644 epayload = kzalloc(sizeof(*epayload) + payload_datalen + in encrypted_key_alloc()682 hmac = epayload->format + epayload->datablob_len; in encrypted_key_decrypt()719 epayload->format = epayload->payload_data + epayload->payload_datalen; in __ekey_init()720 epayload->master_desc = epayload->format + format_len + 1; in __ekey_init()722 epayload->iv = epayload->datalen + strlen(datalen) + 1; in __ekey_init()723 epayload->encrypted_data = epayload->iv + ivsize + 1; in __ekey_init()[all …]
26 static inline void dump_decrypted_data(struct encrypted_key_payload *epayload) in dump_decrypted_data() argument29 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() argument37 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() argument57 static inline void dump_encrypted_data(struct encrypted_key_payload *epayload, in dump_encrypted_data() argument
29 struct encrypted_key_payload *epayload = dereference_key_locked(key); in key_data() local33 return epayload->decrypted_data; in key_data()66 struct encrypted_key_payload *epayload; in nvdimm_request_key() local69 epayload = dereference_key_locked(key); in nvdimm_request_key()70 if (epayload->decrypted_datalen != NVDIMM_PASSPHRASE_LEN) { in nvdimm_request_key()95 struct encrypted_key_payload *epayload; in nvdimm_lookup_user_key() local111 epayload = dereference_key_locked(key); in nvdimm_lookup_user_key()112 if (epayload->decrypted_datalen != NVDIMM_PASSPHRASE_LEN) { in nvdimm_lookup_user_key()
Completed in 7 milliseconds