Searched refs:tfm_cbc (Results 1 – 1 of 1) sorted by relevance
198 static int wusb_ccm_mac(struct crypto_blkcipher *tfm_cbc, in wusb_ccm_mac() argument235 iv = crypto_blkcipher_crt(tfm_cbc)->iv; in wusb_ccm_mac()236 ivsize = crypto_blkcipher_ivsize(tfm_cbc); in wusb_ccm_mac()262 desc.tfm = tfm_cbc; in wusb_ccm_mac()304 struct crypto_blkcipher *tfm_cbc; in wusb_prf() local309 tfm_cbc = crypto_alloc_blkcipher("cbc(aes)", 0, CRYPTO_ALG_ASYNC); in wusb_prf()310 if (IS_ERR(tfm_cbc)) { in wusb_prf()311 result = PTR_ERR(tfm_cbc); in wusb_prf()315 result = crypto_blkcipher_setkey(tfm_cbc, key, 16); in wusb_prf()336 result = wusb_ccm_mac(tfm_cbc, tfm_aes, out + bytes, in wusb_prf()[all …]