Searched refs:tfm_aes (Results 1 – 2 of 2) sorted by relevance
/linux-4.4.14/drivers/usb/wusbcore/ |
D | crypto.c | 199 struct crypto_cipher *tfm_aes, void *mic, in wusb_ccm_mac() argument 282 crypto_cipher_encrypt_one(tfm_aes, (void *)&ax, (void *)&ax); in wusb_ccm_mac() 305 struct crypto_cipher *tfm_aes; in wusb_prf() local 321 tfm_aes = crypto_alloc_cipher("aes", 0, CRYPTO_ALG_ASYNC); in wusb_prf() 322 if (IS_ERR(tfm_aes)) { in wusb_prf() 323 result = PTR_ERR(tfm_aes); in wusb_prf() 327 result = crypto_cipher_setkey(tfm_aes, key, 16); in wusb_prf() 336 result = wusb_ccm_mac(tfm_cbc, tfm_aes, out + bytes, in wusb_prf() 345 crypto_free_cipher(tfm_aes); in wusb_prf()
|
/linux-4.4.14/net/bluetooth/ |
D | smp.c | 90 struct crypto_blkcipher *tfm_aes; member 129 struct crypto_blkcipher *tfm_aes; member 416 static int smp_c1(struct crypto_blkcipher *tfm_aes, const u8 k[16], in smp_c1() argument 441 err = smp_e(tfm_aes, k, res); in smp_c1() 458 err = smp_e(tfm_aes, k, res); in smp_c1() 465 static int smp_s1(struct crypto_blkcipher *tfm_aes, const u8 k[16], in smp_s1() argument 474 err = smp_e(tfm_aes, k, _r); in smp_s1() 523 err = smp_ah(smp->tfm_aes, irk, &bdaddr->b[3], hash); in smp_irk_matches() 546 err = smp_ah(smp->tfm_aes, irk, &rpa->b[3], rpa->b); in smp_generate_rpa() 769 crypto_free_blkcipher(smp->tfm_aes); in smp_chan_destroy() [all …]
|