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

1 2 34 5 6 7 8 91011>>

  /external/chromium_org/content/child/webcrypto/openssl/
aes_gcm_openssl.cc 38 const blink::WebCryptoAlgorithm& algorithm,
44 const blink::WebCryptoAesGcmParams* params = algorithm.aesGcmParams();
65 virtual Status Encrypt(const blink::WebCryptoAlgorithm& algorithm,
69 return AesGcmEncryptDecrypt(ENCRYPT, algorithm, key, data, buffer);
72 virtual Status Decrypt(const blink::WebCryptoAlgorithm& algorithm,
76 return AesGcmEncryptDecrypt(DECRYPT, algorithm, key, data, buffer);
aes_kw_openssl.cc 37 const blink::WebCryptoAlgorithm& algorithm,
71 virtual Status Encrypt(const blink::WebCryptoAlgorithm& algorithm,
75 return AesKwEncryptDecrypt(ENCRYPT, algorithm, key, data, buffer);
78 virtual Status Decrypt(const blink::WebCryptoAlgorithm& algorithm,
82 return AesKwEncryptDecrypt(DECRYPT, algorithm, key, data, buffer);
  /external/chromium_org/third_party/WebKit/Source/platform/
Crypto.cpp 15 static blink::WebCryptoAlgorithmId toWebCryptoAlgorithmId(HashAlgorithm algorithm)
17 switch (algorithm) {
32 bool computeDigest(HashAlgorithm algorithm, const char* digestable, size_t length, DigestValue& digestResult)
34 blink::WebCryptoAlgorithmId algorithmId = toWebCryptoAlgorithmId(algorithm);
49 PassOwnPtr<blink::WebCryptoDigestor> createDigestor(HashAlgorithm algorithm)
51 return adoptPtr(blink::Platform::current()->crypto()->createDigestor(toWebCryptoAlgorithmId(algorithm)));
  /external/chromium_org/third_party/skia/tests/
ChecksumTest.cpp 31 // Test each algorithm.
33 const algorithmProc algorithm = kAlgorithms[i]; local
36 ASSERT(algorithm(NULL, 0) == 0);
38 const uint32_t hash = algorithm(data, kBytes);
40 ASSERT(hash == algorithm(data, kBytes));
46 const uint32_t tweakedHash = algorithm(tweaked, kBytes);
48 ASSERT(tweakedHash == algorithm(tweaked, kBytes));
  /external/skia/tests/
ChecksumTest.cpp 31 // Test each algorithm.
33 const algorithmProc algorithm = kAlgorithms[i]; local
36 ASSERT(algorithm(NULL, 0) == 0);
38 const uint32_t hash = algorithm(data, kBytes);
40 ASSERT(hash == algorithm(data, kBytes));
46 const uint32_t tweakedHash = algorithm(tweaked, kBytes);
48 ASSERT(tweakedHash == algorithm(tweaked, kBytes));
  /libcore/luni/src/test/java/libcore/java/security/
MessageDigestTest.java 58 String algorithm = service.getAlgorithm(); local
61 MessageDigest md1 = MessageDigest.getInstance(algorithm);
62 assertEquals(algorithm, md1.getAlgorithm());
66 MessageDigest md2 = MessageDigest.getInstance(algorithm, provider);
67 assertEquals(algorithm, md2.getAlgorithm());
72 MessageDigest md3 = MessageDigest.getInstance(algorithm, provider.getName());
73 assertEquals(algorithm, md3.getAlgorithm());
77 throw new Exception("Problem testing MessageDigest." + algorithm, e);
85 private static void putExpectation(String algorithm, String inputName, byte[] expected) {
86 algorithm = algorithm.toUpperCase()
211 String algorithm = md.getAlgorithm(); local
    [all...]
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
  /libcore/support/src/test/java/org/apache/harmony/security/tests/support/
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));
  /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;
  /libcore/luni/src/main/java/java/security/
Signature.java 48 // The algorithm.
49 final String algorithm; field in class:Signature
78 * the algorithm to use.
80 * @param algorithm
81 * the name of algorithm to use.
83 protected Signature(String algorithm) {
84 this.algorithm = algorithm;
89 * algorithm.
91 * @param algorithm
    [all...]
  /libcore/luni/src/main/java/javax/crypto/
KeyAgreement.java 58 // Store used algorithm name
59 private final String algorithm; field in class:KeyAgreement
73 * @param algorithm
74 * the name of the key agreement algorithm.
77 String algorithm) {
80 this.algorithm = algorithm;
84 * Returns the name of the key agreement algorithm.
86 * @return the name of the key agreement algorithm.
89 return algorithm;
    [all...]
Mac.java 55 // Store used algorithm name
56 private final String algorithm; field in class:Mac
73 * @param algorithm
74 * the name of the MAC algorithm.
76 protected Mac(MacSpi macSpi, Provider provider, String algorithm) {
78 this.algorithm = algorithm;
84 * Returns the name of the MAC algorithm.
86 * @return the name of the MAC algorithm.
89 return algorithm;
    [all...]
  /external/chromium_org/content/child/webcrypto/
algorithm_dispatch.h 28 // * The algorithm parameters are consistent with the algorithm
31 CONTENT_EXPORT Status Encrypt(const blink::WebCryptoAlgorithm& algorithm,
36 CONTENT_EXPORT Status Decrypt(const blink::WebCryptoAlgorithm& algorithm,
41 CONTENT_EXPORT Status Digest(const blink::WebCryptoAlgorithm& algorithm,
46 GenerateSecretKey(const blink::WebCryptoAlgorithm& algorithm,
52 GenerateKeyPair(const blink::WebCryptoAlgorithm& algorithm,
60 const blink::WebCryptoAlgorithm& algorithm,
69 CONTENT_EXPORT Status Sign(const blink::WebCryptoAlgorithm& algorithm,
74 CONTENT_EXPORT Status Verify(const blink::WebCryptoAlgorithm& algorithm,
    [all...]
webcrypto_impl.h 28 virtual void encrypt(const blink::WebCryptoAlgorithm& algorithm,
33 virtual void decrypt(const blink::WebCryptoAlgorithm& algorithm,
38 virtual void digest(const blink::WebCryptoAlgorithm& algorithm,
42 virtual void generateKey(const blink::WebCryptoAlgorithm& algorithm,
49 const blink::WebCryptoAlgorithm& algorithm,
56 virtual void sign(const blink::WebCryptoAlgorithm& algorithm,
61 virtual void verifySignature(const blink::WebCryptoAlgorithm& algorithm,
94 const blink::WebCryptoKeyAlgorithm& algorithm,
  /external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/jcajce/
JcaContentVerifierProviderBuilder.java 84 public ContentVerifier get(AlgorithmIdentifier algorithm)
89 Signature sig = helper.createSignature(algorithm);
100 Signature rawSig = createRawSig(algorithm, certificate.getPublicKey());
104 return new RawSigVerifier(algorithm, stream, rawSig);
108 return new SigVerifier(algorithm, stream);
129 public ContentVerifier get(AlgorithmIdentifier algorithm)
132 SignatureOutputStream stream = createSignatureStream(algorithm, publicKey);
134 Signature rawSig = createRawSig(algorithm, publicKey);
138 return new RawSigVerifier(algorithm, stream, rawSig);
142 return new SigVerifier(algorithm, stream)
    [all...]
  /external/conscrypt/src/main/java/org/conscrypt/
CryptoUpcalls.java 41 * Finds the first provider which provides {@code algorithm} but is not from
44 public static Provider getExternalProvider(String algorithm) {
46 for (Provider p : Security.getProviders(algorithm)) {
53 System.err.println("Could not find external provider for algorithm: " + algorithm);
59 // Get the raw signature algorithm for this key type.
60 String algorithm = null; local
61 // Hint: Algorithm names come from:
68 algorithm = "NONEwithRSA";
70 algorithm = "NONEwithDSA"
    [all...]
  /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/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 34 protected MockKeyPairGenerator(String algorithm) {
35 super(algorithm);
  /external/chromium_org/crypto/
symmetric_key_nss.cc 18 SymmetricKey* SymmetricKey::GenerateRandomKey(Algorithm algorithm,
20 DCHECK_EQ(AES, algorithm);
43 SymmetricKey* SymmetricKey::DeriveKeyFromPassword(Algorithm algorithm,
52 if (algorithm == AES) {
73 algorithm == AES ? SEC_OID_AES_256_CBC : SEC_OID_HMAC_SHA1;
96 SymmetricKey* SymmetricKey::Import(Algorithm algorithm,
100 if (algorithm == AES)
    [all...]
  /external/libcxx/test/thread/thread.threads/thread.thread.class/thread.thread.algorithm/
Android.mk 17 test_makefile := external/libcxx/test/thread/thread.threads/thread.thread.class/thread.thread.algorithm/Android.mk
19 test_name := thread/thread.threads/thread.thread.class/thread.thread.algorithm/swap
  /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...]

Completed in 1779 milliseconds

1 2 34 5 6 7 8 91011>>