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

<<11121314151617181920>>

  /external/chromium_org/third_party/webrtc/base/
nssstreamadapter.h 88 virtual bool GetDigestLength(const std::string& algorithm, size_t* length) {
89 return NSSCertificate::GetDigestLength(algorithm, length);
sslidentity_unittest.cc 84 void TestDigest(const std::string &algorithm, size_t expected_len,
94 rv = identity1_->certificate().ComputeDigest(algorithm,
100 rv = identity1_->certificate().ComputeDigest(algorithm,
108 rv = identity2_->certificate().ComputeDigest(algorithm,
120 rv = test_cert_->ComputeDigest(algorithm, digest3, sizeof(digest3),
  /external/openssl/crypto/asn1/
t_spki.c 80 i=OBJ_obj2nid(spki->spkac->pubkey->algor->algorithm);
81 BIO_printf(out," Public Key Algorithm: %s\n",
93 i=OBJ_obj2nid(spki->sig_algor->algorithm);
94 BIO_printf(out," Signature Algorithm: %s",
  /frameworks/base/media/lib/signer/java/com/android/mediadrm/signer/
MediaDrmSigner.java 128 * @param algorithm the signing algorithm to use, e.g. "PKCS1-BlockType1"
134 String algorithm, byte[] wrappedKey, byte[] message) {
135 return drm.signRSA(sessionId, algorithm, wrappedKey, message);
  /libcore/benchmarks/src/benchmarks/regression/
KeyPairGeneratorBenchmark.java 30 @Param private Algorithm algorithm; field in class:KeyPairGeneratorBenchmark
32 public enum Algorithm {
46 this.generatorAlgorithm = algorithm.toString();
CipherBenchmark.java 55 @Param private Algorithm algorithm; field in class:CipherBenchmark
57 public enum Algorithm {
103 cipherAlgorithm = algorithm.toString() + "/" + mode.toString() + "/"
106 String keyAlgorithm = algorithm.toString();
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/
MyKeyAgreementSpi.java 65 protected SecretKey engineGenerateSecret(String algorithm)
68 if (algorithm.length() == 0) {
69 throw new NoSuchAlgorithmException("Algorithm is empty");
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
KeyStorePrivateKeyEntryTest.java 65 String algorithm = certificate.getPublicKey().getAlgorithm(); local
67 .getInstance(algorithm);
  /libcore/luni/src/test/java/tests/targets/security/
MessageDigestTestMD2.java 27 @AndroidOnly("Android doesn't include MD2 message digest algorithm")
31 fail("MD2 MessageDigest algorithm must not be supported");
39 fail("MD2 MessageDigest algorithm must not be supported");
75 protected MD2(String algorithm) {
76 super(algorithm);
  /libcore/support/src/test/java/org/apache/harmony/security/tests/support/
MySignature1.java 60 * @param algorithm
62 public MySignature1(String algorithm) {
63 super(algorithm);
  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/algorithm/string/detail/
find_format_store.hpp 14 #include <boost/algorithm/string/config.hpp>
18 namespace algorithm { namespace in namespace:boost
86 } // namespace algorithm
formatter.hpp 20 #include <boost/algorithm/string/detail/util.hpp>
25 namespace algorithm { namespace in namespace:boost
116 } // namespace algorithm
util.hpp 14 #include <boost/algorithm/string/config.hpp>
19 namespace algorithm { namespace in namespace:boost
66 // bounded copy algorithm -----------------------------------------------//
68 // Bounded version of the std::copy algorithm
102 } // namespace algorithm
  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/algorithm/string/
sequence_traits.hpp 16 #include <boost/algorithm/string/yes_no_type.hpp>
29 header for a specific container. They are located in boost/algorithm/string/stl
30 directory. Alternatively she can include boost/algorithm/string/std_collection_traits.hpp
35 namespace algorithm { namespace in namespace:boost
189 } // namespace algorithm
  /external/openssl/crypto/ocsp/
ocsp_lib.c 113 if (alg->algorithm != NULL) ASN1_OBJECT_free(alg->algorithm);
119 if (!(alg->algorithm=OBJ_nid2obj(nid))) goto err;
148 ret = OBJ_cmp(a->hashAlgorithm->algorithm, b->hashAlgorithm->algorithm);
  /system/keymaster/include/keymaster/
google_keymaster.h 51 void SupportedBlockModes(keymaster_algorithm_t algorithm,
53 void SupportedPaddingModes(keymaster_algorithm_t algorithm,
55 void SupportedDigests(keymaster_algorithm_t algorithm,
57 void SupportedImportFormats(keymaster_algorithm_t algorithm,
59 void SupportedExportFormats(keymaster_algorithm_t algorithm,
  /external/chromium_org/content/child/webcrypto/test/
aes_kw_unittest.cc 71 const blink::WebCryptoAlgorithm algorithm = local
77 algorithm,
84 algorithm,
91 blink::WebCryptoAlgorithm algorithm = local
99 algorithm,
113 algorithm,
124 algorithm,
136 algorithm,
146 algorithm,
156 algorithm,
469 const blink::WebCryptoAlgorithm algorithm = local
    [all...]
aes_gcm_unittest.cc 21 // Creates an AES-GCM algorithm.
53 blink::WebCryptoAlgorithm algorithm = local
57 Status status = Encrypt(algorithm, key, CryptoData(plain_text), &output);
90 blink::WebCryptoAlgorithm algorithm = local
102 return Decrypt(algorithm, key, CryptoData(cipher_text_with_tag), plain_text);
128 const blink::WebCryptoAlgorithm algorithm = local
134 algorithm,
140 256, algorithm, blink::WebCryptoKeyUsageDecrypt, "A256GCM");
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/crypto/
SHA1PRNG_SecureRandomTest.java 36 private static final String algorithm = "SHA1PRNG"; // algorithm's name field in class:SHA1PRNG_SecureRandomTest
47 sr = SecureRandom.getInstance(algorithm, provider);
48 sr2 = SecureRandom.getInstance(algorithm, provider);
202 sr1 = SecureRandom.getInstance(algorithm, provider);
203 sr2 = SecureRandom.getInstance(algorithm, provider);
257 sr1 = SecureRandom.getInstance(algorithm, provider);
258 sr2 = SecureRandom.getInstance(algorithm, provider);
295 sr1 = SecureRandom.getInstance(algorithm, provider);
296 sr2 = SecureRandom.getInstance(algorithm, provider)
    [all...]
  /external/apache-http/src/org/apache/http/impl/auth/
DigestScheme.java 253 "Unsupported algorithm in HTTP Digest authentication: "
263 * @throws AuthenticationException when MD5 is an unsupported algorithm
271 String algorithm = getParameter("algorithm"); local
281 // If an algorithm is not specified, default to MD5.
282 if (algorithm == null) {
283 algorithm = "MD5";
311 //a1 is suitable for MD5 algorithm
312 if(algorithm.equalsIgnoreCase("MD5-sess")) { // android-changed: ignore case
327 } else if (!algorithm.equalsIgnoreCase("MD5")) { // android-changed: ignore cas
403 String algorithm = getParameter("algorithm"); local
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/provider/crypto/
SHA1PRNG_SecureRandomTest.java 38 private static final String algorithm = "SHA1PRNG"; // algorithm's name field in class:SHA1PRNG_SecureRandomTest
51 sr = SecureRandom.getInstance(algorithm, provider);
52 sr2 = SecureRandom.getInstance(algorithm, provider);
192 sr1 = SecureRandom.getInstance(algorithm, provider);
193 sr2 = SecureRandom.getInstance(algorithm, provider);
248 sr1 = SecureRandom.getInstance(algorithm, provider);
249 sr2 = SecureRandom.getInstance(algorithm, provider);
289 sr1 = SecureRandom.getInstance(algorithm, provider);
290 sr2 = SecureRandom.getInstance(algorithm, provider)
    [all...]
  /external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/
CipherTest.java 47 static final String algorithm = "DESede"; field in class:CipherTest
52 KeyGenerator kg = KeyGenerator.getInstance(algorithm);
150 final String algorithm = "DESede/CBC/PKCS5Padding"; local
152 Cipher cipher = Cipher.getInstance(algorithm);
153 assertTrue("Cipher algorithm does not match", cipher.getAlgorithm()
154 .equals(algorithm));
161 final String algorithm = "DESede/CBC/PKCS5Padding"; local
163 Cipher cipher = Cipher.getInstance(algorithm);
173 Cipher cipher = Cipher.getInstance(algorithm + "/ECB/PKCS5Padding");
189 Cipher cipher = Cipher.getInstance(algorithm + "/ECB/PKCS5Padding")
    [all...]
  /external/chromium_org/content/child/webcrypto/
jwk.h 27 // * algorithm: The JWK algorithm name (i.e. "alg")
31 const std::string& algorithm,
49 // Creates an AES algorithm name for the given key size (in bytes). For
55 // absolut "expected_algorithm", the suffix for an AES algorithm name is given
58 // This is because the algorithm name for AES keys is dependent on the length
71 const std::string& algorithm,
86 const std::string& algorithm,
  /external/chromium_org/content/child/webcrypto/openssl/
rsa_ssa_openssl.cc 27 *digest = GetDigest(key.algorithm().rsaHashedParams()->hash().id());
56 virtual Status Sign(const blink::WebCryptoAlgorithm& algorithm,
91 virtual Status Verify(const blink::WebCryptoAlgorithm& algorithm,
  /external/chromium_org/third_party/WebKit/Source/modules/crypto/
CryptoKey.cpp 164 bool CryptoKey::canBeUsedForAlgorithm(const WebCryptoAlgorithm& algorithm, WebCryptoOperation op, CryptoResult* result) const
171 if (m_key.algorithm().id() != algorithm.id()) {
172 result->completeWithError(WebCryptoErrorTypeInvalidAccess, "key.algorithm does not match that of operation");

Completed in 1869 milliseconds

<<11121314151617181920>>