Home
last modified time | relevance | path

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

/drivers/usb/wusbcore/
Dcrypto.c199 struct crypto_cipher *tfm_aes, void *mic, in wusb_ccm_mac() argument
284 crypto_cipher_encrypt_one(tfm_aes, (void *)&ax, (void *)&ax); in wusb_ccm_mac()
307 struct crypto_cipher *tfm_aes; in wusb_prf() local
323 tfm_aes = crypto_alloc_cipher("aes", 0, CRYPTO_ALG_ASYNC); in wusb_prf()
324 if (IS_ERR(tfm_aes)) { in wusb_prf()
325 result = PTR_ERR(tfm_aes); in wusb_prf()
329 result = crypto_cipher_setkey(tfm_aes, key, 16); in wusb_prf()
338 result = wusb_ccm_mac(tfm_cbc, tfm_aes, out + bytes, in wusb_prf()
347 crypto_free_cipher(tfm_aes); in wusb_prf()