Home
last modified time | relevance | path

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

/system/bt/stack/crypto_toolbox/
Dcrypto_toolbox.h25 extern Octet16 aes_cmac(const Octet16& key, const uint8_t* message,
53 inline void aes_cmac(const Octet16& key, const uint8_t* message, in aes_cmac() function
55 Octet16 signature = aes_cmac(key, message, length); in aes_cmac()
61 inline Octet16 aes_cmac(const Octet16& key, const Octet16& message) { in aes_cmac() function
62 return aes_cmac(key, message.data(), message.size()); in aes_cmac()
Dcrypto_toolbox.cc30 return aes_cmac(w, keyid.data(), keyid.size()); in h6()
34 return aes_cmac(salt, w.data(), w.size()); in h7()
51 return aes_cmac(x, msg.data(), msg.size()); in f4()
73 return aes_cmac(t, msg.data(), msg.size()); in calculate_mac_key_or_ltk()
85 Octet16 t = aes_cmac(salt, w, BT_OCTET32_LEN); in f5()
123 return aes_cmac(w, msg.data(), msg.size()); in f6()
143 Octet16 cmac = aes_cmac(x, msg.data(), msg.size()); in g2()
Daes_cmac.cc182 Octet16 aes_cmac(const Octet16& key, const uint8_t* input, uint16_t length) { in aes_cmac() function
/system/bt/gd/crypto_toolbox/
Dcrypto_toolbox.h41 extern Octet16 aes_cmac(const Octet16& key, const uint8_t* message, uint16_t length);
65 inline void aes_cmac(const Octet16& key, const uint8_t* message, uint16_t length, uint16_t tlen, ui… in aes_cmac() function
66 Octet16 signature = aes_cmac(key, message, length); in aes_cmac()
72 inline Octet16 aes_cmac(const Octet16& key, const Octet16& message) { in aes_cmac() function
73 return aes_cmac(key, message.data(), message.size()); in aes_cmac()
Dcrypto_toolbox_test.cc62 Octet16 output = aes_cmac(k, nullptr /* empty message */, 0); in TEST()
85 Octet16 output = aes_cmac(k, m); in TEST()
111 Octet16 output = aes_cmac(k, m, sizeof(m)); in TEST()
131 Octet16 output = aes_cmac(k, m, sizeof(m)); in TEST()
214 Octet16 aes_cmac = f6(MacKey, n1, n2, r, IOcap.data(), a1.data(), a2.data()); in TEST() local
216 EXPECT_EQ(aes_cmac, expected_aes_cmac); in TEST()
256 Octet16 aes_cmac = h6(key, keyID); in TEST() local
257 EXPECT_EQ(aes_cmac, expected_aes_cmac); in TEST()
295 Octet16 aes_cmac = h7(SALT, Key); in TEST() local
296 EXPECT_EQ(expected_aes_cmac, aes_cmac); in TEST()
Dcrypto_toolbox.cc31 return aes_cmac(w, keyid.data(), keyid.size()); in h6()
35 return aes_cmac(salt, w.data(), w.size()); in h7()
49 return aes_cmac(x, msg.data(), msg.size()); in f4()
75 return aes_cmac(t, msg.data(), msg.size()); in calculate_mac_key_or_ltk()
84 Octet16 t = aes_cmac(salt, w, OCTET32_LEN); in f5()
117 return aes_cmac(w, msg.data(), msg.size()); in f6()
133 Octet16 cmac = aes_cmac(x, msg.data(), msg.size()); in g2()
DAndroid.bp15 "aes_cmac.cc",
DBUILD.gn19 "aes_cmac.cc",
Daes_cmac.cc171 Octet16 aes_cmac(const Octet16& key, const uint8_t* input, uint16_t length) { in aes_cmac() function
/system/bt/stack/test/
Dcrypto_toolbox_test.cc69 Octet16 output = aes_cmac(k, nullptr /* empty message */, 0); in TEST()
95 Octet16 output = aes_cmac(k, m); in TEST()
124 Octet16 output = aes_cmac(k, m, sizeof(m)); in TEST()
149 Octet16 output = aes_cmac(k, m, sizeof(m)); in TEST()
244 Octet16 aes_cmac = f6(MacKey, n1, n2, r, IOcap.data(), a1.data(), a2.data()); in TEST() local
246 EXPECT_EQ(aes_cmac, expected_aes_cmac); in TEST()
291 Octet16 aes_cmac = h6(key, keyID); in TEST() local
292 EXPECT_EQ(aes_cmac, expected_aes_cmac); in TEST()
334 Octet16 aes_cmac = h7(SALT, Key); in TEST() local
335 EXPECT_EQ(expected_aes_cmac, aes_cmac); in TEST()
/system/bt/test/mock/
Dmock_stack_crypto_toolbox_aes_cmac.cc35 Octet16 aes_cmac(const Octet16& key, const uint8_t* input, uint16_t length) { in aes_cmac() function
/system/bt/stack/gatt/
Dgatt_sr_hash.cc122 Octet16 db_hash = crypto_toolbox::aes_cmac(Octet16{0}, serialized.data(), in gatts_calculate_database_hash()
/system/bt/bta/gatt/
Ddatabase.cc304 return crypto_toolbox::aes_cmac(Octet16{0}, serialized.data(), in Hash()
/system/bt/stack/
DBUILD.gn20 "crypto_toolbox/aes_cmac.cc",
DAndroid.bp13 "crypto_toolbox/aes_cmac.cc",
/system/bt/stack/btm/
Dbtm_ble.cc1909 crypto_toolbox::aes_cmac(p_rec->ble.keys.lcsrk, p_buf, (uint16_t)(len + 4), in BTM_BleDataSignature()
1961 crypto_toolbox::aes_cmac(p_rec->ble.keys.pcsrk, p_orig, len, in BTM_BleVerifySignature()