Searched defs:keySize (Results 1 - 7 of 7) sorted by relevance
/libcore/support/src/test/java/tests/security/ |
H A D | AlgorithmParameterSymmetricHelper.java | 36 private final int keySize; field in class:AlgorithmParameterSymmetricHelper 39 public AlgorithmParameterSymmetricHelper(String algorithmName, int keySize) { argument 41 this.keySize = keySize; 44 public AlgorithmParameterSymmetricHelper(String algorithmName, String blockmode, int keySize) { argument 45 this(algorithmName, keySize); 59 generator.init(keySize);
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
H A D | KeyGeneratorTest.java | 74 private static void putKeySize(String algorithm, int keySize) { argument 81 keySizes.add(keySize); 138 for (int keySize : keySizes) { 139 kg.init(keySize); 142 kg.init(keySize, (SecureRandom) null); 145 kg.init(keySize, new SecureRandom());
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
H A D | MyKeyPairGenerator2.java | 36 int keySize; field in class:MyKeyPairGenerator2 60 keySize = keysize;
|
H A D | MyKeyPairGenerator1.java | 40 public int keySize; field in class:MyKeyPairGenerator1 69 keySize = keysize;
|
/libcore/luni/src/test/java/libcore/java/security/ |
H A D | KeyPairGeneratorTest.java | 115 private static void putKeySize(String algorithm, int keySize) { argument 122 keySizes.add(keySize); 165 for (int keySize : keySizes) { 166 kpg.initialize(keySize); 170 kpg.initialize(keySize, (SecureRandom) null); 174 kpg.initialize(keySize, new SecureRandom());
|
/libcore/benchmarks/src/benchmarks/regression/ |
H A D | CipherBenchmark.java | 78 @Param({"128", "192", "256"}) private int keySize; field in class:CipherBenchmark 107 key = KEY_SIZES.get(keySize); 110 generator.init(keySize); 112 KEY_SIZES.put(keySize, key);
|
/libcore/crypto/src/main/java/org/conscrypt/ |
H A D | OpenSSLCipher.java | 127 * Returns the OpenSSL cipher name for the particular {@code keySize} and 130 protected abstract String getCipherName(int keySize, Mode mode); argument 133 * Checks whether the cipher supports this particular {@code keySize} (in 136 protected abstract void checkSupportedKeySize(int keySize) throws InvalidKeyException; argument 758 protected String getCipherName(int keySize, Mode mode) { argument 760 if (keySize == 16) { 774 protected void checkSupportedKeySize(int keySize) throws InvalidKeyException { argument 775 if (keySize != 16 && keySize != 24) { 822 protected String getCipherName(int keySize, Mod argument 827 checkSupportedKeySize(int keySize) argument [all...] |
Completed in 175 milliseconds