Home
last modified time | relevance | path

Searched refs:tfm2 (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/net/mac80211/
Dfils_aead.c73 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 …]
/linux-6.6.21/net/wireless/
Dlib80211_crypt_tkip.c625 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()