Home
last modified time | relevance | path

Searched refs:mMasterKey (Results 1 – 4 of 4) sorted by relevance

/aosp12/frameworks/base/lowpan/java/android/net/lowpan/
H A DLowpanCredential.java35 private byte[] mMasterKey = null; field in LowpanCredential
60 mMasterKey = masterKey; in setMasterKey()
73 if (mMasterKey != null) { in getMasterKey()
74 return mMasterKey.clone(); in getMasterKey()
84 return mMasterKey != null; in isMasterKey()
93 sb.append(" MasterKey:").append(HexDump.toHexString(mMasterKey)); in toSensitiveString()
134 return Arrays.equals(mMasterKey, rhs.mMasterKey) && mMasterKeyIndex == rhs.mMasterKeyIndex; in equals()
139 return Objects.hash(Arrays.hashCode(mMasterKey), mMasterKeyIndex); in hashCode()
151 dest.writeByteArray(mMasterKey); in writeToParcel()
162 credential.mMasterKey = in.createByteArray();
/aosp12/system/security/keystore/
H A Duser_state.cpp75 memset(mMasterKey.data(), 0, mMasterKey.size()); in zeroizeMasterKeysInMemory()
104 mMasterKey = (*src)->mMasterKey; in copyMasterKey()
140 std::vector<uint8_t> passwordKey(mMasterKey.size()); in writeMasterKey()
143 if (mMasterKey.size() == kAes128KeySizeBytes) { in writeMasterKey()
146 Blob masterKeyBlob(mMasterKey.data(), mMasterKey.size(), mSalt, sizeof(mSalt), blobType); in writeMasterKey()
201 mMasterKey = std::vector<uint8_t>(masterKeyBlob.getValue(), in readMasterKey()
265 mMasterKey.resize(MASTER_KEY_SIZE_BYTES); in generateMasterKey()
266 if (!RAND_bytes(mMasterKey.data(), mMasterKey.size())) { in generateMasterKey()
H A Duser_state.h68 const std::vector<uint8_t>& getEncryptionKey() const { return mMasterKey; } in getEncryptionKey()
95 std::vector<uint8_t> mMasterKey; variable
/aosp12/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/eapaka/
H A DMasterKey.java52 private byte[] mMasterKey; field in MasterKey
94 mMasterKey = messageDigest.digest(); in from()
143 byte[] key = mMasterKey; in generatePsudoRandomNumber()