| /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/apache-harmony/security/src/test/support/common/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/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/digests/ |
| OpenSSLDigest.java | 28 * Holds the standard name of the hashing algorithm, e.g. "SHA-1"; 30 private final String algorithm; field in class:OpenSSLDigest 33 * Holds the EVP_MD for the hashing algorithm, e.g. EVP_get_digestbyname("sha1"); 60 * Creates a new OpenSSLMessageDigest instance for the given algorithm 63 private OpenSSLDigest(String algorithm, long evp_md, int size, int blockSize) { 64 this.algorithm = algorithm; 71 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/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...] |
| /libcore/luni/src/test/java/libcore/javax/crypto/ |
| CipherTest.java | 80 String algorithm = "PBEWITHMD5ANDTRIPLEDES"; typedefs 81 Cipher.getInstance(algorithm).init(getEncryptMode(algorithm), 82 getEncryptKey(algorithm), 83 getEncryptAlgorithmParameterSpec(algorithm)); 96 private static boolean isSupported(String algorithm, String provider) { 97 if (algorithm.equals("RC2")) { 100 if (algorithm.equals("PBEWITHMD5ANDRC2")) { 103 if (algorithm.startsWith("PBEWITHSHA1ANDRC2")) { 106 if (algorithm.equals("PBEWITHSHAAND40BITRC2-CBC")) 680 String algorithm = encryptCipher.getAlgorithm().toUpperCase(Locale.US); local 710 String algorithm = service.getAlgorithm(); local 801 String algorithm = c.getAlgorithm().toUpperCase(Locale.US); local [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 814 private String algorithm; field in class:Provider.Service [all...] |
| /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/ |
| KeyFactorySpi.java | 30 String algorithm; field in class:KeyFactorySpi 34 String algorithm, 37 this.algorithm = algorithm; 130 return new BCECPrivateKey(algorithm, (ECPrivateKeySpec)keySpec, configuration); 134 return new BCECPrivateKey(algorithm, (java.security.spec.ECPrivateKeySpec)keySpec, configuration); 146 return new BCECPublicKey(algorithm, (ECPublicKeySpec)keySpec, configuration); 150 return new BCECPublicKey(algorithm, (java.security.spec.ECPublicKeySpec)keySpec, configuration); 163 return new BCECPrivateKey(algorithm, keyInfo, configuration); 167 throw new IOException("algorithm identifier " + algOid + " in key not recognised") [all...] |
| KeyPairGeneratorSpi.java | 54 String algorithm; field in class:KeyPairGeneratorSpi.EC 74 this.algorithm = "EC"; 79 String algorithm, 82 super(algorithm); 83 this.algorithm = algorithm; 264 BCECPublicKey pubKey = new BCECPublicKey(algorithm, pub, p, configuration); 266 new BCECPrivateKey(algorithm, priv, pubKey, p, configuration)); 270 return new KeyPair(new BCECPublicKey(algorithm, pub, configuration), 271 new BCECPrivateKey(algorithm, priv, configuration)) [all...] |
| /external/chromium_org/crypto/ |
| signature_verifier_openssl.cc | 52 ScopedOpenSSL<X509_ALGOR, X509_ALGOR_free> algorithm( 54 if (!algorithm.get()) 56 int nid = OBJ_obj2nid(algorithm.get()->algorithm); 65 digest = EVP_get_digestbyobj(algorithm.get()->algorithm);
|
| /libcore/luni/src/test/java/libcore/java/security/ |
| KeyPairGeneratorTest.java | 65 String algorithm = service.getAlgorithm(); local 75 if ("DH".equals(algorithm)) { 81 KeyPairGenerator kpg1 = KeyPairGenerator.getInstance(algorithm); 82 assertEquals(algorithm, kpg1.getAlgorithm()); 89 KeyPairGenerator kpg2 = KeyPairGenerator.getInstance(algorithm, provider); 90 assertEquals(algorithm, kpg2.getAlgorithm()); 98 KeyPairGenerator kpg3 = KeyPairGenerator.getInstance(algorithm, 100 assertEquals(algorithm, kpg3.getAlgorithm()); 107 throw new Exception("Problem testing KeyPairGenerator." + algorithm, e); 115 private static void putKeySize(String algorithm, int keySize) 163 String algorithm = kpg.getAlgorithm(); local [all...] |
| /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/algorithm/string/detail/ |
| sequence.hpp | 14 #include <boost/algorithm/string/config.hpp> 20 #include <boost/algorithm/string/sequence_traits.hpp> 23 namespace algorithm { namespace in namespace:boost 44 ::boost::algorithm::detail::insert( Input, At, ::boost::begin(Insert), ::boost::end(Insert) ); 187 ::boost::algorithm::detail::replace( Input, From, To, ::boost::begin(Insert), ::boost::end(Insert) ); 191 ::boost::algorithm::detail::insert( Input, From, ::boost::begin(Insert), ::boost::end(Insert) ); 196 } // namespace algorithm
|
| /external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/jcajce/ |
| JcaDigestCalculatorProviderBuilder.java | 44 public DigestCalculator get(final AlgorithmIdentifier algorithm) 51 MessageDigest dig = helper.createDigest(algorithm); 64 return algorithm;
|
| /external/chromium_org/third_party/libjingle/source/talk/base/ |
| nssidentity.h | 79 virtual bool ComputeDigest(const std::string& algorithm, 86 static bool GetDigestLength(const std::string& algorithm, 93 static bool GetDigestObject(const std::string& algorithm,
|
| /external/ceres-solver/internal/ceres/ |
| stl_util.h | 34 #include <algorithm> 43 // requires us to pull in all of algorithm.h, which seems expensive.
|
| /external/chromium/android/ |
| prefix.h | 34 #include <algorithm>
|
| /external/chromium/chrome/browser/ |
| browser_util_win.cc | 9 #include <algorithm>
|
| /external/chromium/chrome/browser/history/ |
| page_usage_data.cc | 7 #include <algorithm>
|
| /external/chromium/chrome/browser/status_icons/ |
| status_tray.cc | 7 #include <algorithm>
|
| /external/chromium/chrome/browser/ui/webui/chromeos/login/ |
| login_ui_helpers.cc | 4 // #include <algorithm> 8 #include <algorithm>
|
| /external/chromium_org/base/debug/ |
| stack_trace.cc | 11 #include <algorithm>
|
| /external/chromium_org/chrome/browser/automation/ |
| automation_provider_list.cc | 7 #include <algorithm>
|
| /external/chromium_org/chrome/browser/extensions/api/i18n/ |
| i18n_api.cc | 7 #include <algorithm>
|
| /external/chromium_org/chrome/browser/status_icons/ |
| status_tray.cc | 7 #include <algorithm>
|
| /external/chromium_org/gpu/command_buffer/service/ |
| gles2_cmd_validation.h | 10 #include <algorithm>
|