Searched refs:SALT_LEN (Results 1 - 4 of 4) sorted by relevance

/openjdk7/jdk/src/share/classes/sun/security/provider/
H A DKeyProtector.java105 private static final int SALT_LEN = 20; // the salt length field in class:KeyProtector
190 byte[] salt = new byte[SALT_LEN];
271 * Get the salt associated with this key (the first SALT_LEN bytes of
274 byte[] salt = new byte[SALT_LEN];
275 System.arraycopy(protectedKey, 0, salt, 0, SALT_LEN);
278 encrKeyLen = protectedKey.length - SALT_LEN - DIGEST_LEN;
284 System.arraycopy(protectedKey, SALT_LEN, encrKey, 0, encrKeyLen);
327 if (digest[i] != protectedKey[SALT_LEN + encrKeyLen + i]) {
/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/
H A DKeyProtector.java91 private static final int SALT_LEN = 20; // the salt length field in class:KeyProtector
224 // Get the salt associated with this key (the first SALT_LEN bytes of
226 byte[] salt = new byte[SALT_LEN];
227 System.arraycopy(protectedKey, 0, salt, 0, SALT_LEN);
230 encrKeyLen = protectedKey.length - SALT_LEN - DIGEST_LEN;
237 System.arraycopy(protectedKey, SALT_LEN, encrKey, 0, encrKeyLen);
285 if (digest[i] != protectedKey[SALT_LEN + encrKeyLen + i]) {
/openjdk7/jdk/src/macosx/classes/apple/security/
H A DKeychainStore.java103 private static final int SALT_LEN = 20; field in class:KeychainStore
1020 byte[] salt = new byte[SALT_LEN];
1024 salt = random.generateSeed(SALT_LEN);
/openjdk7/jdk/src/share/classes/sun/security/pkcs12/
H A DPKCS12KeyStore.java148 private static final int SALT_LEN = 20; field in class:PKCS12KeyStore
507 byte[] salt = new byte[SALT_LEN];

Completed in 39 milliseconds