Lines Matching refs:cmac
1247 UINT8 cmac[BT_OCTET16_LEN]; in smp_calculate_f4() local
1282 aes_cipher_msg_auth_code(key, msg, msg_len, BT_OCTET16_LEN, cmac); in smp_calculate_f4()
1284 p_prnt = cmac; in smp_calculate_f4()
1289 ARRAY_TO_STREAM(p, cmac, BT_OCTET16_LEN); in smp_calculate_f4()
1363 UINT8 cmac[BT_OCTET16_LEN]; in smp_calculate_g2() local
1394 if(!aes_cipher_msg_auth_code(key, msg, msg_len, BT_OCTET16_LEN, cmac)) in smp_calculate_g2()
1401 p_prnt = cmac; in smp_calculate_g2()
1406 p = &cmac[0]; in smp_calculate_g2()
1590 UINT8 cmac[BT_OCTET16_LEN]; in smp_calculate_f5_mackey_or_long_term_key() local
1640 if (!aes_cipher_msg_auth_code(key, msg, msg_len, BT_OCTET16_LEN, cmac)) in smp_calculate_f5_mackey_or_long_term_key()
1647 p_prnt = cmac; in smp_calculate_f5_mackey_or_long_term_key()
1652 ARRAY_TO_STREAM(p, cmac, BT_OCTET16_LEN); in smp_calculate_f5_mackey_or_long_term_key()
1712 BT_OCTET16 cmac; in smp_calculate_f5_key() local
1714 if (!aes_cipher_msg_auth_code(key, msg, BT_OCTET32_LEN, BT_OCTET16_LEN, cmac)) in smp_calculate_f5_key()
1721 p_prnt = cmac; in smp_calculate_f5_key()
1726 ARRAY_TO_STREAM(p, cmac, BT_OCTET16_LEN); in smp_calculate_f5_key()
1858 UINT8 cmac[BT_OCTET16_LEN]; in smp_calculate_f6() local
1881 if(!aes_cipher_msg_auth_code(key, msg, msg_len, BT_OCTET16_LEN, cmac)) in smp_calculate_f6()
1888 p_print = cmac; in smp_calculate_f6()
1893 ARRAY_TO_STREAM(p, cmac, BT_OCTET16_LEN); in smp_calculate_f6()
2129 UINT8 cmac[BT_OCTET16_LEN]; in smp_calculate_h6() local
2130 if (!aes_cipher_msg_auth_code(key, msg, msg_len, BT_OCTET16_LEN, cmac)) in smp_calculate_h6()
2137 p_print = cmac; in smp_calculate_h6()
2142 ARRAY_TO_STREAM(p, cmac, BT_OCTET16_LEN); in smp_calculate_h6()