Searched refs:keydup (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/crypto/marvell/cesa/ |
H A D | hash.c | 1149 u8 *keydup = kmemdup(key, keylen, GFP_KERNEL); in mv_cesa_ahmac_pad_init() local 1151 if (!keydup) in mv_cesa_ahmac_pad_init() 1156 sg_init_one(&sg, keydup, keylen); in mv_cesa_ahmac_pad_init() 1163 kfree_sensitive(keydup); in mv_cesa_ahmac_pad_init()
|
/openbmc/linux/drivers/crypto/ |
H A D | atmel-sha.c | 1614 u8 *keydup; member 1624 kfree(hkey->keydup); in atmel_sha_hmac_key_release() 1635 hkey->keydup = kmemdup(key, keylen, GFP_KERNEL); in atmel_sha_hmac_key_set() 1636 if (!hkey->keydup) in atmel_sha_hmac_key_set() 1656 *key = (hkey->keydup) ? hkey->keydup : hkey->buffer; in atmel_sha_hmac_key_get()
|
/openbmc/linux/drivers/crypto/inside-secure/ |
H A D | safexcel_hash.c | 1052 u8 *keydup; in safexcel_hmac_init_pad() local 1057 keydup = kmemdup(key, keylen, GFP_KERNEL); in safexcel_hmac_init_pad() 1058 if (!keydup) in safexcel_hmac_init_pad() 1063 sg_init_one(&sg, keydup, keylen); in safexcel_hmac_init_pad() 1070 kfree_sensitive(keydup); in safexcel_hmac_init_pad()
|