Lines Matching defs:tfm
24 void ieee80211_aes_cmac(struct crypto_shash *tfm, const u8 *aad,
27 SHASH_DESC_ON_STACK(desc, tfm);
31 desc->tfm = tfm;
48 void ieee80211_aes_cmac_256(struct crypto_shash *tfm, const u8 *aad,
51 SHASH_DESC_ON_STACK(desc, tfm);
54 desc->tfm = tfm;
73 struct crypto_shash *tfm;
75 tfm = crypto_alloc_shash("cmac(aes)", 0, 0);
76 if (!IS_ERR(tfm))
77 crypto_shash_setkey(tfm, key, key_len);
79 return tfm;
82 void ieee80211_aes_cmac_key_free(struct crypto_shash *tfm)
84 crypto_free_shash(tfm);