Home
last modified time | relevance | path

Searched refs:mds (Results 1 – 2 of 2) sorted by relevance

/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DApkSigningBlockUtils.java427 MessageDigest[] mds = new MessageDigest[digestAlgorithmsArray.length]; in computeOneMbChunkContentDigests() local
441 mds[i] = MessageDigest.getInstance(jcaAlgorithm); in computeOneMbChunkContentDigests()
444 DataSink mdSink = DataSinks.asDataSink(mds); in computeOneMbChunkContentDigests()
465 for (int i = 0; i < mds.length; i++) { in computeOneMbChunkContentDigests()
466 mds[i].update(chunkContentPrefix); in computeOneMbChunkContentDigests()
474 MessageDigest md = mds[i]; in computeOneMbChunkContentDigests()
497 MessageDigest md = mds[i]; in computeOneMbChunkContentDigests()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/
DV1SchemeVerifier.java1858 MessageDigest[] mds = new MessageDigest[expectedDigests.size()]; in verifyJarEntriesAgainstManifestAndSigners() local
1860 mds[i] = getMessageDigest(expectedDigests.get(i).jcaDigestAlgorithm); in verifyJarEntriesAgainstManifestAndSigners()
1868 DataSinks.asDataSink(mds)); in verifyJarEntriesAgainstManifestAndSigners()
1877 byte[] actualDigest = mds[i].digest(); in verifyJarEntriesAgainstManifestAndSigners()