HomeSort by relevance Sort by last modified time
    Searched refs:algorithm (Results 76 - 100 of 3084) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/chromium/crypto/
secure_hash_default.cc 39 SecureHash* SecureHash::Create(Algorithm algorithm) {
40 switch (algorithm) {
symmetric_key_openssl.cc 10 #include <algorithm>
24 SymmetricKey* SymmetricKey::GenerateRandomKey(Algorithm algorithm,
26 DCHECK_EQ(AES, algorithm);
43 SymmetricKey* SymmetricKey::DeriveKeyFromPassword(Algorithm algorithm,
48 DCHECK(algorithm == AES || algorithm == HMAC_SHA1);
64 SymmetricKey* SymmetricKey::Import(Algorithm algorithm,
    [all...]
secure_hash_openssl.cc 43 SecureHash* SecureHash::Create(Algorithm algorithm) {
44 switch (algorithm) {
  /external/chromium_org/third_party/WebKit/Source/modules/crypto/
CryptoOperation.idl 34 readonly attribute Algorithm algorithm;
Key.idl 36 readonly attribute Algorithm algorithm;
SubtleCrypto.cpp 82 bool keyCanBeUsedForAlgorithm(const WebKit::WebCryptoKey& key, const WebKit::WebCryptoAlgorithm& algorithm, AlgorithmOperation op)
87 if (key.algorithm().id() != algorithm.id())
90 if (key.algorithm().paramsType() == WebKit::WebCryptoAlgorithmParamsTypeNone)
93 // Verify that the algorithm-specific parameters for the key conform to the
94 // algorithm.
96 if (key.algorithm().paramsType() == WebKit::WebCryptoAlgorithmParamsTypeHmacParams) {
97 return key.algorithm().hmacParams()->hash().id() == algorithm.hmacParams()->hash().id();
112 WebKit::WebCryptoAlgorithm algorithm; local
210 WebKit::WebCryptoAlgorithm algorithm; local
245 WebKit::WebCryptoAlgorithm algorithm; local
    [all...]
  /libcore/luni/src/main/java/java/security/
KeyRep.java 39 // Key algorithm name
40 private final String algorithm; field in class:KeyRep
53 * @param algorithm
54 * the algorithm (obtained by {@link Key#getAlgorithm()}).
61 * if {@code type, algorithm, format or encoded} is {@code null}
64 public KeyRep(Type type, String algorithm, String format, byte[] encoded) {
66 this.algorithm = algorithm;
72 if(this.algorithm == null) {
73 throw new NullPointerException("algorithm == null")
    [all...]
  /libcore/support/src/test/java/org/apache/harmony/security/tests/support/
MyMessageDigest1.java 44 * @param algorithm
46 public MyMessageDigest1(String algorithm) {
47 super(algorithm);
MyKeyPairGenerator1.java 95 private String algorithm; field in class:MyKeyPairGenerator1.PubKey
102 this.algorithm = "MyKeyPairGenerator1";
108 return algorithm;
121 private String algorithm; field in class:MyKeyPairGenerator1.PrivKey
128 this.algorithm = "MyKeyPairGenerator1";
134 return algorithm;
SpiEngUtils.java 41 * Verification: is algorithm supported or not
43 * @param algorithm
47 public static Provider isSupport(String algorithm, String service) {
50 .concat(algorithm));
  /external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
MyKeyPairGenerator1.java 94 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;
  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/algorithm/string/
formatter.hpp 19 #include <boost/algorithm/string/detail/formatter.hpp>
33 namespace algorithm { namespace in namespace:boost
109 } // namespace algorithm
112 using algorithm::const_formatter;
113 using algorithm::identity_formatter;
114 using algorithm::empty_formatter;
115 using algorithm::dissect_formatter;
finder.hpp 14 #include <boost/algorithm/string/config.hpp>
22 #include <boost/algorithm/string/constants.hpp>
23 #include <boost/algorithm/string/detail/finder.hpp>
24 #include <boost/algorithm/string/compare.hpp>
35 namespace algorithm { namespace in namespace:boost
202 algorithm, with an exception that it return a range of
256 } // namespace algorithm
259 using algorithm::first_finder;
260 using algorithm::last_finder;
261 using algorithm::nth_finder
    [all...]
compare.hpp 14 #include <boost/algorithm/string/config.hpp>
25 namespace algorithm { namespace in namespace:boost
186 } // namespace algorithm
189 using algorithm::is_equal;
190 using algorithm::is_iequal;
191 using algorithm::is_less;
192 using algorithm::is_iless;
193 using algorithm::is_not_greater;
194 using algorithm::is_not_igreater;
  /external/chromium_org/crypto/
symmetric_key_openssl.cc 10 #include <algorithm>
24 SymmetricKey* SymmetricKey::GenerateRandomKey(Algorithm algorithm,
26 DCHECK_EQ(AES, algorithm);
43 SymmetricKey* SymmetricKey::DeriveKeyFromPassword(Algorithm algorithm,
48 DCHECK(algorithm == AES || algorithm == HMAC_SHA1);
68 SymmetricKey* SymmetricKey::Import(Algorithm algorithm,
    [all...]
  /external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/jcajce/
JcaContentVerifierProviderBuilder.java 83 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, stream)
    [all...]
  /libcore/luni/src/test/java/libcore/java/security/
SecureRandomTest.java 46 String algorithm = service.getAlgorithm(); local
48 SecureRandom sr1 = SecureRandom.getInstance(algorithm);
49 assertEquals(algorithm, sr1.getAlgorithm());
53 SecureRandom sr2 = SecureRandom.getInstance(algorithm, provider);
54 assertEquals(algorithm, sr2.getAlgorithm());
59 SecureRandom sr3 = SecureRandom.getInstance(algorithm, provider.getName());
60 assertEquals(algorithm, sr3.getAlgorithm());
64 System.out.println("SecureRandomTest " + algorithm + " and provider "
67 throw new Exception("Problem testing SecureRandom." + algorithm
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/util/
AsymmetricAlgorithmProvider.java 12 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;
  /external/libppp/src/
ccp.c 147 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[ccp->out.algorithm]->Disp)(&(*o)->val))
    [all...]
  /external/chromium_org/net/cert/
jwk_serializer_nss.cc 63 if (spki->algorithm.parameters.len == sizeof(kPrime256v1) &&
64 !memcmp(spki->algorithm.parameters.data, kPrime256v1,
107 if (spki->algorithm.algorithm.len == sizeof(kIdEcPublicKey) &&
108 !memcmp(spki->algorithm.algorithm.data, kIdEcPublicKey,
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
KeyPairGenerator5Test.java 35 protected MockKeyPairGenerator(String algorithm) {
36 super(algorithm);
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
MessageDigest2Test.java 67 for (String algorithm : algorithms) {
68 MessageDigestStub md = new MessageDigestStub(algorithm);
69 assertEquals(algorithm, md.getAlgorithm());
81 for (String algorithm : e.getValue()) {
82 MessageDigest d1 = MessageDigest.getInstance(algorithm, e.getKey().getName());
91 assertTrue("cloned hash differs from original for algorithm " + algorithm,
243 for (String algorithm : e.getValue()) {
244 MessageDigest digest = MessageDigest.getInstance(algorithm, e.getKey().getName());
256 for (String algorithm : e.getValue())
445 String algorithm = (String) key; local
    [all...]
  /libcore/luni/src/main/java/javax/crypto/
ExemptionMechanism.java 88 * specified exemption mechanism algorithm.
90 * @param algorithm
94 * if the specified algorithm is not available by any provider.
96 * if the algorithm parameter is {@code null}.
98 public static final ExemptionMechanism getInstance(String algorithm)
100 if (algorithm == null) {
101 throw new NullPointerException("algorithm == null");
103 Engine.SpiAndProvider sap = ENGINE.getInstance(algorithm, null);
104 return new ExemptionMechanism((ExemptionMechanismSpi) sap.spi, sap.provider, algorithm);
109 * specified exemption mechanism algorithm from the specified provider
    [all...]
  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/algorithm/string/detail/
find_format.hpp 14 #include <boost/algorithm/string/config.hpp>
18 #include <boost/algorithm/string/detail/find_format_store.hpp>
19 #include <boost/algorithm/string/detail/replace_storage.hpp>
22 namespace algorithm { namespace in namespace:boost
78 if( ::boost::algorithm::detail::check_find_result(Input, FindResult) ) {
79 return ::boost::algorithm::detail::find_format_copy_impl2(
139 if( ::boost::algorithm::detail::check_find_result(Input, FindResult) ) {
140 return ::boost::algorithm::detail::find_format_copy_impl2(
179 ::boost::algorithm::detail::replace( Input, M.begin(), M.end(), M.format_result() );
191 if( ::boost::algorithm::detail::check_find_result(Input, FindResult) )
    [all...]
  /libcore/luni/src/test/java/libcore/javax/net/ssl/
TrustManagerFactoryTest.java 57 private static boolean supportsManagerFactoryParameters(String algorithm) {
58 return (StandardNames.IS_RI && algorithm.equals("PKIX"));
62 String algorithm = TrustManagerFactory.getDefaultAlgorithm(); local
63 assertEquals(StandardNames.TRUST_MANAGER_FACTORY_DEFAULT, algorithm);
64 TrustManagerFactory tmf = TrustManagerFactory.getInstance(algorithm);
185 String algorithm = service.getAlgorithm(); local
187 TrustManagerFactory tmf = TrustManagerFactory.getInstance(algorithm);
188 assertEquals(algorithm, tmf.getAlgorithm());
193 TrustManagerFactory tmf = TrustManagerFactory.getInstance(algorithm,
195 assertEquals(algorithm, tmf.getAlgorithm())
231 String algorithm = service.getAlgorithm(); local
254 String algorithm = TrustManagerFactory.getDefaultAlgorithm(); local
284 String algorithm = "RSA"; local
    [all...]

Completed in 446 milliseconds

1 2 34 5 6 7 8 91011>>