Searched refs:tfm2 (Results 1 – 4 of 4) sorted by relevance
76 struct crypto_skcipher *tfm2; in aes_siv_encrypt() local119 tfm2 = crypto_alloc_skcipher("ctr(aes)", 0, CRYPTO_ALG_ASYNC); in aes_siv_encrypt()120 if (IS_ERR(tfm2)) { in aes_siv_encrypt()122 return PTR_ERR(tfm2); in aes_siv_encrypt()125 res = crypto_skcipher_setkey(tfm2, key + key_len, key_len); in aes_siv_encrypt()129 req = skcipher_request_alloc(tfm2, GFP_KERNEL); in aes_siv_encrypt()142 crypto_free_skcipher(tfm2); in aes_siv_encrypt()153 struct crypto_skcipher *tfm2; in aes_siv_decrypt() local178 tfm2 = crypto_alloc_skcipher("ctr(aes)", 0, CRYPTO_ALG_ASYNC); in aes_siv_decrypt()179 if (IS_ERR(tfm2)) in aes_siv_decrypt()[all …]
666 struct crypto_skcipher *tfm2 = tkey->tx_tfm_arc4; in ieee80211_tkip_set_key() local674 tkey->tx_tfm_arc4 = tfm2; in ieee80211_tkip_set_key()
667 struct crypto_skcipher *tfm2 = tkey->tx_tfm_arc4; in rtllib_tkip_set_key() local675 tkey->tx_tfm_arc4 = tfm2; in rtllib_tkip_set_key()
663 struct crypto_skcipher *tfm2 = tkey->tx_tfm_arc4; in lib80211_tkip_set_key() local671 tkey->tx_tfm_arc4 = tfm2; in lib80211_tkip_set_key()