/system/bt/stack/crypto_toolbox/ |
D | crypto_toolbox.h | 25 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()
|
D | crypto_toolbox.cc | 30 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()
|
D | aes_cmac.cc | 182 Octet16 aes_cmac(const Octet16& key, const uint8_t* input, uint16_t length) { in aes_cmac() function
|
/system/bt/gd/crypto_toolbox/ |
D | crypto_toolbox.h | 41 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()
|
D | crypto_toolbox_test.cc | 62 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()
|
D | crypto_toolbox.cc | 31 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()
|
D | Android.bp | 15 "aes_cmac.cc",
|
D | BUILD.gn | 19 "aes_cmac.cc",
|
D | aes_cmac.cc | 171 Octet16 aes_cmac(const Octet16& key, const uint8_t* input, uint16_t length) { in aes_cmac() function
|
/system/bt/stack/test/ |
D | crypto_toolbox_test.cc | 69 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/ |
D | mock_stack_crypto_toolbox_aes_cmac.cc | 35 Octet16 aes_cmac(const Octet16& key, const uint8_t* input, uint16_t length) { in aes_cmac() function
|
/system/bt/stack/gatt/ |
D | gatt_sr_hash.cc | 122 Octet16 db_hash = crypto_toolbox::aes_cmac(Octet16{0}, serialized.data(), in gatts_calculate_database_hash()
|
/system/bt/bta/gatt/ |
D | database.cc | 304 return crypto_toolbox::aes_cmac(Octet16{0}, serialized.data(), in Hash()
|
/system/bt/stack/ |
D | BUILD.gn | 20 "crypto_toolbox/aes_cmac.cc",
|
D | Android.bp | 13 "crypto_toolbox/aes_cmac.cc",
|
/system/bt/stack/btm/ |
D | btm_ble.cc | 1909 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()
|