Home
last modified time | relevance | path

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

/tools/apksig/src/test/java/com/android/apksig/internal/util/
DVerityTreeBuilderTest.java91 byte[] rootHash = builder.generateVerityTreeRootHash( in generateVerityTreeRootHashFromPlaceholderDataSource()
95 assertEquals(expectedRootHash, HexEncoding.encode(rootHash)); in generateVerityTreeRootHashFromPlaceholderDataSource()
107 byte[] rootHash = builder.generateVerityTreeRootHash( in generateVerityTreeRootHashFromPlaceholderDataSource()
111 assertEquals(expectedRootHash, HexEncoding.encode(rootHash)); in generateVerityTreeRootHashFromPlaceholderDataSource()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DApkSigningBlockUtils.java604 byte[] rootHash = builder.generateVerityTreeRootHash(beforeCentralDir, centralDir, in computeApkVerityDigest()
606 encoded.put(rootHash); in computeApkVerityDigest()
629 public final byte[] rootHash; field in ApkSigningBlockUtils.VerityTreeAndDigest
632 VerityTreeAndDigest(ContentDigestAlgorithm contentDigestAlgorithm, byte[] rootHash, in VerityTreeAndDigest() argument
635 this.rootHash = rootHash; in VerityTreeAndDigest()
648 byte[] rootHash = builder.getRootHashFromTree(tree); in computeChunkVerityTreeAndDigest()
649 encoded.put(rootHash); in computeChunkVerityTreeAndDigest()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v4/
DV4SchemeSigner.java148 final byte[] rootHash = verityContentDigestInfo.rootHash; in generateV4Signature()
155 salt, rootHash); in generateV4Signature()
DV4SchemeVerifier.java244 final byte[] actualDigest = actualContentDigestInfo.rootHash; in verifyRootHashAndTree()