Home
last modified time | relevance | path

Searched refs:Integers (Results 1 – 25 of 89) sorted by relevance

1234

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/util/
DSecretKeyUtil.java10 import org.bouncycastle.util.Integers;
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()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/util/
DSecretKeyUtil.java11 import com.android.org.bouncycastle.util.Integers;
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()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/macs/
DHMac.java10 import org.bouncycastle.util.Integers;
45 blockLengths.put("MD5", Integers.valueOf(64));
52 blockLengths.put("SHA-1", Integers.valueOf(64));
53 blockLengths.put("SHA-224", Integers.valueOf(64));
54 blockLengths.put("SHA-256", Integers.valueOf(64));
55 blockLengths.put("SHA-384", Integers.valueOf(128));
56 blockLengths.put("SHA-512", Integers.valueOf(128));
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/macs/
DHMac.java11 import com.android.org.bouncycastle.util.Integers;
47 blockLengths.put("MD5", Integers.valueOf(64));
54 blockLengths.put("SHA-1", Integers.valueOf(64));
55 blockLengths.put("SHA-224", Integers.valueOf(64));
56 blockLengths.put("SHA-256", Integers.valueOf(64));
57 blockLengths.put("SHA-384", Integers.valueOf(128));
58 blockLengths.put("SHA-512", Integers.valueOf(128));
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/
DKeyPairGeneratorSpi.java31 import org.bouncycastle.util.Integers;
61 … ecParameters.put(Integers.valueOf(192), new ECGenParameterSpec("prime192v1")); // a.k.a P-192
62 ecParameters.put(Integers.valueOf(239), new ECGenParameterSpec("prime239v1"));
63 … ecParameters.put(Integers.valueOf(256), new ECGenParameterSpec("prime256v1")); // a.k.a P-256
65 ecParameters.put(Integers.valueOf(224), new ECGenParameterSpec("P-224"));
66 ecParameters.put(Integers.valueOf(384), new ECGenParameterSpec("P-384"));
67 ecParameters.put(Integers.valueOf(521), new ECGenParameterSpec("P-521"));
99 … ECGenParameterSpec ecParams = (ECGenParameterSpec)ecParameters.get(Integers.valueOf(strength)); in initialize()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/ec/
DKeyPairGeneratorSpi.java32 import com.android.org.bouncycastle.util.Integers;
68 … ecParameters.put(Integers.valueOf(192), new ECGenParameterSpec("prime192v1")); // a.k.a P-192
69 ecParameters.put(Integers.valueOf(239), new ECGenParameterSpec("prime239v1"));
70 … ecParameters.put(Integers.valueOf(256), new ECGenParameterSpec("prime256v1")); // a.k.a P-256
72 ecParameters.put(Integers.valueOf(224), new ECGenParameterSpec("P-224"));
73 ecParameters.put(Integers.valueOf(384), new ECGenParameterSpec("P-384"));
74 ecParameters.put(Integers.valueOf(521), new ECGenParameterSpec("P-521"));
106 … ECGenParameterSpec ecParams = (ECGenParameterSpec)ecParameters.get(Integers.valueOf(strength)); in initialize()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/jcajce/
DOperatorHelper.java51 import org.bouncycastle.util.Integers;
135 … symmetricWrapperKeySizes.put(PKCSObjectIdentifiers.id_alg_CMS3DESwrap, Integers.valueOf(192)); in symmetricWrapperKeySizes.put()
136 symmetricWrapperKeySizes.put(NISTObjectIdentifiers.id_aes128_wrap, Integers.valueOf(128)); in symmetricWrapperKeySizes.put()
137 symmetricWrapperKeySizes.put(NISTObjectIdentifiers.id_aes192_wrap, Integers.valueOf(192)); in symmetricWrapperKeySizes.put()
138 symmetricWrapperKeySizes.put(NISTObjectIdentifiers.id_aes256_wrap, Integers.valueOf(256)); in symmetricWrapperKeySizes.put()
139 … symmetricWrapperKeySizes.put(NTTObjectIdentifiers.id_camellia128_wrap, Integers.valueOf(128)); in symmetricWrapperKeySizes.put()
140 … symmetricWrapperKeySizes.put(NTTObjectIdentifiers.id_camellia192_wrap, Integers.valueOf(192)); in symmetricWrapperKeySizes.put()
141 … symmetricWrapperKeySizes.put(NTTObjectIdentifiers.id_camellia256_wrap, Integers.valueOf(256)); in symmetricWrapperKeySizes.put()
142 …symmetricWrapperKeySizes.put(KISAObjectIdentifiers.id_npki_app_cmsSeed_wrap, Integers.valueOf(128)… in symmetricWrapperKeySizes.put()
143 symmetricWrapperKeySizes.put(PKCSObjectIdentifiers.des_EDE3_CBC, Integers.valueOf(192)); in symmetricWrapperKeySizes.put()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/
DBaseAgreementSpi.java30 import org.bouncycastle.util.Integers;
45 Integer i64 = Integers.valueOf(64);
46 Integer i128 = Integers.valueOf(128);
47 Integer i192 = Integers.valueOf(192);
48 Integer i256 = Integers.valueOf(256);
90 keySizes.put(PKCSObjectIdentifiers.id_hmacWithSHA1.getId(), Integers.valueOf(160)); in PKCSObjectIdentifiers.id_hmacWithSHA1.getId()
92 keySizes.put(PKCSObjectIdentifiers.id_hmacWithSHA384.getId(), Integers.valueOf(384)); in PKCSObjectIdentifiers.id_hmacWithSHA384.getId()
93 keySizes.put(PKCSObjectIdentifiers.id_hmacWithSHA512.getId(), Integers.valueOf(512)); in PKCSObjectIdentifiers.id_hmacWithSHA512.getId()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/
DPBEPBKDF2.java34 import org.bouncycastle.util.Integers;
44 prfCodes.put(PKCSObjectIdentifiers.id_hmacWithSHA1, Integers.valueOf(PBE.SHA1)); in prfCodes.put()
45 prfCodes.put(PKCSObjectIdentifiers.id_hmacWithSHA256, Integers.valueOf(PBE.SHA256)); in prfCodes.put()
46 prfCodes.put(PKCSObjectIdentifiers.id_hmacWithSHA224, Integers.valueOf(PBE.SHA224)); in prfCodes.put()
47 prfCodes.put(PKCSObjectIdentifiers.id_hmacWithSHA384, Integers.valueOf(PBE.SHA384)); in prfCodes.put()
48 prfCodes.put(PKCSObjectIdentifiers.id_hmacWithSHA512, Integers.valueOf(PBE.SHA512)); in prfCodes.put()
DGcmSpecUtil.java11 import org.bouncycastle.util.Integers;
40 …return (AlgorithmParameterSpec)constructor.newInstance(new Object[] { Integers.valueOf(gcmParams.g… in extractGcmSpec()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/util/
DBaseAgreementSpi.java31 import com.android.org.bouncycastle.util.Integers;
49 Integer i64 = Integers.valueOf(64);
50 Integer i128 = Integers.valueOf(128);
51 Integer i192 = Integers.valueOf(192);
52 Integer i256 = Integers.valueOf(256);
94 keySizes.put(PKCSObjectIdentifiers.id_hmacWithSHA1.getId(), Integers.valueOf(160)); in PKCSObjectIdentifiers.id_hmacWithSHA1.getId()
96 keySizes.put(PKCSObjectIdentifiers.id_hmacWithSHA384.getId(), Integers.valueOf(384)); in PKCSObjectIdentifiers.id_hmacWithSHA384.getId()
97 keySizes.put(PKCSObjectIdentifiers.id_hmacWithSHA512.getId(), Integers.valueOf(512)); in PKCSObjectIdentifiers.id_hmacWithSHA512.getId()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/symmetric/
DPBEPBKDF2.java35 import com.android.org.bouncycastle.util.Integers;
48 prfCodes.put(PKCSObjectIdentifiers.id_hmacWithSHA1, Integers.valueOf(PBE.SHA1)); in prfCodes.put()
49 prfCodes.put(PKCSObjectIdentifiers.id_hmacWithSHA256, Integers.valueOf(PBE.SHA256)); in prfCodes.put()
50 prfCodes.put(PKCSObjectIdentifiers.id_hmacWithSHA224, Integers.valueOf(PBE.SHA224)); in prfCodes.put()
51 prfCodes.put(PKCSObjectIdentifiers.id_hmacWithSHA384, Integers.valueOf(PBE.SHA384)); in prfCodes.put()
52 prfCodes.put(PKCSObjectIdentifiers.id_hmacWithSHA512, Integers.valueOf(PBE.SHA512)); in prfCodes.put()
DGcmSpecUtil.java12 import com.android.org.bouncycastle.util.Integers;
41 …return (AlgorithmParameterSpec)constructor.newInstance(new Object[] { Integers.valueOf(gcmParams.g… in extractGcmSpec()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/field/
DGenericPolynomialExtensionField.java5 import org.bouncycastle.util.Integers;
60 ^ Integers.rotateLeft(minimalPolynomial.hashCode(), 16); in hashCode()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/math/field/
DGenericPolynomialExtensionField.java6 import com.android.org.bouncycastle.util.Integers;
61 ^ Integers.rotateLeft(minimalPolynomial.hashCode(), 16); in hashCode()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
DCRLReason.java9 import org.bouncycastle.util.Integers;
142 Integer idx = Integers.valueOf(value); in lookup()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/x509/
DCRLReason.java10 import com.android.org.bouncycastle.util.Integers;
144 Integer idx = Integers.valueOf(value); in lookup()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/extension/
DX509ExtensionUtil.java21 import org.bouncycastle.util.Integers;
78 list.add(Integers.valueOf(genName.getTagNo())); in getAlternativeNames()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/
DKeyPairGeneratorSpi.java22 import org.bouncycastle.util.Integers;
99 Integer paramStrength = Integers.valueOf(strength); in generateKeyPair()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/x509/extension/
DX509ExtensionUtil.java22 import com.android.org.bouncycastle.util.Integers;
80 list.add(Integers.valueOf(genName.getTagNo())); in getAlternativeNames()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/dh/
DKeyPairGeneratorSpi.java23 import com.android.org.bouncycastle.util.Integers;
103 Integer paramStrength = Integers.valueOf(strength); in generateKeyPair()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/
DKeyPairGeneratorSpi.java23 import org.bouncycastle.util.Integers;
105 Integer paramStrength = Integers.valueOf(strength); in generateKeyPair()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/
DIntegers.java6 public class Integers class
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/util/
DIntegers.java8 public class Integers class
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/dsa/
DKeyPairGeneratorSpi.java24 import com.android.org.bouncycastle.util.Integers;
109 Integer paramStrength = Integers.valueOf(strength); in generateKeyPair()

1234