Home
last modified time | relevance | path

Searched refs:rawRootHash (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/os/incremental/
DV4Signature.java54 @Nullable public final byte[] rawRootHash; // salted digest of the first Merkle tree page field in V4Signature.HashingInfo
56 HashingInfo(int hashAlgorithm, byte log2BlockSize, byte[] salt, byte[] rawRootHash) { in HashingInfo() argument
60 this.rawRootHash = rawRootHash; in HashingInfo()
72 byte[] rawRootHash = readBytes(buffer); in fromByteArray()
73 return new HashingInfo(hashAlgorithm, log2BlockSize, salt, rawRootHash); in fromByteArray()
231 hashingInfo.salt) + bytesSize(hashingInfo.rawRootHash) + bytesSize( in getSignedData()
240 writeBytes(buffer, hashingInfo.rawRootHash); in getSignedData()
DIncrementalStorage.java521 if (hashingInfo.rawRootHash.length != INCFS_MAX_HASH_SIZE) { in validateV4Signature()
/frameworks/base/core/java/com/android/internal/security/
DVerityUtils.java220 if (hashingInfo.rawRootHash == null || hashingInfo.rawRootHash.length != 32) { in generateFsVerityDigest()
236 buffer.put(hashingInfo.rawRootHash); // Merkle tree root hash in generateFsVerityDigest()
/frameworks/base/core/java/android/util/apk/
DApkSignatureSchemeV4Verifier.java157 hashingInfo.rawRootHash); in verify()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerServiceUtils.java1148 if (ArrayUtils.isEmpty(hashInfo.rawRootHash)) { in getRootHash()
1151 return ApkChecksums.verityHashForFile(new File(filename), hashInfo.rawRootHash); in getRootHash()