Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/java/android/os/incremental/
H A 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()
H A DIncrementalStorage.java521 if (hashingInfo.rawRootHash.length != INCFS_MAX_HASH_SIZE) { in validateV4Signature()
/aosp14/frameworks/base/core/java/android/util/apk/
H A DApkSignatureSchemeV4Verifier.java113 hashingInfo.rawRootHash); in verify()
/aosp14/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageManagerServiceUtils.java1155 if (ArrayUtils.isEmpty(hashInfo.rawRootHash)) { in getRootHash()
1158 return ApkChecksums.verityHashForFile(new File(filename), hashInfo.rawRootHash); in getRootHash()