Home
last modified time | relevance | path

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

/openbmc/linux/net/bluetooth/
H A Dsmp.c93 struct crypto_shash *tfm_cmac; member
131 struct crypto_shash *tfm_cmac; member
210 static int smp_f4(struct crypto_shash *tfm_cmac, const u8 u[32], in smp_f4() argument
224 err = aes_cmac(tfm_cmac, x, m, sizeof(m), res); in smp_f4()
233 static int smp_f5(struct crypto_shash *tfm_cmac, const u8 w[32], in smp_f5() argument
254 err = aes_cmac(tfm_cmac, salt, w, 32, t); in smp_f5()
269 err = aes_cmac(tfm_cmac, t, m, sizeof(m), mackey); in smp_f5()
277 err = aes_cmac(tfm_cmac, t, m, sizeof(m), ltk); in smp_f5()
286 static int smp_f6(struct crypto_shash *tfm_cmac, const u8 w[16], in smp_f6() argument
305 err = aes_cmac(tfm_cmac, w, m, sizeof(m), res); in smp_f6()
[all …]