Searched refs:SALT (Results 1 – 2 of 2) sorted by relevance
/libcore/luni/src/test/java/libcore/javax/crypto/ |
D | SecretKeyFactoryTest.java | 38 private static final byte[] SALT = {0, 1, 2, 3, 4, 5, 6, 7}; field in SecretKeyFactoryTest 76 KeySpec ks = new PBEKeySpec(null, SALT, ITERATIONS); in test_PBKDF2_required_parameters() 82 KeySpec ks = new PBEKeySpec(new char[0], SALT, ITERATIONS); in test_PBKDF2_required_parameters() 88 KeySpec ks = new PBEKeySpec(PASSWORD, SALT, ITERATIONS); in test_PBKDF2_required_parameters() 95 KeySpec ks = new PBEKeySpec(null, SALT, ITERATIONS, KEY_LENGTH); in test_PBKDF2_required_parameters() 102 KeySpec ks = new PBEKeySpec(new char[0], SALT, ITERATIONS, KEY_LENGTH); in test_PBKDF2_required_parameters() 108 KeySpec ks = new PBEKeySpec(PASSWORD, SALT, ITERATIONS, KEY_LENGTH); in test_PBKDF2_required_parameters() 119 test_PBKDF2_UTF8(PASSWORD, SALT, ITERATIONS, KEY_LENGTH, expected); in test_PBKDF2_b3059950() 120 test_PBKDF2_8BIT(PASSWORD, SALT, ITERATIONS, KEY_LENGTH, expected); in test_PBKDF2_b3059950()
|
/libcore/ojluni/src/main/java/java/util/ |
D | ImmutableCollections.java | 55 static final int SALT; field in ImmutableCollections 58 SALT = (int)((nt >>> 32) ^ nt); 557 if (SALT >= 0) { in Set2() 695 int idx = Math.floorMod(pe.hashCode() ^ SALT, elements.length); in probe() 953 int idx = Math.floorMod(pk.hashCode() ^ SALT, table.length >> 1) << 1;
|