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.java464 MessageDigest[] mds = new MessageDigest[digestAlgorithmsArray.length]; in computeOneMbChunkContentDigests() local
478 mds[i] = MessageDigest.getInstance(jcaAlgorithm); in computeOneMbChunkContentDigests()
481 DataSink mdSink = DataSinks.asDataSink(mds); in computeOneMbChunkContentDigests()
502 for (int i = 0; i < mds.length; i++) { in computeOneMbChunkContentDigests()
503 mds[i].update(chunkContentPrefix); in computeOneMbChunkContentDigests()
511 MessageDigest md = mds[i]; in computeOneMbChunkContentDigests()
534 MessageDigest md = mds[i]; in computeOneMbChunkContentDigests()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/
DV1SchemeVerifier.java1879 MessageDigest[] mds = new MessageDigest[expectedDigests.size()]; in verifyJarEntriesAgainstManifestAndSigners() local
1881 mds[i] = getMessageDigest(expectedDigests.get(i).jcaDigestAlgorithm); in verifyJarEntriesAgainstManifestAndSigners()
1889 DataSinks.asDataSink(mds)); in verifyJarEntriesAgainstManifestAndSigners()
1898 byte[] actualDigest = mds[i].digest(); in verifyJarEntriesAgainstManifestAndSigners()