Searched refs:getMessageDigest (Results 1 – 5 of 5) sorted by relevance
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
D | DigestOutputStreamTest.java | 109 assertSame(digest, dos.getMessageDigest()); in test_getMessageDigest() 114 .getMessageDigest()); in test_getMessageDigest() 129 assertSame(digest, dos.getMessageDigest()); in test_setMessageDigestLjava_security_MessageDigest() 134 .getMessageDigest()); in test_setMessageDigestLjava_security_MessageDigest() 158 assertTrue("update", Arrays.equals(dos.getMessageDigest().digest(), in testWriteint01() 196 assertTrue("update", Arrays.equals(dos.getMessageDigest().digest(), in testWriteint02() 301 assertTrue("update", Arrays.equals(dos.getMessageDigest().digest(), in testWritebyteArrayintint01() 336 assertTrue("update", Arrays.equals(dos.getMessageDigest().digest(), in testWritebyteArrayintint02() 377 assertTrue("update", Arrays.equals(dos.getMessageDigest().digest(), in testWritebyteArrayintint03() 418 assertTrue("update", Arrays.equals(dos.getMessageDigest().digest(), in testWritebyteArrayintint04() [all …]
|
D | DigestInputStreamTest.java | 133 dis.getMessageDigest().digest(), in testRead01() 168 Arrays.equals(dis.getMessageDigest().digest(), in testRead02() 203 assertTrue(Arrays.equals(dis.getMessageDigest().digest(), in testRead03() 311 assertTrue("update", Arrays.equals(dis.getMessageDigest().digest(), in testReadbyteArrayintint01() 350 assertTrue("update", Arrays.equals(dis.getMessageDigest().digest(), in testReadbyteArrayintint02() 400 assertTrue("update", Arrays.equals(dis.getMessageDigest().digest(), in testReadbyteArrayintint03() 433 Arrays.equals(dis.getMessageDigest().digest(), in testReadbyteArrayintint04() 472 assertTrue(Arrays.equals(dis.getMessageDigest().digest(), in testReadbyteArrayintint05() 493 assertTrue(dis.getMessageDigest() == md); in testGetMessageDigest() 515 assertTrue(dis.getMessageDigest() == md); in testSetMessageDigest() [all …]
|
D | DigestInputStream2Test.java | 54 .getMessageDigest()); in test_getMessageDigest() 144 dis.getMessageDigest()); in test_setMessageDigestLjava_security_MessageDigest() 147 .getMessageDigest()); in test_setMessageDigestLjava_security_MessageDigest()
|
/external/guava/guava/src/com/google/common/hash/ |
D | MessageDigestHashFunction.java | 40 this.prototype = getMessageDigest(algorithmName); in MessageDigestHashFunction() 48 this.prototype = getMessageDigest(algorithmName); in MessageDigestHashFunction() 73 private static MessageDigest getMessageDigest(String algorithmName) { in getMessageDigest() method in MessageDigestHashFunction 89 return new MessageDigestHasher(getMessageDigest(prototype.getAlgorithm()), bytes); in newHasher()
|
/external/guava/guava-tests/benchmark/com/google/common/hash/ |
D | MessageDigestAlgorithmBenchmark.java | 50 MessageDigest md = algorithm.getMessageDigest(); in MESSAGE_DIGEST_API() 75 public MessageDigest getMessageDigest() { in getMessageDigest() method in MessageDigestAlgorithmBenchmark.Algorithm
|