Home
last modified time | relevance | path

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

/drivers/crypto/marvell/cesa/
Dhash.c1169 u8 *keydup = kmemdup(key, keylen, GFP_KERNEL); in mv_cesa_ahmac_pad_init() local
1171 if (!keydup) in mv_cesa_ahmac_pad_init()
1177 sg_init_one(&sg, keydup, keylen); in mv_cesa_ahmac_pad_init()
1188 kfree_sensitive(keydup); in mv_cesa_ahmac_pad_init()
/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()
/drivers/crypto/inside-secure/
Dsafexcel_hash.c1068 u8 *keydup; in safexcel_hmac_init_pad() local
1073 keydup = kmemdup(key, keylen, GFP_KERNEL); in safexcel_hmac_init_pad()
1074 if (!keydup) in safexcel_hmac_init_pad()
1079 sg_init_one(&sg, keydup, keylen); in safexcel_hmac_init_pad()
1090 kfree_sensitive(keydup); in safexcel_hmac_init_pad()