Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/gd/crypto_toolbox/
Dcrypto_toolbox_test.cc65 Octet16 output = aes_cmac(k, nullptr /* empty message */, 0); in TEST()
87 Octet16 output = aes_cmac(k, m); in TEST()
112 Octet16 output = aes_cmac(k, m, sizeof(m)); in TEST()
132 Octet16 output = aes_cmac(k, m, sizeof(m)); in TEST()
215 Octet16 aes_cmac = f6(MacKey, n1, n2, r, IOcap.data(), a1.data(), a2.data()); in TEST() local
217 EXPECT_EQ(aes_cmac, expected_aes_cmac); in TEST()
257 Octet16 aes_cmac = h6(key, keyID); in TEST() local
258 EXPECT_EQ(aes_cmac, expected_aes_cmac); in TEST()
296 Octet16 aes_cmac = h7(SALT, Key); in TEST() local
297 EXPECT_EQ(expected_aes_cmac, aes_cmac); in TEST()
Dcrypto_toolbox.h43 bluetooth::hci::Octet16 aes_cmac(
75 inline void aes_cmac( in aes_cmac() function
81 bluetooth::hci::Octet16 signature = aes_cmac(key, message, length); in aes_cmac()
87 inline bluetooth::hci::Octet16 aes_cmac( in aes_cmac() function
89 return aes_cmac(key, message.data(), message.size()); in aes_cmac()
Dcrypto_toolbox.cc33 return aes_cmac(w, keyid.data(), keyid.size()); in h6()
37 return aes_cmac(salt, w.data(), w.size()); in h7()
54 return aes_cmac(x, msg.data(), msg.size()); in f4()
81 return aes_cmac(t, msg.data(), msg.size()); in calculate_mac_key_or_ltk()
99 Octet16 t = aes_cmac(salt, w, kOctet32Length); in f5()
139 return aes_cmac(w, msg.data(), msg.size()); in f6()
157 Octet16 cmac = aes_cmac(x, msg.data(), msg.size()); in g2()
DAndroid.bp37 "aes_cmac.cc",
DBUILD.gn19 "aes_cmac.cc",
Daes_cmac.cc176 Octet16 aes_cmac(const Octet16& key, const uint8_t* input, uint16_t length) { in aes_cmac() function
/packages/modules/Bluetooth/system/stack/gatt/
Dgatt_sr_hash.cc127 Octet16 db_hash = crypto_toolbox::aes_cmac(Octet16{0}, serialized.data(), in gatts_calculate_database_hash()
/packages/modules/Bluetooth/system/bta/gatt/
Ddatabase.cc316 return crypto_toolbox::aes_cmac(Octet16{0}, serialized.data(), in Hash()
/packages/modules/Bluetooth/system/bta/csis/
Dcsis_client.cc1261 Octet16 s1 = crypto_toolbox::aes_cmac(zero_key, (uint8_t*)(msg1.c_str()), in sdf()
1270 Octet16 T = crypto_toolbox::aes_cmac(s1, *pltk); in sdf()
1280 crypto_toolbox::aes_cmac(T, (uint8_t*)(msg2.c_str()), msg2.size()); in sdf()
/packages/modules/Bluetooth/system/stack/btm/
Dbtm_ble_sec.cc1749 crypto_toolbox::aes_cmac(p_rec->sec_rec.ble_keys.lcsrk, p_buf, in BTM_BleDataSignature()
1796 crypto_toolbox::aes_cmac(p_rec->sec_rec.ble_keys.pcsrk, p_orig, len, in BTM_BleVerifySignature()