Searched refs:tfm2 (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/net/mac80211/ |
H A D | fils_aead.c | 73 struct crypto_skcipher *tfm2; in aes_siv_encrypt() local 116 tfm2 = crypto_alloc_skcipher("ctr(aes)", 0, CRYPTO_ALG_ASYNC); in aes_siv_encrypt() 117 if (IS_ERR(tfm2)) { in aes_siv_encrypt() 119 return PTR_ERR(tfm2); in aes_siv_encrypt() 122 res = crypto_skcipher_setkey(tfm2, key + key_len, key_len); in aes_siv_encrypt() 126 req = skcipher_request_alloc(tfm2, GFP_KERNEL); in aes_siv_encrypt() 139 crypto_free_skcipher(tfm2); in aes_siv_encrypt() 150 struct crypto_skcipher *tfm2; in aes_siv_decrypt() local 175 tfm2 = crypto_alloc_skcipher("ctr(aes)", 0, CRYPTO_ALG_ASYNC); in aes_siv_decrypt() 176 if (IS_ERR(tfm2)) in aes_siv_decrypt() [all...] |
/kernel/linux/linux-6.6/net/mac80211/ |
H A D | fils_aead.c | 73 struct crypto_skcipher *tfm2; in aes_siv_encrypt() local 116 tfm2 = crypto_alloc_skcipher("ctr(aes)", 0, CRYPTO_ALG_ASYNC); in aes_siv_encrypt() 117 if (IS_ERR(tfm2)) { in aes_siv_encrypt() 119 return PTR_ERR(tfm2); in aes_siv_encrypt() 122 res = crypto_skcipher_setkey(tfm2, key + key_len, key_len); in aes_siv_encrypt() 126 req = skcipher_request_alloc(tfm2, GFP_KERNEL); in aes_siv_encrypt() 139 crypto_free_skcipher(tfm2); in aes_siv_encrypt() 150 struct crypto_skcipher *tfm2; in aes_siv_decrypt() local 175 tfm2 = crypto_alloc_skcipher("ctr(aes)", 0, CRYPTO_ALG_ASYNC); in aes_siv_decrypt() 176 if (IS_ERR(tfm2)) in aes_siv_decrypt() [all...] |
/kernel/linux/linux-5.10/net/wireless/ |
H A D | lib80211_crypt_tkip.c | 625 struct arc4_ctx *tfm2 = &tkey->tx_ctx_arc4; in lib80211_tkip_set_key() local 633 tkey->tx_ctx_arc4 = *tfm2; in lib80211_tkip_set_key()
|
/kernel/linux/linux-6.6/net/wireless/ |
H A D | lib80211_crypt_tkip.c | 625 struct arc4_ctx *tfm2 = &tkey->tx_ctx_arc4; in lib80211_tkip_set_key() local 633 tkey->tx_ctx_arc4 = *tfm2; in lib80211_tkip_set_key()
|
Completed in 3 milliseconds