Home
last modified time | relevance | path

Searched refs:mac (Results 1 – 11 of 11) sorted by relevance

/system/connectivity/wificond/tests/
Dnl80211_packet_unittest.cpp217 std::vector<uint8_t> mac; in TEST() local
218 EXPECT_TRUE(netlink_packet.GetAttributeValue(NL80211_ATTR_MAC, &mac)); in TEST()
222 EXPECT_EQ(expected_mac, mac); in TEST()
239 std::vector<uint8_t> mac; in TEST() local
240 EXPECT_TRUE(netlink_packet.GetAttributeValue(NL80211_ATTR_MAC, &mac)); in TEST()
244 EXPECT_EQ(expected_mac, mac); in TEST()
/system/tpm/attestation/common/
Dcrypto_utility_impl.cc145 std::string mac = in DecryptData() local
147 if (mac.length() != encrypted_pb.mac().length()) { in DecryptData()
151 if (!crypto::SecureMemEqual(mac.data(), encrypted_pb.mac().data(), in DecryptData()
152 mac.length())) { in DecryptData()
412 unsigned char mac[SHA512_DIGEST_LENGTH]; in HmacSha512() local
415 HMAC(EVP_sha512(), key.data(), key.size(), data_buffer, data.size(), mac, in HmacSha512()
417 return std::string(std::begin(mac), std::end(mac)); in HmacSha512()
Dprint_common_proto.cc156 base::HexEncode(value.mac().data(), value.mac().size()).c_str()); in GetProtoDebugStringWithIndent()
Dcommon.proto74 optional bytes mac = 4; field
/system/bt/stack/smp/
Dsmp_int.h354 uint8_t* mac);
356 uint8_t* mac);
358 extern void smp_h6_calc_chk(uint8_t* key, uint8_t* key_id, uint8_t* mac);
359 extern void smp_f5_key_calc_chk(uint8_t* w, uint8_t* mac);
363 uint8_t* length, uint8_t* mac);
368 uint8_t* mac);
526 uint8_t* a1, uint8_t* a2, uint8_t* length, uint8_t* mac);
Dsmp_keys.cc1322 uint8_t* mac) { in smp_calculate_f5_mackey_or_long_term_key() argument
1385 p = mac; in smp_calculate_f5_mackey_or_long_term_key()
/system/tools/hidl/test/java_test/src/com/android/commands/hidl_test_java/
DHidlTestJava.java377 byte[] mac = new byte[6]; in client()
379 mac[j] = (byte)k; in client()
382 in.addresses.add(mac); in client()
401 byte[] mac = new byte[6]; in client()
403 mac[j] = (byte)k; in client()
406 in.add(mac); in client()
/system/vold/
DKeyStorage.cpp234 std::string mac; in encryptWithKeymasterKey() local
235 if (!opHandle.finish(&mac)) return false; in encryptWithKeymasterKey()
236 if (!checkSize("mac", mac.size(), GCM_MAC_BYTES)) return false; in encryptWithKeymasterKey()
237 *ciphertext = nonce + body + mac; in encryptWithKeymasterKey()
/system/sepolicy/prebuilts/api/26.0/private/
Dpriv_app.te88 # access the mac address
/system/sepolicy/private/
Dpriv_app.te87 # access the mac address
/system/extras/simpleperf/
DREADME.md63 different hosts: mac, linux and windows.