Searched refs:tfm_cbcmac (Results 1 – 1 of 1) sorted by relevance
178 static int wusb_ccm_mac(struct crypto_shash *tfm_cbcmac, in wusb_ccm_mac() argument185 SHASH_DESC_ON_STACK(desc, tfm_cbcmac); in wusb_ccm_mac()212 desc->tfm = tfm_cbcmac; in wusb_ccm_mac()249 struct crypto_shash *tfm_cbcmac; in wusb_prf() local254 tfm_cbcmac = crypto_alloc_shash("cbcmac(aes)", 0, 0); in wusb_prf()255 if (IS_ERR(tfm_cbcmac)) { in wusb_prf()256 result = PTR_ERR(tfm_cbcmac); in wusb_prf()261 result = crypto_shash_setkey(tfm_cbcmac, key, AES_BLOCK_SIZE); in wusb_prf()270 result = wusb_ccm_mac(tfm_cbcmac, &scratch, out + bytes, in wusb_prf()280 crypto_free_shash(tfm_cbcmac); in wusb_prf()