Searched refs:verifiedBootKey (Results 1 – 3 of 3) sorted by relevance
69 RootOfTrust(byte[] verifiedBootKey, boolean deviceLocked, int verifiedBootState, in RootOfTrust() argument71 this.mVerifiedBootKey = verifiedBootKey; in RootOfTrust()132 public Builder setVerifiedBootKey(byte[] verifiedBootKey) { in setVerifiedBootKey() argument133 this.mVerifiedBootKey = verifiedBootKey; in setVerifiedBootKey()
1720 private boolean checkShannonEntropy(byte[] verifiedBootKey) { in checkShannonEntropy() argument1721 … double probabilityOfSetBit = countSetBits(verifiedBootKey) / (double)(verifiedBootKey.length * 8); in checkShannonEntropy()1736 private boolean checkTresBiEntropy(byte[] verifiedBootKey) { in checkTresBiEntropy() argument1740 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()
207 Base64.getEncoder().encodeToString(rootOfTrust.get().verifiedBootKey)); in collectRootOfTrust()