Home
last modified time | relevance | path

Searched refs:verifiedBootKey (Results 1 – 3 of 3) sorted by relevance

/cts/tests/security/src/android/keystore/cts/
DRootOfTrust.java69 RootOfTrust(byte[] verifiedBootKey, boolean deviceLocked, int verifiedBootState, in RootOfTrust() argument
71 this.mVerifiedBootKey = verifiedBootKey; in RootOfTrust()
132 public Builder setVerifiedBootKey(byte[] verifiedBootKey) { in setVerifiedBootKey() argument
133 this.mVerifiedBootKey = verifiedBootKey; in setVerifiedBootKey()
/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyAttestationTest.java1720 private boolean checkShannonEntropy(byte[] verifiedBootKey) { in checkShannonEntropy() argument
1721 … double probabilityOfSetBit = countSetBits(verifiedBootKey) / (double)(verifiedBootKey.length * 8); in checkShannonEntropy()
1736 private boolean checkTresBiEntropy(byte[] verifiedBootKey) { in checkTresBiEntropy() argument
1740 int length = verifiedBootKey.length * 8; in checkTresBiEntropy()
1741 for(int i = 0; i < (verifiedBootKey.length * 8) - 2; i++) { in checkTresBiEntropy()
1742 probabilityOfSetBit = countSetBits(verifiedBootKey) / (double)length; in checkTresBiEntropy()
1745 deriveBitString(verifiedBootKey, length); in checkTresBiEntropy()
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DKeystoreAttestationDeviceInfo.java207 Base64.getEncoder().encodeToString(rootOfTrust.get().verifiedBootKey)); in collectRootOfTrust()