Searched refs:algorithm (Results 1 - 25 of 952) sorted by relevance

1234567891011>>

/external/stlport/test/unit/
H A Dalgorithm_header_test.cpp8 #include <algorithm>
H A D_template.cpp2 #include <algorithm>
H A Dtimes_test.cpp1 #include <algorithm>
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/spec/
H A DRepeatedSecretKeySpec.java13 private String algorithm; field in class:RepeatedSecretKeySpec
15 public RepeatedSecretKeySpec(String algorithm) argument
17 this.algorithm = algorithm;
22 return algorithm;
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/
H A DDefaultJcaJceHelper.java23 String algorithm)
26 return Cipher.getInstance(algorithm);
29 public Mac createMac(String algorithm) argument
32 return Mac.getInstance(algorithm);
35 public KeyAgreement createKeyAgreement(String algorithm) argument
38 return KeyAgreement.getInstance(algorithm);
41 public AlgorithmParameterGenerator createAlgorithmParameterGenerator(String algorithm) argument
44 return AlgorithmParameterGenerator.getInstance(algorithm);
47 public AlgorithmParameters createAlgorithmParameters(String algorithm) argument
50 return AlgorithmParameters.getInstance(algorithm);
22 createCipher( String algorithm) argument
53 createKeyGenerator(String algorithm) argument
59 createKeyFactory(String algorithm) argument
65 createKeyPairGenerator(String algorithm) argument
71 createDigest(String algorithm) argument
77 createSignature(String algorithm) argument
83 createCertificateFactory(String algorithm) argument
[all...]
H A DProviderJcaJceHelper.java31 String algorithm)
34 return Cipher.getInstance(algorithm, provider);
37 public Mac createMac(String algorithm) argument
40 return Mac.getInstance(algorithm, provider);
43 public KeyAgreement createKeyAgreement(String algorithm) argument
46 return KeyAgreement.getInstance(algorithm, provider);
49 public AlgorithmParameterGenerator createAlgorithmParameterGenerator(String algorithm) argument
52 return AlgorithmParameterGenerator.getInstance(algorithm, provider);
55 public AlgorithmParameters createAlgorithmParameters(String algorithm) argument
58 return AlgorithmParameters.getInstance(algorithm, provide
30 createCipher( String algorithm) argument
61 createKeyGenerator(String algorithm) argument
67 createKeyFactory(String algorithm) argument
73 createKeyPairGenerator(String algorithm) argument
79 createDigest(String algorithm) argument
85 createSignature(String algorithm) argument
91 createCertificateFactory(String algorithm) argument
[all...]
H A DNamedJcaJceHelper.java31 String algorithm)
34 return Cipher.getInstance(algorithm, providerName);
37 public Mac createMac(String algorithm) argument
40 return Mac.getInstance(algorithm, providerName);
43 public KeyAgreement createKeyAgreement(String algorithm) argument
46 return KeyAgreement.getInstance(algorithm, providerName);
49 public AlgorithmParameterGenerator createAlgorithmParameterGenerator(String algorithm) argument
52 return AlgorithmParameterGenerator.getInstance(algorithm, providerName);
55 public AlgorithmParameters createAlgorithmParameters(String algorithm) argument
58 return AlgorithmParameters.getInstance(algorithm, providerNam
30 createCipher( String algorithm) argument
61 createKeyGenerator(String algorithm) argument
67 createKeyFactory(String algorithm) argument
73 createKeyPairGenerator(String algorithm) argument
79 createDigest(String algorithm) argument
85 createSignature(String algorithm) argument
91 createCertificateFactory(String algorithm) argument
[all...]
H A DJcaJceHelper.java23 String algorithm)
26 Mac createMac(String algorithm) argument
29 KeyAgreement createKeyAgreement(String algorithm) argument
32 AlgorithmParameterGenerator createAlgorithmParameterGenerator(String algorithm) argument
35 AlgorithmParameters createAlgorithmParameters(String algorithm) argument
38 KeyGenerator createKeyGenerator(String algorithm) argument
41 KeyFactory createKeyFactory(String algorithm) argument
44 KeyPairGenerator createKeyPairGenerator(String algorithm) argument
47 MessageDigest createDigest(String algorithm) argument
50 Signature createSignature(String algorithm) argument
22 createCipher( String algorithm) argument
53 createCertificateFactory(String algorithm) argument
[all...]
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
H A DPrivateKeyStub.java34 String algorithm = null; field in class:PrivateKeyStub
42 * @param algorithm
46 public PrivateKeyStub(String algorithm, String format, byte[] encoded) { argument
47 this.algorithm = algorithm;
53 * Returns algorithm
57 return algorithm;
H A DPublicKeyStub.java37 String algorithm = null; field in class:PublicKeyStub
44 public PublicKeyStub(String algorithm, String format, byte[] encoded) { argument
45 this.algorithm = algorithm;
51 * returns algorithm
54 return algorithm;
H A DMyMessageDigest1.java43 * @param algorithm
45 public MyMessageDigest1(String algorithm) { argument
46 super(algorithm);
H A DMyKeyPairGenerator1.java94 private String algorithm; field in class:MyKeyPairGenerator1.PubKey
101 this.algorithm = "MyKeyPairGenerator1";
107 return algorithm;
120 private String algorithm; field in class:MyKeyPairGenerator1.PrivKey
127 this.algorithm = "MyKeyPairGenerator1";
133 return algorithm;
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/digest/
H A DDigestAlgorithmProvider.java12 String algorithm,
16 String mainName = "HMAC" + algorithm;
19 provider.addAlgorithm("Alg.Alias.Mac.HMAC-" + algorithm, mainName);
20 provider.addAlgorithm("Alg.Alias.Mac.HMAC/" + algorithm, mainName);
22 provider.addAlgorithm("Alg.Alias.KeyGenerator.HMAC-" + algorithm, mainName);
23 provider.addAlgorithm("Alg.Alias.KeyGenerator.HMAC/" + algorithm, mainName);
28 String algorithm,
31 String mainName = "HMAC" + algorithm;
10 addHMACAlgorithm( ConfigurableProvider provider, String algorithm, String algorithmClassName, String keyGeneratorClassName) argument
26 addHMACAlias( ConfigurableProvider provider, String algorithm, ASN1ObjectIdentifier oid) argument
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
H A DSecretKeySpecTest.java38 * SecretKeySpec(byte[] key, String algorithm) method testing. Tests that
45 String algorithm = "Algorithm";
48 new SecretKeySpec(new byte[] {}, algorithm);
55 new SecretKeySpec(null, algorithm);
64 + "in the case of null algorithm.");
68 SecretKeySpec ks = new SecretKeySpec(key, algorithm);
76 * SecretKeySpec(byte[] key, int offset, int len, String algorithm) method
85 String algorithm = "Algorithm";
88 new SecretKeySpec(new byte[] {}, 0, 0, algorithm);
95 new SecretKeySpec(null, 0, 0, algorithm);
[all...]
/external/chromium/crypto/
H A Dsecure_hash_default.cc39 SecureHash* SecureHash::Create(Algorithm algorithm) { argument
40 switch (algorithm) {
H A Dsymmetric_key_openssl.cc10 #include <algorithm>
24 SymmetricKey* SymmetricKey::GenerateRandomKey(Algorithm algorithm, argument
26 DCHECK_EQ(AES, algorithm);
43 SymmetricKey* SymmetricKey::DeriveKeyFromPassword(Algorithm algorithm, argument
48 DCHECK(algorithm == AES || algorithm == HMAC_SHA1);
64 SymmetricKey* SymmetricKey::Import(Algorithm algorithm, argument
H A Dsecure_hash_openssl.cc43 SecureHash* SecureHash::Create(Algorithm algorithm) { argument
44 switch (algorithm) {
H A Dhmac_mac.cc45 CCHmacAlgorithm algorithm; local
49 algorithm = kCCHmacAlgSHA1;
53 algorithm = kCCHmacAlgSHA256;
66 CCHmac(algorithm,
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/jcajce/
H A DJcaContentVerifierProviderBuilder.java83 public ContentVerifier get(AlgorithmIdentifier algorithm)
88 Signature sig = helper.createSignature(algorithm);
99 Signature rawSig = createRawSig(algorithm, certificate.getPublicKey());
103 return new RawSigVerifier(algorithm, stream, rawSig);
107 return new SigVerifier(algorithm, stream);
128 public ContentVerifier get(AlgorithmIdentifier algorithm)
131 SignatureOutputStream stream = createSignatureStream(algorithm, publicKey);
133 Signature rawSig = createRawSig(algorithm, publicKey);
137 return new RawSigVerifier(algorithm, stream, rawSig);
141 return new SigVerifier(algorithm, strea
147 createSignatureStream(AlgorithmIdentifier algorithm, PublicKey publicKey) argument
164 createRawSig(AlgorithmIdentifier algorithm, PublicKey publicKey) argument
187 private AlgorithmIdentifier algorithm; field in class:JcaContentVerifierProviderBuilder.SigVerifier
189 SigVerifier(AlgorithmIdentifier algorithm, SignatureOutputStream stream) argument
229 RawSigVerifier(AlgorithmIdentifier algorithm, SignatureOutputStream stream, Signature rawSignature) argument
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/util/
H A DAsymmetricAlgorithmProvider.java12 String algorithm,
16 String mainName = digest + "WITH" + algorithm;
17 String jdk11Variation1 = digest + "with" + algorithm;
18 String jdk11Variation2 = digest + "With" + algorithm;
19 String alias = digest + "/" + algorithm;
9 addSignatureAlgorithm( ConfigurableProvider provider, String digest, String algorithm, String className, ASN1ObjectIdentifier oid) argument
/external/libppp/src/
H A Dccp.c147 static const struct ccp_algorithm * const algorithm[] = { variable
156 #define NALGORITHMS (sizeof algorithm/sizeof algorithm[0])
179 if (ccp->in.algorithm != -1)
181 (*algorithm[ccp->in.algorithm]->Disp)(&ccp->in.opt));
183 if (ccp->out.algorithm != -1) {
185 for (f = 0; f < ccp->out.algorithm; f++)
186 if (IsEnabled(ccp->cfg.neg[algorithm[f]->Neg]))
189 (*algorithm[cc
[all...]
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
H A DKeyPairGenerator5Test.java35 protected MockKeyPairGenerator(String algorithm) { argument
36 super(algorithm);
/external/chromium/net/base/
H A Descape_icu.cc5 #include <algorithm>
/external/stlport/stlport/
H A Dalgorithm47 # include_next <algorithm>
49 # include _STLP_NATIVE_HEADER(algorithm)
/external/openssl/crypto/asn1/
H A Dx_algor.c65 ASN1_SIMPLE(X509_ALGOR, algorithm, ASN1_OBJECT),
93 if (alg->algorithm)
94 ASN1_OBJECT_free(alg->algorithm);
95 alg->algorithm = aobj;
116 *paobj = algor->algorithm;

Completed in 426 milliseconds

1234567891011>>