HomeSort by relevance Sort by last modified time
    Searched refs:Algorithm (Results 26 - 50 of 98) sorted by null

12 3 4

  /libcore/benchmarks/src/benchmarks/regression/
MessageDigestBenchmark.java 33 @Param private Algorithm algorithm; field in class:MessageDigestBenchmark
35 public enum Algorithm { MD5, SHA1, SHA256, SHA384, SHA512 };
43 MessageDigest digest = MessageDigest.getInstance(algorithm.toString(),
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");
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();
SignatureBenchmark.java 42 @Param private Algorithm algorithm; field in class:SignatureBenchmark
44 public enum Algorithm {
68 this.signatureAlgorithm = algorithm.toString();
  /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) {
symmetric_key_nss.cc 18 SymmetricKey* SymmetricKey::GenerateRandomKey(Algorithm algorithm,
20 DCHECK_EQ(AES, algorithm);
39 SymmetricKey* SymmetricKey::DeriveKeyFromPassword(Algorithm algorithm,
61 algorithm == AES ? SEC_OID_AES_256_CBC : SEC_OID_HMAC_SHA1;
84 SymmetricKey* SymmetricKey::Import(Algorithm algorithm,
87 algorithm == AES ? CKM_AES_CBC : CKM_SHA_1_HMAC;
symmetric_key_mac.cc 16 CSSM_KEY_TYPE CheckKeyParams(crypto::SymmetricKey::Algorithm algorithm,
18 if (algorithm == crypto::SymmetricKey::AES) {
28 CHECK(algorithm == crypto::SymmetricKey::HMAC_SHA1);
71 SymmetricKey* SymmetricKey::GenerateRandomKey(Algorithm algorithm,
73 CheckKeyParams(algorithm, key_size_in_bits);
83 SymmetricKey* SymmetricKey::DeriveKeyFromPassword(Algorithm algorithm,
89 CSSM_KEY_TYPE key_type = CheckKeyParams(algorithm, key_size_in_bits)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/modules/crypto/
RsaKeyGenParams.cpp 52 RsaKeyGenParams::RsaKeyGenParams(const WebKit::WebCryptoAlgorithm& algorithm)
53 : Algorithm(algorithm)
55 ASSERT(algorithm.rsaKeyGenParams());
CryptoOperation.h 36 #include "modules/crypto/Algorithm.h"
133 Algorithm* algorithm();
141 RefPtr<Algorithm> m_algorithmNode;
Key.cpp 34 #include "modules/crypto/Algorithm.h"
112 Algorithm* Key::algorithm() function in class:WebCore::Key
115 m_algorithm = Algorithm::create(m_key.algorithm());
CryptoOperation.cpp 38 #include "modules/crypto/Algorithm.h"
207 PassRefPtr<CryptoOperation> CryptoOperation::create(const WebKit::WebCryptoAlgorithm& algorithm, CryptoOperationImpl* impl)
209 return adoptRef(new CryptoOperation(algorithm, impl));
212 CryptoOperation::CryptoOperation(const WebKit::WebCryptoAlgorithm& algorithm, CryptoOperationImpl* impl)
213 : m_algorithm(algorithm)
242 Algorithm* CryptoOperation::algorithm() function in class:WebCore::CryptoOperation
245 m_algorithmNode = Algorithm::create(m_algorithm);
  /external/smack/src/org/xbill/DNS/
DNSSEC.java 25 public static class Algorithm {
26 private Algorithm() {}
61 /** Private algorithm, specified by domain name */
64 /** Private algorithm, specified by OID */
67 private static Mnemonic algs = new Mnemonic("DNSSEC algorithm",
90 * Converts an algorithm into its textual representation
98 * Converts a textual representation of an algorithm into its numeric
100 * @param s The textual representation of the algorithm
101 * @return The algorithm code, or -1 on error.
203 * An algorithm is unsupported by this DNSSEC implementation
    [all...]
SSHFPRecord.java 18 public static class Algorithm {
19 private Algorithm() {}
44 * @param alg The public key's algorithm.
83 /** Returns the public key's algorithm. */
DNSKEYRecord.java 52 * @param alg The key's algorithm
66 * @param alg The key's algorithm
85 alg = DNSSEC.Algorithm.value(algString);
87 throw st.exception("Invalid algorithm: " + algString);
IPSECKEYRecord.java 19 public static class Algorithm {
20 private Algorithm() {}
52 * @param algorithmType The record's algorithm type.
191 /** Returns the record's algorithm type. */
  /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...]
symmetric_key_nss.cc 18 SymmetricKey* SymmetricKey::GenerateRandomKey(Algorithm algorithm,
20 DCHECK_EQ(AES, algorithm);
39 SymmetricKey* SymmetricKey::DeriveKeyFromPassword(Algorithm algorithm,
61 algorithm == AES ? SEC_OID_AES_256_CBC : SEC_OID_HMAC_SHA1;
84 SymmetricKey* SymmetricKey::Import(Algorithm algorithm,
88 algorithm == AES ? CKM_AES_CBC : CKM_SHA_1_HMAC;
secure_hash_default.cc 86 SecureHash* SecureHash::Create(Algorithm algorithm) {
87 switch (algorithm) {
secure_hash_openssl.cc 92 SecureHash* SecureHash::Create(Algorithm algorithm) {
93 switch (algorithm) {
  /frameworks/av/media/libeffects/loudness/dsp/core/
interpolator_base.h 27 // class that provides the specific interpolation algorithm. The following list
40 template <typename T, class Algorithm>
99 // Algorithm state (internally owned)
  /external/skia/tests/
ChecksumTest.cpp 26 enum Algorithm {
31 // Call Compute(data, size) on the appropriate checksum algorithm,
58 // Confirm that the checksum algorithm (specified by fWhichAlgorithm)
109 const Algorithm algorithms[] = { kSkChecksum, kMurmur3 };
124 // We need to improve the SkChecksum algorithm.
127 // ('SkChecksum algorithm allows for way too many collisions')
138 Algorithm fWhichAlgorithm;
  /external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/
V8AlgorithmCustom.cpp 32 #include "modules/crypto/Algorithm.h"
43 v8::Handle<v8::Object> wrap(Algorithm* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)

Completed in 1223 milliseconds

12 3 4