Searched refs:mac (Results 1 – 10 of 10) sorted by relevance
/system/tpm/attestation/common/ |
D | crypto_utility_impl.cc | 145 std::string mac = HmacSha512( in DecryptData() local 148 if (mac.length() != encrypted_pb.mac().length()) { in DecryptData() 152 if (!crypto::SecureMemEqual(mac.data(), encrypted_pb.mac().data(), in DecryptData() 153 mac.length())) { in DecryptData() 413 unsigned char mac[SHA512_DIGEST_LENGTH]; in HmacSha512() local 416 HMAC(EVP_sha512(), key.data(), key.size(), data_buffer, data.size(), mac, in HmacSha512() 418 return std::string(std::begin(mac), std::end(mac)); in HmacSha512()
|
D | print_common_proto.cc | 153 base::HexEncode(value.mac().data(), value.mac().size()).c_str()); in GetProtoDebugStringWithIndent()
|
D | common.proto | 74 optional bytes mac = 4; field
|
/system/extras/tests/net_test/ |
D | neighbour_test.py | 143 def ReceiveUnicastAdvertisement(self, addr, mac, srcaddr=None, dstaddr=None, argument 152 scapy.Ether(src=mac, dst=self.MyMacAddress(self.netid)) / 155 scapy.ICMPv6NDOptDstLLAddr(lladdr=mac) 254 def ForceProbe(addr, mac): argument 260 self.ReceiveUnicastAdvertisement(addr, mac)
|
D | run_net_test.sh | 73 mac=$(printf fe:fd:00:00:00:%02x $id) 74 netconfig="$netconfig eth$id=tuntap,$tap,$mac"
|
/system/bt/stack/smp/ |
D | smp_int.h | 378 UINT8 mac_len, UINT8 *mac); 379 extern void smp_f4_calc_chk (UINT8 *U, UINT8 *V, UINT8 *X, UINT8 *Z, UINT8 *mac); 381 extern void smp_h6_calc_chk (UINT8 *key, UINT8 *key_id, UINT8 *mac); 382 extern void smp_f5_key_calc_chk (UINT8 *w, UINT8 *mac); 386 UINT8 *length, UINT8 *mac); 390 UINT8 *iocap, UINT8 *a1, UINT8 *a2, UINT8 *mac); 527 UINT8 *a2, UINT8 *length, UINT8 *mac);
|
D | smp_keys.c | 1587 UINT8 *length, UINT8 *mac) in smp_calculate_f5_mackey_or_long_term_key() argument 1651 p = mac; in smp_calculate_f5_mackey_or_long_term_key()
|
/system/vold/ |
D | KeyStorage.cpp | 157 std::string mac; in encryptWithKeymasterKey() local 158 if (!opHandle.finishWithOutput(&mac)) return false; in encryptWithKeymasterKey() 159 if (!checkSize("mac", mac.size(), GCM_MAC_BYTES)) return false; in encryptWithKeymasterKey() 160 *ciphertext = nonce + body + mac; in encryptWithKeymasterKey()
|
/system/sepolicy/ |
D | priv_app.te | 85 # access the mac address
|
/system/connectivity/shill/doc/ |
D | device-api.txt | 178 station. The |peer| argument should be a mac
|