Searched refs:get_derived_key (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/security/keys/encrypted-keys/ |
H A D | encrypted.c | 355 static int get_derived_key(u8 *derived_key, enum derived_key_type key_type, in get_derived_key() function 501 ret = get_derived_key(derived_key, AUTH_KEY, master_key, master_keylen); in datablob_hmac_append() 526 ret = get_derived_key(derived_key, AUTH_KEY, master_key, master_keylen); in datablob_hmac_verify() 724 ret = get_derived_key(derived_key, ENC_KEY, master_key, master_keylen); in encrypted_key_decrypt() 959 ret = get_derived_key(derived_key, ENC_KEY, master_key, master_keylen); in encrypted_read()
|
/openbmc/linux/drivers/virt/coco/sev-guest/ |
H A D | sev-guest.c | 517 static int get_derived_key(struct snp_guest_dev *snp_dev, struct snp_guest_request_ioctl *arg) in get_derived_key() function 664 ret = get_derived_key(snp_dev, &input); in snp_guest_ioctl()
|