Searched refs:new_epayload (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/security/keys/encrypted-keys/ |
H A D | encrypted.c | 878 struct encrypted_key_payload *new_epayload; in encrypted_update() local 904 new_epayload = encrypted_key_alloc(key, epayload->format, in encrypted_update() 906 if (IS_ERR(new_epayload)) { in encrypted_update() 907 ret = PTR_ERR(new_epayload); in encrypted_update() 911 __ekey_init(new_epayload, epayload->format, new_master_desc, in encrypted_update() 914 memcpy(new_epayload->iv, epayload->iv, ivsize); in encrypted_update() 915 memcpy(new_epayload->payload_data, epayload->payload_data, in encrypted_update() 918 rcu_assign_keypointer(key, new_epayload); in encrypted_update()
|