Home
last modified time | relevance | path

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

/system/tpm/attestation/common/
Dcrypto_utility_impl.cc145 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()
Dprint_common_proto.cc153 base::HexEncode(value.mac().data(), value.mac().size()).c_str()); in GetProtoDebugStringWithIndent()
Dcommon.proto74 optional bytes mac = 4; field
/system/extras/tests/net_test/
Dneighbour_test.py143 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)
Drun_net_test.sh73 mac=$(printf fe:fd:00:00:00:%02x $id)
74 netconfig="$netconfig eth$id=tuntap,$tap,$mac"
/system/bt/stack/smp/
Dsmp_int.h378 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);
Dsmp_keys.c1587 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/
DKeyStorage.cpp157 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/
Dpriv_app.te85 # access the mac address
/system/connectivity/shill/doc/
Ddevice-api.txt178 station. The |peer| argument should be a mac