Searched refs:cmac (Results 1 – 1 of 1) sorted by relevance
/system/bt/stack/smp/ |
D | smp_keys.c | 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() [all …]
|