Home
last modified time | relevance | path

Searched refs:keySizes (Results 1 – 4 of 4) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/
DBaseAgreementSpi.java39 private static final Map<String, Integer> keySizes = new HashMap<String, Integer>(); field in BaseAgreementSpi
52 keySizes.put("DES", i64);
53 keySizes.put("DESEDE", i192);
54 keySizes.put("BLOWFISH", i128);
55 keySizes.put("AES", i256);
57 keySizes.put(NISTObjectIdentifiers.id_aes128_ECB.getId(), i128); in NISTObjectIdentifiers.id_aes128_ECB.getId()
58 keySizes.put(NISTObjectIdentifiers.id_aes192_ECB.getId(), i192); in NISTObjectIdentifiers.id_aes192_ECB.getId()
59 keySizes.put(NISTObjectIdentifiers.id_aes256_ECB.getId(), i256); in NISTObjectIdentifiers.id_aes256_ECB.getId()
60 keySizes.put(NISTObjectIdentifiers.id_aes128_CBC.getId(), i128); in NISTObjectIdentifiers.id_aes128_CBC.getId()
61 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/
DSecretKeyUtil.java14 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/bcprov/src/main/java/org/bouncycastle/jcajce/provider/keystore/pkcs12/
DPKCS12KeyStoreSpi.java1804 Map keySizes = new HashMap(); in DefaultSecretKeyProvider() local
1806 keySizes.put(new ASN1ObjectIdentifier("1.2.840.113533.7.66.10"), Integers.valueOf(128)); in DefaultSecretKeyProvider()
1808 keySizes.put(PKCSObjectIdentifiers.des_EDE3_CBC, Integers.valueOf(192)); in DefaultSecretKeyProvider()
1810 keySizes.put(NISTObjectIdentifiers.id_aes128_CBC, Integers.valueOf(128)); in DefaultSecretKeyProvider()
1811 keySizes.put(NISTObjectIdentifiers.id_aes192_CBC, Integers.valueOf(192)); in DefaultSecretKeyProvider()
1812 keySizes.put(NISTObjectIdentifiers.id_aes256_CBC, Integers.valueOf(256)); in DefaultSecretKeyProvider()
1814 keySizes.put(NTTObjectIdentifiers.id_camellia128_cbc, Integers.valueOf(128)); in DefaultSecretKeyProvider()
1815 keySizes.put(NTTObjectIdentifiers.id_camellia192_cbc, Integers.valueOf(192)); in DefaultSecretKeyProvider()
1816 keySizes.put(NTTObjectIdentifiers.id_camellia256_cbc, Integers.valueOf(256)); in DefaultSecretKeyProvider()
1822 KEY_SIZES = Collections.unmodifiableMap(keySizes); in DefaultSecretKeyProvider()
/external/bouncycastle/patches/
Dbcprov.patch4285 keySizes.put(NTTObjectIdentifiers.id_camellia192_cbc, Integers.valueOf(192));
4286 keySizes.put(NTTObjectIdentifiers.id_camellia256_cbc, Integers.valueOf(256));
4288 - keySizes.put(CryptoProObjectIdentifiers.gostR28147_gcfb, Integers.valueOf(256));
4290 + // keySizes.put(CryptoProObjectIdentifiers.gostR28147_gcfb, Integers.valueOf(256));
4293 KEY_SIZES = Collections.unmodifiableMap(keySizes);