Searched defs:keyLength (Results 1 - 4 of 4) sorted by relevance
/libcore/luni/src/main/java/javax/crypto/spec/ |
H A D | PBEKeySpec.java | 35 private final int keyLength; field in class:PBEKeySpec 52 keyLength = 0; 65 * @param keyLength 74 int keyLength) { 84 if (keyLength <= 0) { 85 throw new IllegalArgumentException("keyLength <= 0"); 97 this.keyLength = keyLength; 135 this.keyLength = 0; 192 return keyLength; 73 PBEKeySpec(char[] password, byte[] salt, int iterationCount, int keyLength) argument [all...] |
/libcore/luni/src/test/java/libcore/javax/crypto/ |
H A D | SecretKeyFactoryTest.java | 133 int keyLength = 64; 138 test_PBKDF2_UTF8(password, salt, iterations, keyLength, expected); 139 test_PBKDF2_8BIT(password, salt, iterations, keyLength, expected); 155 int keyLength = 192; 162 test_PBKDF2_UTF8(password, salt, iterations, keyLength, expected); 163 test_PBKDF2_8BIT(password, salt, iterations, keyLength, expected); 176 int keyLength = 160; 189 test_PBKDF2_UTF8(password, salt, iterations, keyLength, expected_utf8); 190 test_PBKDF2_8BIT(password, salt, iterations, keyLength, expected_8bit); 193 private void test_PBKDF2_8BIT(char[] password, byte[] salt, int iterations, int keyLength, argument 204 test_PBKDF2_UTF8(char[] password, byte[] salt, int iterations, int keyLength, byte[] expected) argument [all...] |
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/ |
H A D | CipherThread.java | 33 private int keyLength = 0; field in class:CipherThread 78 keyLength = getNextKey(); 122 return keyLength; 138 return "Alg name:" + algName + " Key:" + keyLength + " Mode:" + mode +
|
/libcore/crypto/src/main/java/org/conscrypt/ |
H A D | OpenSSLCipher.java | 618 protected void checkSupportedKeySize(int keyLength) throws InvalidKeyException { argument 619 switch (keyLength) { 625 throw new InvalidKeyException("Unsupported key size: " + keyLength + " bytes"); 663 protected String getCipherName(int keyLength, Mode mode) { argument 664 return "aes-" + (keyLength * 8) + "-" + mode.toString().toLowerCase(Locale.US);
|
Completed in 1892 milliseconds