| /libcore/luni/src/main/java/java/security/ |
| AlgorithmParameters.java | 27 * {@code AlgorithmParameters} is an engine class which provides algorithm 52 * The security algorithm. 54 private final String algorithm; field in class:AlgorithmParameters 69 * @param algorithm 70 * the name of the algorithm. 73 Provider provider, String algorithm) { 75 this.algorithm = algorithm; 81 * algorithm. 83 * @param algorithm [all...] |
| SecureRandom.java | 39 * <p>The default algorithm is defined by the first {@code SecureRandomSpi} 53 * algorithm must be secure. 79 private final String algorithm; field in class:SecureRandom 85 * Constructs a new {@code SecureRandom} that uses the default algorithm. 93 this.algorithm = "SHA1PRNG"; 98 this.algorithm = service.getAlgorithm(); 107 * algorithm. <a href="#insecure_seed">Seeding {@code SecureRandom} may be 132 String algorithm) { 135 this.algorithm = algorithm; [all...] |
| KeyRep.java | 39 // Key algorithm name 40 private final String algorithm; field in class:KeyRep 53 * @param algorithm 54 * the algorithm (obtained by {@link Key#getAlgorithm()}). 61 * if {@code type, algorithm, format or encoded} is {@code null} 64 public KeyRep(Type type, String algorithm, String format, byte[] encoded) { 66 this.algorithm = algorithm; 72 if(this.algorithm == null) { 73 throw new NullPointerException("algorithm == null") [all...] |
| /libcore/luni/src/main/java/javax/crypto/ |
| KeyGenerator.java | 48 // Store used algorithm name 49 private final String algorithm; field in class:KeyGenerator 58 * @param algorithm 59 * the name of the algorithm. 62 String algorithm) { 64 this.algorithm = algorithm; 69 * Returns the name of the key generation algorithm. 71 * @return the name of the key generation algorithm. 74 return algorithm; [all...] |
| /libcore/luni/src/test/java/libcore/javax/crypto/ |
| KeyGeneratorTest.java | 47 String algorithm = service.getAlgorithm(); local 50 KeyGenerator kg1 = KeyGenerator.getInstance(algorithm); 51 assertEquals(algorithm, kg1.getAlgorithm()); 55 KeyGenerator kg2 = KeyGenerator.getInstance(algorithm, provider); 56 assertEquals(algorithm, kg2.getAlgorithm()); 61 KeyGenerator kg3 = KeyGenerator.getInstance(algorithm, provider.getName()); 62 assertEquals(algorithm, kg3.getAlgorithm()); 66 throw new Exception("Problem testing KeyPairGenerator." + algorithm, e); 74 private static void putKeySize(String algorithm, int keySize) { 75 algorithm = algorithm.toUpperCase() 138 String algorithm = kg.getAlgorithm(); local [all...] |
| /external/chromium_org/net/android/javatests/src/org/chromium/net/ |
| AndroidKeyStoreTestUtil.java | 33 String algorithm = null; local 36 algorithm = "RSA"; 39 algorithm = "DSA"; 42 algorithm = "EC"; 49 KeyFactory factory = KeyFactory.getInstance(algorithm); 55 Log.e(TAG, "Could not create " + algorithm + " factory instance!"); 58 Log.e(TAG, "Could not load " + algorithm + " private key from bytes!");
|
| /external/chromium_org/crypto/ |
| symmetric_key_openssl.cc | 10 #include <algorithm> 24 SymmetricKey* SymmetricKey::GenerateRandomKey(Algorithm algorithm, 26 DCHECK_EQ(AES, algorithm); 50 SymmetricKey* SymmetricKey::DeriveKeyFromPassword(Algorithm algorithm, 55 DCHECK(algorithm == AES || algorithm == HMAC_SHA1); 57 if (algorithm == AES) { 84 SymmetricKey* SymmetricKey::Import(Algorithm algorithm [all...] |
| /external/conscrypt/src/main/java/org/conscrypt/ |
| OpenSSLSecretKey.java | 31 private final String algorithm; field in class:OpenSSLSecretKey 37 public OpenSSLSecretKey(String algorithm, byte[] encoded) { 38 this.algorithm = algorithm; 45 public OpenSSLSecretKey(String algorithm, OpenSSLKey key) { 46 this.algorithm = algorithm; 64 return algorithm; 101 if (!algorithm.equals(other.getAlgorithm())) {
|
| /external/chromium_org/third_party/WebKit/Source/web/ |
| WebCryptoNormalize.cpp | 48 WebCryptoAlgorithm algorithm; 50 if (!normalizeAlgorithm(algorithmDictionary, operation, algorithm, &error)) { 56 return algorithm;
|
| /external/libcxx/test/thread/thread.mutex/thread.lock.algorithm/ |
| Android.mk | 17 test_makefile := external/libcxx/test/thread/thread.mutex/thread.lock.algorithm/Android.mk 19 test_name := thread/thread.mutex/thread.lock.algorithm/lock 23 test_name := thread/thread.mutex/thread.lock.algorithm/try_lock
|
| /external/chromium_org/third_party/WebKit/Source/modules/crypto/ |
| SubtleCrypto.idl | 43 [CallWith=ScriptState] Promise encrypt(Dictionary algorithm, CryptoKey key, ArrayBuffer data); 44 [CallWith=ScriptState] Promise encrypt(Dictionary algorithm, CryptoKey key, ArrayBufferView data); 46 [CallWith=ScriptState] Promise decrypt(Dictionary algorithm, CryptoKey key, ArrayBuffer data); 47 [CallWith=ScriptState] Promise decrypt(Dictionary algorithm, CryptoKey key, ArrayBufferView data); 49 [CallWith=ScriptState] Promise sign(Dictionary algorithm, CryptoKey key, ArrayBuffer data); 50 [CallWith=ScriptState] Promise sign(Dictionary algorithm, CryptoKey key, ArrayBufferView data); 52 // FIXME: should be: Promise verify(Dictionary algorithm, CryptoKey key, CryptoOperationData signature, CryptoOperationData data); 53 [CallWith=ScriptState, Custom, ImplementedAs=verifySignature] Promise verify(Dictionary algorithm, CryptoKey key, object signature, object data); 55 [CallWith=ScriptState] Promise digest(Dictionary algorithm, ArrayBuffer data); 56 [CallWith=ScriptState] Promise digest(Dictionary algorithm, ArrayBufferView data) [all...] |
| CryptoKey.idl | 37 [Custom] readonly attribute object algorithm;
|
| /external/chromium_org/base/i18n/ |
| string_compare.h | 8 #include <algorithm>
|
| /external/chromium_org/components/data_reduction_proxy/common/ |
| data_reduction_proxy_headers_test_utils.cc | 7 #include <algorithm>
|
| /external/chromium_org/content/child/webcrypto/openssl/ |
| sym_key_openssl.cc | 20 Status GenerateSecretKeyOpenSsl(const blink::WebCryptoKeyAlgorithm& algorithm, 38 algorithm, 44 const blink::WebCryptoKeyAlgorithm& algorithm, 51 algorithm,
|
| sym_key_openssl.h | 17 Status GenerateSecretKeyOpenSsl(const blink::WebCryptoKeyAlgorithm& algorithm, 24 const blink::WebCryptoKeyAlgorithm& algorithm,
|
| /external/chromium_org/extensions/shell/test/ |
| shell_tests_main.cc | 5 #include <algorithm>
|
| /external/stlport/test/unit/ |
| _template.cpp | 2 #include <algorithm>
|
| /ndk/tests/device/test-gnustl-full/unit/ |
| _template.cpp | 2 #include <algorithm>
|
| /ndk/tests/device/test-stlport/unit/ |
| _template.cpp | 2 #include <algorithm>
|
| /external/chromium_org/content/child/webcrypto/ |
| algorithm_implementation.h | 22 // algorithm (generating keys, encrypting, signing, etc.). 34 // * |algorithm.id()| and |key.algorithm.id()| matches the algorithm under 36 // * |algorithm| has the correct parameters type for the operation. 45 virtual Status Encrypt(const blink::WebCryptoAlgorithm& algorithm, 51 virtual Status Decrypt(const blink::WebCryptoAlgorithm& algorithm, 57 virtual Status Sign(const blink::WebCryptoAlgorithm& algorithm, 63 virtual Status Verify(const blink::WebCryptoAlgorithm& algorithm, 70 virtual Status Digest(const blink::WebCryptoAlgorithm& algorithm, [all...] |
| /external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/ |
| MyMessageDigest1.java | 41 * @param algorithm 43 public MyMessageDigest1(String algorithm) { 44 super(algorithm);
|
| MyKeyPairGenerator1.java | 93 private String algorithm; field in class:MyKeyPairGenerator1.PubKey 100 this.algorithm = "MyKeyPairGenerator1"; 106 return algorithm; 119 private String algorithm; field in class:MyKeyPairGenerator1.PrivKey 126 this.algorithm = "MyKeyPairGenerator1"; 132 return algorithm;
|
| /external/chromium_org/content/child/webcrypto/nss/ |
| sym_key_nss.h | 19 Status GenerateSecretKeyNss(const blink::WebCryptoKeyAlgorithm& algorithm, 27 const blink::WebCryptoKeyAlgorithm& algorithm,
|
| /libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
| MyMessageDigest1.java | 44 * @param algorithm 46 public MyMessageDigest1(String algorithm) { 47 super(algorithm);
|