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

1 2 3 4 5 6 7 891011>>

  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.sorting/alg.heap.operations/make.heap/
make_heap.pass.cpp 10 // <algorithm>
17 #include <algorithm>
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.sorting/alg.heap.operations/push.heap/
push_heap.pass.cpp 10 // <algorithm>
18 #include <algorithm>
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/dynarray/dynarray.zero/
default.pass.cpp 26 #include <algorithm>
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/support/
hexfloat.h 18 #include <algorithm>
  /ndk/tests/device/test-gnustl-full/unit/
modulus_test.cpp 1 #include <algorithm>
  /ndk/tests/device/test-stlport/unit/
modulus_test.cpp 1 #include <algorithm>
  /packages/apps/CertInstaller/src/com/android/certinstaller/
Util.java 59 MessageDigest algorithm = MessageDigest.getInstance("MD5"); local
60 algorithm.reset();
61 algorithm.update(bytes);
62 return toHexString(algorithm.digest(), "");
  /external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/bc/
BcDigestCalculatorProvider.java 19 public DigestCalculator get(final AlgorithmIdentifier algorithm)
22 Digest dig = digestProvider.get(algorithm);
30 return algorithm;
  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/util/
HashUtil.java 40 private static String getHash(Params params, String algorithm) {
43 MessageDigest m = MessageDigest.getInstance(algorithm);
47 Log.e(TAG, "Unable to find digest algorithm " + algorithm);
  /external/chromium_org/content/child/webcrypto/nss/
aes_key_nss.h 20 // Constructs an AES algorithm whose keys will be imported using the NSS
24 // used when constructing JWK names for the algorithm. For instance A128CBC
42 virtual Status GenerateSecretKey(const blink::WebCryptoAlgorithm& algorithm,
52 const blink::WebCryptoAlgorithm& algorithm,
58 const blink::WebCryptoAlgorithm& algorithm,
aes_key_nss.cc 47 const blink::WebCryptoAlgorithm& algorithm,
53 GetAesKeyGenLengthInBits(algorithm.aesKeyGenParams(), &keylen_bits);
58 blink::WebCryptoKeyAlgorithm::createAes(algorithm.id(), keylen_bits),
78 const blink::WebCryptoAlgorithm& algorithm,
92 blink::WebCryptoKeyAlgorithm::createAes(algorithm.id(), keylen_bits),
101 const blink::WebCryptoAlgorithm& algorithm,
112 CryptoData(raw_data), algorithm, extractable, usage_mask, key);
  /external/chromium_org/content/child/webcrypto/openssl/
aes_key_openssl.h 20 // used when constructing JWK names for the algorithm. For instance A128CBC
34 virtual Status GenerateSecretKey(const blink::WebCryptoAlgorithm& algorithm,
44 const blink::WebCryptoAlgorithm& algorithm,
50 const blink::WebCryptoAlgorithm& algorithm,
hmac_openssl.cc 73 virtual Status GenerateSecretKey(const blink::WebCryptoAlgorithm& algorithm,
78 algorithm.hmacKeyGenParams();
111 const blink::WebCryptoAlgorithm& algorithm,
116 algorithm.hmacImportParams()->hash();
133 const blink::WebCryptoAlgorithm& algorithm,
138 GetJwkHmacAlgorithmName(algorithm.hmacImportParams()->hash().id());
149 CryptoData(raw_data), algorithm, extractable, usage_mask, key);
164 GetJwkHmacAlgorithmName(key.algorithm().hmacParams()->hash().id());
177 virtual Status Sign(const blink::WebCryptoAlgorithm& algorithm,
182 key.algorithm().hmacParams()->hash()
    [all...]
rsa_oaep_openssl.cc 40 const blink::WebCryptoAlgorithm& algorithm,
48 GetDigest(key.algorithm().rsaHashedParams()->hash().id());
62 algorithm.rsaOaepParams()->optionalLabel();
122 virtual Status Encrypt(const blink::WebCryptoAlgorithm& algorithm,
130 EVP_PKEY_encrypt_init, EVP_PKEY_encrypt, algorithm, key, data, buffer);
133 virtual Status Decrypt(const blink::WebCryptoAlgorithm& algorithm,
141 EVP_PKEY_decrypt_init, EVP_PKEY_decrypt, algorithm, key, data, buffer);
  /external/chromium_org/crypto/
symmetric_key.h 28 // Defines the algorithm that a key will be used with. See also
30 enum Algorithm {
37 // Generates a random key suitable to be used with |algorithm| and of
40 static SymmetricKey* GenerateRandomKey(Algorithm algorithm,
44 // for use with specified |algorithm|. Note |algorithm| is not the algorithm
48 static SymmetricKey* DeriveKeyFromPassword(Algorithm algorithm,
    [all...]
  /libcore/benchmarks/src/benchmarks/regression/
DigestBenchmark.java 33 @Param private Algorithm algorithm; field in class:DigestBenchmark
35 public enum Algorithm { MD5, SHA1, SHA256, SHA384, SHA512 };
47 className += ("OpenSSLDigest$" + algorithm);
50 className += (algorithm + "Digest");
  /external/chromium_org/content/child/webcrypto/test/
rsa_ssa_unittest.cc 56 key.algorithm().rsaHashedParams()->modulusLengthBits());
59 CryptoData(key.algorithm().rsaHashedParams()->publicExponent()));
81 // Failing case: Import RSA key but provide an inconsistent input algorithm.
118 // TODO(eroman): Failing test: Import a SPKI with invalid algorithm params
145 key.algorithm().rsaHashedParams()->hash().id());
147 key.algorithm().rsaHashedParams()->modulusLengthBits());
150 CryptoData(key.algorithm().rsaHashedParams()->publicExponent()));
178 // Failing case: Import RSA key but provide an inconsistent input algorithm
362 private_key.algorithm().rsaHashedParams()->modulusLengthBits()));
402 ASSERT_EQ(1024u, key1.algorithm().rsaHashedParams()->modulusLengthBits())
536 blink::WebCryptoAlgorithm algorithm = local
728 blink::WebCryptoAlgorithm algorithm = CreateRsaHashedKeyGenAlgorithm( local
760 blink::WebCryptoAlgorithm algorithm = CreateRsaHashedKeyGenAlgorithm( local
794 blink::WebCryptoAlgorithm algorithm = local
929 blink::WebCryptoAlgorithm algorithm = local
965 const blink::WebCryptoAlgorithm algorithm = local
993 const blink::WebCryptoAlgorithm algorithm = local
1160 blink::WebCryptoAlgorithm algorithm = local
    [all...]
  /external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
KeyStoreTestSupport.java 89 private String algorithm; field in class:KeyStoreTestSupport.MyPrivateKey
95 public MyPrivateKey(String algorithm, String format, byte[] encoded) {
96 this.algorithm = algorithm;
102 return algorithm;
  /libcore/support/src/test/java/org/apache/harmony/security/tests/support/
KeyStoreTestSupport.java 90 private String algorithm; field in class:KeyStoreTestSupport.MyPrivateKey
96 public MyPrivateKey(String algorithm, String format, byte[] encoded) {
97 this.algorithm = algorithm;
103 return algorithm;
  /external/chromium_org/chrome/browser/thumbnails/
thumbnail_tab_helper.cc 36 // by StartThumbnailing(). The current algorithm of the service is as
65 scoped_refptr<ThumbnailingAlgorithm> algorithm,
75 algorithm->ProcessBitmap(context, base::Bind(&UpdateThumbnail), bitmap);
80 scoped_refptr<ThumbnailingAlgorithm> algorithm) {
102 context->clip_result = algorithm->GetCanvasCopyInfo(
110 base::Bind(&ProcessCapturedBitmap, context, algorithm),
199 scoped_refptr<thumbnails::ThumbnailingAlgorithm> algorithm(
204 AsyncProcessThumbnail(web_contents, context, algorithm);
  /external/chromium_org/third_party/WebKit/Source/core/frame/
SubresourceIntegrity.cpp 76 HashAlgorithm algorithm; local
77 if (!parseIntegrityAttribute(element.fastGetAttribute(HTMLNames::integrityAttr), integrity, algorithm)) {
88 bool digestSuccess = computeDigest(algorithm, normalizedSource.data(), normalizedSource.length(), digest);
103 bool SubresourceIntegrity::parseIntegrityAttribute(const String& attribute, String& integrity, HashAlgorithm& algorithm)
110 HashAlgorithm algorithm; member in struct:blink::__anon15702
142 algorithm = kSupportedPrefixes[i].algorithm;
  /external/nist-sip/java/gov/nist/javax/sip/clientauthutils/
MessageDigestAlgorithm.java 10 * MD5 algorithm
20 * @param algorithm a string indicating a pair of algorithms (MD5 (default), or MD5-sess) used
38 static String calculateResponse(String algorithm, String hashUserNameRealmPasswd,
43 stackLogger.logDebug("trying to authenticate using : " + algorithm + ", "+
54 // The following follows closely the algorithm for generating a response
59 "cnonce_value may not be absent for MD5-Sess algorithm.");
94 * @param algorithm a string indicating a pair of algorithms (MD5 (default), or MD5-sess) used
114 static String calculateResponse(String algorithm, String username_value, String realm_value,
119 stackLogger.logDebug("trying to authenticate using : " + algorithm + ", "
131 // The following follows closely the algorithm for generating a respons
    [all...]
  /external/chromium_org/third_party/WebKit/Source/modules/crypto/
SubtleCrypto.cpp 69 static bool parseAlgorithm(const Dictionary& raw, WebCryptoOperation op, WebCryptoAlgorithm& algorithm, CryptoResult* result)
72 bool success = normalizeAlgorithm(raw, op, algorithm, &error);
107 WebCryptoAlgorithm algorithm;
108 if (!parseAlgorithm(rawAlgorithm, operationType, algorithm, result.get()))
111 if (requiresKey && !key->canBeUsedForAlgorithm(algorithm, operationType, result.get()))
119 Platform::current()->crypto()->encrypt(algorithm, key->key(), data, dataSize, result->result());
122 Platform::current()->crypto()->decrypt(algorithm, key->key(), data, dataSize, result->result());
125 Platform::current()->crypto()->sign(algorithm, key->key(), data, dataSize, result->result());
128 Platform::current()->crypto()->verifySignature(algorithm, key->key(), signature.bytes(), signature.byteLength(), data, dataSize, result->result());
131 Platform::current()->crypto()->digest(algorithm, data, dataSize, result->result())
294 WebCryptoAlgorithm algorithm; local
    [all...]
  /external/chromium_org/third_party/webrtc/base/
nssidentity.cc 11 #include <algorithm>
196 bool NSSCertificate::GetDigestLength(const std::string& algorithm,
200 if (!GetDigestObject(algorithm, &ho))
208 bool NSSCertificate::GetSignatureDigestAlgorithm(std::string* algorithm) const {
215 *algorithm = DIGEST_MD5;
227 *algorithm = DIGEST_SHA_1;
232 *algorithm = DIGEST_SHA_224;
237 *algorithm = DIGEST_SHA_256;
241 *algorithm = DIGEST_SHA_384;
245 *algorithm = DIGEST_SHA_512
    [all...]
  /libcore/luni/src/main/java/java/security/
Provider.java 58 // Contains "Service.Algorithm" and Provider.Service classes added using
66 // Contains "Service.Algorithm" and Provider.Service classes added using
76 // For getService(String type, String algorithm) optimization:
296 * Returns true if this provider implements the given algorithm. Caller
303 * Algorithm or type.
393 * specified {@code algorithm}, or {@code null} if no such implementation
396 * If two services match the requested type and algorithm, the one added
402 * @param algorithm
403 * the algorithm name (case insensitive)
408 String algorithm) {
579 String algorithm = null; local
643 String algorithm; local
887 private String algorithm; field in class:Provider.Service
    [all...]

Completed in 1259 milliseconds

1 2 3 4 5 6 7 891011>>