Searched refs:DIGEST_LEN (Results 1 - 2 of 2) sorted by relevance

/openjdk7/jdk/src/share/classes/sun/security/provider/
H A DKeyProtector.java107 private static final int DIGEST_LEN = 20; field in class:KeyProtector
185 numRounds = plainKey.length / DIGEST_LEN;
186 if ((plainKey.length % DIGEST_LEN) != 0)
200 i++, xorOffset += DIGEST_LEN) {
222 byte[] encrKey = new byte[salt.length + tmpKey.length + DIGEST_LEN];
278 encrKeyLen = protectedKey.length - SALT_LEN - DIGEST_LEN;
279 numRounds = encrKeyLen / DIGEST_LEN;
280 if ((encrKeyLen % DIGEST_LEN) != 0) numRounds++;
292 i++, xorOffset += DIGEST_LEN) {
/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/
H A DKeyProtector.java92 private static final int DIGEST_LEN = 20; field in class:KeyProtector
230 encrKeyLen = protectedKey.length - SALT_LEN - DIGEST_LEN;
231 numRounds = encrKeyLen / DIGEST_LEN;
232 if ((encrKeyLen % DIGEST_LEN) != 0)
252 i++, xorOffset += DIGEST_LEN) {

Completed in 30 milliseconds