Searched refs:keydup (Results 1 – 3 of 3) sorted by relevance
/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()
|
/linux/drivers/crypto/ |
H A D | atmel-sha.c | 1612 u8 *keydup; member 1622 kfree(hkey->keydup); in atmel_sha_hmac_key_release() 1633 hkey->keydup = kmemdup(key, keylen, GFP_KERNEL); in atmel_sha_hmac_key_set() 1634 if (!hkey->keydup) in atmel_sha_hmac_key_set() 1654 *key = (hkey->keydup) ? hkey->keydup : hkey->buffer; in atmel_sha_hmac_key_get()
|
/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()
|