Home
last modified time | relevance | path

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

/linux/drivers/crypto/marvell/cesa/
H A Dhash.c1147 u8 *keydup = kmemdup(key, keylen, GFP_KERNEL); in mv_cesa_ahmac_pad_init() local
1149 if (!keydup) in mv_cesa_ahmac_pad_init()
1154 sg_init_one(&sg, keydup, keylen); in mv_cesa_ahmac_pad_init()
1161 kfree_sensitive(keydup); in mv_cesa_ahmac_pad_init()
/linux/drivers/crypto/
H A Datmel-sha.c1613 u8 *keydup; member
1623 kfree(hkey->keydup); in atmel_sha_hmac_key_release()
1634 hkey->keydup = kmemdup(key, keylen, GFP_KERNEL); in atmel_sha_hmac_key_set()
1635 if (!hkey->keydup) in atmel_sha_hmac_key_set()
1655 *key = (hkey->keydup) ? hkey->keydup : hkey->buffer; in atmel_sha_hmac_key_get()
/linux/drivers/crypto/inside-secure/
H A Dsafexcel_hash.c1050 u8 *keydup; in safexcel_hmac_init_pad() local
1055 keydup = kmemdup(key, keylen, GFP_KERNEL); in safexcel_hmac_init_pad()
1056 if (!keydup) in safexcel_hmac_init_pad()
1061 sg_init_one(&sg, keydup, keylen); in safexcel_hmac_init_pad()
1068 kfree_sensitive(keydup); in safexcel_hmac_init_pad()