Searched refs:tfm_cmac (Results 1 – 1 of 1) sorted by relevance
/linux-4.4.14/net/bluetooth/ |
D | smp.c | 91 struct crypto_hash *tfm_cmac; member 130 struct crypto_hash *tfm_cmac; member 223 static int smp_f4(struct crypto_hash *tfm_cmac, const u8 u[32], const u8 v[32], in smp_f4() argument 237 err = aes_cmac(tfm_cmac, x, m, sizeof(m), res); in smp_f4() 246 static int smp_f5(struct crypto_hash *tfm_cmac, const u8 w[32], in smp_f5() argument 267 err = aes_cmac(tfm_cmac, salt, w, 32, t); in smp_f5() 282 err = aes_cmac(tfm_cmac, t, m, sizeof(m), mackey); in smp_f5() 290 err = aes_cmac(tfm_cmac, t, m, sizeof(m), ltk); in smp_f5() 299 static int smp_f6(struct crypto_hash *tfm_cmac, const u8 w[16], in smp_f6() argument 318 err = aes_cmac(tfm_cmac, w, m, sizeof(m), res); in smp_f6() [all …]
|