/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/ |
D | BaseAgreementSpi.java | 37 private static final Map<String, Integer> keySizes = new HashMap<String, Integer>(); field in BaseAgreementSpi 50 keySizes.put("DES", i64); 51 keySizes.put("DESEDE", i192); 52 keySizes.put("BLOWFISH", i128); 53 keySizes.put("AES", i256); 55 keySizes.put(NISTObjectIdentifiers.id_aes128_ECB.getId(), i128); in NISTObjectIdentifiers.id_aes128_ECB.getId() 56 keySizes.put(NISTObjectIdentifiers.id_aes192_ECB.getId(), i192); in NISTObjectIdentifiers.id_aes192_ECB.getId() 57 keySizes.put(NISTObjectIdentifiers.id_aes256_ECB.getId(), i256); in NISTObjectIdentifiers.id_aes256_ECB.getId() 58 keySizes.put(NISTObjectIdentifiers.id_aes128_CBC.getId(), i128); in NISTObjectIdentifiers.id_aes128_CBC.getId() 59 keySizes.put(NISTObjectIdentifiers.id_aes192_CBC.getId(), i192); in NISTObjectIdentifiers.id_aes192_CBC.getId() [all …]
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/asymmetric/util/ |
D | BaseAgreementSpi.java | 41 private static final Map<String, Integer> keySizes = new HashMap<String, Integer>(); field in BaseAgreementSpi 54 keySizes.put("DES", i64); 55 keySizes.put("DESEDE", i192); 56 keySizes.put("BLOWFISH", i128); 57 keySizes.put("AES", i256); 59 keySizes.put(NISTObjectIdentifiers.id_aes128_ECB.getId(), i128); in NISTObjectIdentifiers.id_aes128_ECB.getId() 60 keySizes.put(NISTObjectIdentifiers.id_aes192_ECB.getId(), i192); in NISTObjectIdentifiers.id_aes192_ECB.getId() 61 keySizes.put(NISTObjectIdentifiers.id_aes256_ECB.getId(), i256); in NISTObjectIdentifiers.id_aes256_ECB.getId() 62 keySizes.put(NISTObjectIdentifiers.id_aes128_CBC.getId(), i128); in NISTObjectIdentifiers.id_aes128_CBC.getId() 63 keySizes.put(NISTObjectIdentifiers.id_aes192_CBC.getId(), i192); in NISTObjectIdentifiers.id_aes192_CBC.getId() [all …]
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/util/ |
D | BaseAgreementSpi.java | 41 private static final Map<String, Integer> keySizes = new HashMap<String, Integer>(); field in BaseAgreementSpi 54 keySizes.put("DES", i64); 55 keySizes.put("DESEDE", i192); 56 keySizes.put("BLOWFISH", i128); 57 keySizes.put("AES", i256); 59 keySizes.put(NISTObjectIdentifiers.id_aes128_ECB.getId(), i128); in NISTObjectIdentifiers.id_aes128_ECB.getId() 60 keySizes.put(NISTObjectIdentifiers.id_aes192_ECB.getId(), i192); in NISTObjectIdentifiers.id_aes192_ECB.getId() 61 keySizes.put(NISTObjectIdentifiers.id_aes256_ECB.getId(), i256); in NISTObjectIdentifiers.id_aes256_ECB.getId() 62 keySizes.put(NISTObjectIdentifiers.id_aes128_CBC.getId(), i128); in NISTObjectIdentifiers.id_aes128_CBC.getId() 63 keySizes.put(NISTObjectIdentifiers.id_aes192_CBC.getId(), i192); in NISTObjectIdentifiers.id_aes192_CBC.getId() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/util/ |
D | SecretKeyUtil.java | 14 private static Map keySizes = new HashMap(); field in SecretKeyUtil 18 keySizes.put(PKCSObjectIdentifiers.des_EDE3_CBC.getId(), Integers.valueOf(192)); in PKCSObjectIdentifiers.des_EDE3_CBC.getId() 20 keySizes.put(NISTObjectIdentifiers.id_aes128_CBC, Integers.valueOf(128)); in keySizes.put() 21 keySizes.put(NISTObjectIdentifiers.id_aes192_CBC, Integers.valueOf(192)); in keySizes.put() 22 keySizes.put(NISTObjectIdentifiers.id_aes256_CBC, Integers.valueOf(256)); in keySizes.put() 24 keySizes.put(NTTObjectIdentifiers.id_camellia128_cbc, Integers.valueOf(128)); in keySizes.put() 25 keySizes.put(NTTObjectIdentifiers.id_camellia192_cbc, Integers.valueOf(192)); in keySizes.put() 26 keySizes.put(NTTObjectIdentifiers.id_camellia256_cbc, Integers.valueOf(256)); in keySizes.put() 31 Integer size = (Integer)keySizes.get(oid); in getKeySize()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/util/ |
D | SecretKeyUtil.java | 18 private static Map keySizes = new HashMap(); field in SecretKeyUtil 22 keySizes.put(PKCSObjectIdentifiers.des_EDE3_CBC.getId(), Integers.valueOf(192)); in PKCSObjectIdentifiers.des_EDE3_CBC.getId() 24 keySizes.put(NISTObjectIdentifiers.id_aes128_CBC, Integers.valueOf(128)); in keySizes.put() 25 keySizes.put(NISTObjectIdentifiers.id_aes192_CBC, Integers.valueOf(192)); in keySizes.put() 26 keySizes.put(NISTObjectIdentifiers.id_aes256_CBC, Integers.valueOf(256)); in keySizes.put() 28 keySizes.put(NTTObjectIdentifiers.id_camellia128_cbc, Integers.valueOf(128)); in keySizes.put() 29 keySizes.put(NTTObjectIdentifiers.id_camellia192_cbc, Integers.valueOf(192)); in keySizes.put() 30 keySizes.put(NTTObjectIdentifiers.id_camellia256_cbc, Integers.valueOf(256)); in keySizes.put() 35 Integer size = (Integer)keySizes.get(oid); in getKeySize()
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/util/ |
D | SecretKeyUtil.java | 18 private static Map keySizes = new HashMap(); field in SecretKeyUtil 22 keySizes.put(PKCSObjectIdentifiers.des_EDE3_CBC.getId(), Integers.valueOf(192)); in PKCSObjectIdentifiers.des_EDE3_CBC.getId() 24 keySizes.put(NISTObjectIdentifiers.id_aes128_CBC, Integers.valueOf(128)); in keySizes.put() 25 keySizes.put(NISTObjectIdentifiers.id_aes192_CBC, Integers.valueOf(192)); in keySizes.put() 26 keySizes.put(NISTObjectIdentifiers.id_aes256_CBC, Integers.valueOf(256)); in keySizes.put() 28 keySizes.put(NTTObjectIdentifiers.id_camellia128_cbc, Integers.valueOf(128)); in keySizes.put() 29 keySizes.put(NTTObjectIdentifiers.id_camellia192_cbc, Integers.valueOf(192)); in keySizes.put() 30 keySizes.put(NTTObjectIdentifiers.id_camellia256_cbc, Integers.valueOf(256)); in keySizes.put() 35 Integer size = (Integer)keySizes.get(oid); in getKeySize()
|
/external/conscrypt/common/src/test/java/org/conscrypt/javax/crypto/ |
D | KeyGeneratorTest.java | 98 List<Integer> keySizes = KEY_SIZES.get(algorithm); in putKeySize() local 99 if (keySizes == null) { in putKeySize() 100 keySizes = new ArrayList<Integer>(); in putKeySize() 101 KEY_SIZES.put(algorithm, keySizes); in putKeySize() 103 keySizes.add(keySize); in putKeySize() 107 List<Integer> keySizes = KEY_SIZES.get(algorithm); in getKeySizes() local 108 if (keySizes == null) { in getKeySizes() 111 return keySizes; in getKeySizes() 162 List<Integer> keySizes = getKeySizes(algorithm); in test_KeyGenerator() local 163 for (int keySize : keySizes) { in test_KeyGenerator()
|
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/javax/crypto/ |
D | KeyGeneratorTest.java | 101 List<Integer> keySizes = KEY_SIZES.get(algorithm); in putKeySize() local 102 if (keySizes == null) { in putKeySize() 103 keySizes = new ArrayList<Integer>(); in putKeySize() 104 KEY_SIZES.put(algorithm, keySizes); in putKeySize() 106 keySizes.add(keySize); in putKeySize() 110 List<Integer> keySizes = KEY_SIZES.get(algorithm); in getKeySizes() local 111 if (keySizes == null) { in getKeySizes() 114 return keySizes; in getKeySizes() 165 List<Integer> keySizes = getKeySizes(algorithm); in test_KeyGenerator() local 166 for (int keySize : keySizes) { in test_KeyGenerator()
|
/external/wycheproof/java/com/google/security/wycheproof/testcases/ |
D | CipherInputStreamTest.java | 82 int[] keySizes, in getTestVectors() argument 89 for (int keySize : keySizes) { in getTestVectors() 221 final int[] keySizes = {16, 32}; in testAesGcm() local 227 getTestVectors("AES/GCM/NoPadding", keySizes, ivSizes, tagSizes, ptSizes, aadSizes); in testAesGcm() 233 final int[] keySizes = {16, 32}; in testCorruptAesGcm() local 239 getTestVectors("AES/GCM/NoPadding", keySizes, ivSizes, tagSizes, ptSizes, aadSizes); in testCorruptAesGcm() 249 final int[] keySizes = {16, 32}; in testEmptyPlaintext() local 255 getTestVectors("AES/GCM/NoPadding", keySizes, ivSizes, tagSizes, ptSizes, aadSizes); in testEmptyPlaintext() 262 final int[] keySizes = {16, 32}; in testAesEax() local 274 getTestVectors(algorithm, keySizes, ivSizes, tagSizes, ptSizes, aadSizes); in testAesEax()
|
D | CipherOutputStreamTest.java | 81 int[] keySizes, in getTestVectors() argument 88 for (int keySize : keySizes) { in getTestVectors() 188 final int[] keySizes = {16, 32}; in testAesGcm() local 194 getTestVectors("AES/GCM/NoPadding", keySizes, ivSizes, tagSizes, ptSizes, aadSizes); in testAesGcm() 206 final int[] keySizes = {16, 32}; in testEmptyPlaintext() local 212 getTestVectors("AES/GCM/NoPadding", keySizes, ivSizes, tagSizes, ptSizes, aadSizes); in testEmptyPlaintext() 222 final int[] keySizes = {16, 32}; in testAesEax() local 234 getTestVectors(algorithm, keySizes, ivSizes, tagSizes, ptSizes, aadSizes); in testAesEax()
|
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/java/security/ |
D | KeyPairGeneratorTest.java | 139 List<Integer> keySizes = KEY_SIZES.get(algorithm); in putKeySize() local 140 if (keySizes == null) { in putKeySize() 141 keySizes = new ArrayList<Integer>(); in putKeySize() 142 KEY_SIZES.put(algorithm, keySizes); in putKeySize() 144 keySizes.add(keySize); in putKeySize() 148 List<Integer> keySizes = KEY_SIZES.get(algorithm); in getKeySizes() local 149 if (keySizes == null) { in getKeySizes() 152 return keySizes; in getKeySizes() 195 List<Integer> keySizes = getKeySizes(algorithm); in test_KeyPairGenerator() local 196 for (int keySize : keySizes) { in test_KeyPairGenerator()
|
/external/conscrypt/common/src/test/java/org/conscrypt/java/security/ |
D | KeyPairGeneratorTest.java | 135 List<Integer> keySizes = KEY_SIZES.get(algorithm); in putKeySize() local 136 if (keySizes == null) { in putKeySize() 137 keySizes = new ArrayList<Integer>(); in putKeySize() 138 KEY_SIZES.put(algorithm, keySizes); in putKeySize() 140 keySizes.add(keySize); in putKeySize() 144 List<Integer> keySizes = KEY_SIZES.get(algorithm); in getKeySizes() local 145 if (keySizes == null) { in getKeySizes() 148 return keySizes; in getKeySizes() 191 List<Integer> keySizes = getKeySizes(algorithm); in test_KeyPairGenerator() local 192 for (int keySize : keySizes) { in test_KeyPairGenerator()
|
/external/okio/okio/src/jvmTest/java/okio/internal/ |
D | HmacTest.kt | 39 val keySizes = listOf(8, 32, 48, 64, 128, 256) in <lambda>() constant 42 keySizes.flatMap { keySize -> in <lambda>()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/ |
D | PBES2AlgorithmParameters.java | 297 int[] keySizes = { 128, 256 }; in configure() local 299 for (int keySize : keySizes) { in configure()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/symmetric/ |
D | PBES2AlgorithmParameters.java | 334 int[] keySizes = { 128, 256 }; in configure() local 336 for (int keySize : keySizes) { in configure()
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/symmetric/ |
D | PBES2AlgorithmParameters.java | 334 int[] keySizes = { 128, 256 }; in configure() local 336 for (int keySize : keySizes) { in configure()
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/keystore/pkcs12/ |
D | PKCS12KeyStoreSpi.java | 1902 Map keySizes = new HashMap(); in DefaultSecretKeyProvider() local 1904 keySizes.put(new ASN1ObjectIdentifier("1.2.840.113533.7.66.10"), Integers.valueOf(128)); in DefaultSecretKeyProvider() 1906 keySizes.put(PKCSObjectIdentifiers.des_EDE3_CBC, Integers.valueOf(192)); in DefaultSecretKeyProvider() 1908 keySizes.put(NISTObjectIdentifiers.id_aes128_CBC, Integers.valueOf(128)); in DefaultSecretKeyProvider() 1909 keySizes.put(NISTObjectIdentifiers.id_aes192_CBC, Integers.valueOf(192)); in DefaultSecretKeyProvider() 1910 keySizes.put(NISTObjectIdentifiers.id_aes256_CBC, Integers.valueOf(256)); in DefaultSecretKeyProvider() 1922 KEY_SIZES = Collections.unmodifiableMap(keySizes); in DefaultSecretKeyProvider()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/keystore/pkcs12/ |
D | PKCS12KeyStoreSpi.java | 1902 Map keySizes = new HashMap(); in DefaultSecretKeyProvider() local 1904 keySizes.put(new ASN1ObjectIdentifier("1.2.840.113533.7.66.10"), Integers.valueOf(128)); in DefaultSecretKeyProvider() 1906 keySizes.put(PKCSObjectIdentifiers.des_EDE3_CBC, Integers.valueOf(192)); in DefaultSecretKeyProvider() 1908 keySizes.put(NISTObjectIdentifiers.id_aes128_CBC, Integers.valueOf(128)); in DefaultSecretKeyProvider() 1909 keySizes.put(NISTObjectIdentifiers.id_aes192_CBC, Integers.valueOf(192)); in DefaultSecretKeyProvider() 1910 keySizes.put(NISTObjectIdentifiers.id_aes256_CBC, Integers.valueOf(256)); in DefaultSecretKeyProvider() 1922 KEY_SIZES = Collections.unmodifiableMap(keySizes); in DefaultSecretKeyProvider()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/keystore/pkcs12/ |
D | PKCS12KeyStoreSpi.java | 1895 Map keySizes = new HashMap(); in DefaultSecretKeyProvider() local 1897 keySizes.put(new ASN1ObjectIdentifier("1.2.840.113533.7.66.10"), Integers.valueOf(128)); in DefaultSecretKeyProvider() 1899 keySizes.put(PKCSObjectIdentifiers.des_EDE3_CBC, Integers.valueOf(192)); in DefaultSecretKeyProvider() 1901 keySizes.put(NISTObjectIdentifiers.id_aes128_CBC, Integers.valueOf(128)); in DefaultSecretKeyProvider() 1902 keySizes.put(NISTObjectIdentifiers.id_aes192_CBC, Integers.valueOf(192)); in DefaultSecretKeyProvider() 1903 keySizes.put(NISTObjectIdentifiers.id_aes256_CBC, Integers.valueOf(256)); in DefaultSecretKeyProvider() 1915 KEY_SIZES = Collections.unmodifiableMap(keySizes); in DefaultSecretKeyProvider()
|