/kernel/linux/linux-5.10/net/bluetooth/ |
H A D | smp.c | 92 struct crypto_shash *tfm_cmac; member 130 struct crypto_shash *tfm_cmac; member 209 static int smp_f4(struct crypto_shash *tfm_cmac, const u8 u[32], in smp_f4() argument 223 err = aes_cmac(tfm_cmac, x, m, sizeof(m), res); in smp_f4() 232 static int smp_f5(struct crypto_shash *tfm_cmac, const u8 w[32], in smp_f5() argument 253 err = aes_cmac(tfm_cmac, salt, w, 32, t); in smp_f5() 268 err = aes_cmac(tfm_cmac, t, m, sizeof(m), mackey); in smp_f5() 276 err = aes_cmac(tfm_cmac, t, m, sizeof(m), ltk); in smp_f5() 285 static int smp_f6(struct crypto_shash *tfm_cmac, const u8 w[16], in smp_f6() argument 304 err = aes_cmac(tfm_cmac, in smp_f6() 313 smp_g2(struct crypto_shash *tfm_cmac, const u8 u[32], const u8 v[32], const u8 x[16], const u8 y[16], u32 *val) smp_g2() argument 339 smp_h6(struct crypto_shash *tfm_cmac, const u8 w[16], const u8 key_id[4], u8 res[16]) smp_h6() argument 355 smp_h7(struct crypto_shash *tfm_cmac, const u8 w[16], const u8 salt[16], u8 res[16]) smp_h7() argument 3290 struct crypto_shash *tfm_cmac; smp_add_cid() local 3609 test_f4(struct crypto_shash *tfm_cmac) test_f4() argument 3641 test_f5(struct crypto_shash *tfm_cmac) test_f5() argument 3678 test_f6(struct crypto_shash *tfm_cmac) test_f6() argument 3711 test_g2(struct crypto_shash *tfm_cmac) test_g2() argument 3743 test_h6(struct crypto_shash *tfm_cmac) test_h6() argument 3780 run_selftests(struct crypto_shash *tfm_cmac, struct crypto_kpp *tfm_ecdh) run_selftests() argument 3864 struct crypto_shash *tfm_cmac; bt_selftest_smp() local [all...] |
/kernel/linux/linux-6.6/net/bluetooth/ |
H A D | smp.c | 93 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, in smp_f6() 314 smp_g2(struct crypto_shash *tfm_cmac, const u8 u[32], const u8 v[32], const u8 x[16], const u8 y[16], u32 *val) smp_g2() argument 340 smp_h6(struct crypto_shash *tfm_cmac, const u8 w[16], const u8 key_id[4], u8 res[16]) smp_h6() argument 356 smp_h7(struct crypto_shash *tfm_cmac, const u8 w[16], const u8 salt[16], u8 res[16]) smp_h7() argument 3296 struct crypto_shash *tfm_cmac; smp_add_cid() local 3575 test_f4(struct crypto_shash *tfm_cmac) test_f4() argument 3607 test_f5(struct crypto_shash *tfm_cmac) test_f5() argument 3644 test_f6(struct crypto_shash *tfm_cmac) test_f6() argument 3677 test_g2(struct crypto_shash *tfm_cmac) test_g2() argument 3709 test_h6(struct crypto_shash *tfm_cmac) test_h6() argument 3746 run_selftests(struct crypto_shash *tfm_cmac, struct crypto_kpp *tfm_ecdh) run_selftests() argument 3830 struct crypto_shash *tfm_cmac; bt_selftest_smp() local [all...] |