Home
last modified time | relevance | path

Searched refs:DIGEST_LENGTH (Results 1 – 3 of 3) sorted by relevance

/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DMessageDigestSpiTest.java69 final int DIGEST_LENGTH = 2; in test_engineDigestLB$LILI() local
74 return DIGEST_LENGTH; in test_engineDigestLB$LILI()
78 return new byte[DIGEST_LENGTH]; // return non-null value in test_engineDigestLB$LILI()
85 md.engineDigest(null, 1, DIGEST_LENGTH); in test_engineDigestLB$LILI()
91 md.engineDigest(b, 1, DIGEST_LENGTH - 1); in test_engineDigestLB$LILI()
113 assertEquals("incorrect result", DIGEST_LENGTH, md in test_engineDigestLB$LILI()
/libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/
DSHA1Constants.java81 public static final int DIGEST_LENGTH = 20; field in SHA1Constants
DSHA1PRNG_SecureRandomImpl.java179 nextBytes = new byte[DIGEST_LENGTH]; in SHA1PRNG_SecureRandomImpl()
256 myRandom.engineSetSeed(getRandomBytes(DIGEST_LENGTH)); in engineGenerateSeed()
300 updateSeed(getRandomBytes(DIGEST_LENGTH)); in engineNextBytes()
499 nextBytes = new byte[DIGEST_LENGTH];