Home
last modified time | relevance | path

Searched refs:keydup (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/drivers/crypto/marvell/cesa/
Dhash.c1149 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()
/linux-6.6.21/drivers/crypto/
Datmel-sha.c1614 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()
/linux-6.6.21/drivers/crypto/inside-secure/
Dsafexcel_hash.c1052 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()