/cts/tests/tests/keystore/src/android/keystore/cts/ |
ImportWrappedKeyTest.java | 375 DERTaggedObject algorithm = new DERTaggedObject(true, 2, new DERInteger(algorithm_)); local 396 allItems.add(algorithm);
|
KeyStoreTest.java | 173 String algorithm = service.getAlgorithm(); local 174 KeyStore ks = KeyStore.getInstance(algorithm, provider); 176 assertEquals(algorithm, ks.getType()); 450 String algorithm = service.getAlgorithm(); local 451 KeyStore ks = KeyStore.getInstance(algorithm, provider); 453 assertEquals(algorithm, ks.getType()); [all...] |
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/javax/net/ssl/ |
KeyManagerFactoryTest.java | 75 String algorithm = KeyManagerFactory.getDefaultAlgorithm(); local 76 assertEquals(StandardNames.KEY_MANAGER_FACTORY_DEFAULT, algorithm); 77 KeyManagerFactory kmf = KeyManagerFactory.getInstance(algorithm); 83 private static boolean supportsManagerFactoryParameters(String algorithm) { 85 return algorithm.equals("NewSunX509"); 88 private static String[] keyTypes(String algorithm) { 91 return (algorithm.equals("NewSunX509") ? KEY_TYPES_WITH_EMPTY 176 private void test_X509KeyManager(X509KeyManager km, boolean empty, String algorithm) 178 String[] keyTypes = keyTypes(algorithm); 218 test_X509ExtendedKeyManager((X509ExtendedKeyManager) km, empty, algorithm); 314 String algorithm = service.getAlgorithm(); local [all...] |
/external/curl/lib/vauth/ |
digest.c | 260 * alg [in/out] - The buffer where the algorithm will be stored. 261 * alen [in] - The length of the algorithm buffer. 303 /* Retrieve algorithm string from the challenge */ 304 if(!auth_digest_get_key_value((char *) chlg, "algorithm=", alg, alen, ',')) { 370 char algorithm[64]; local 382 algorithm, sizeof(algorithm), 388 if(strcmp(algorithm, "md5-sess") != 0) 606 else if(strcasecompare(value, "algorithm")) { 607 free(digest->algorithm); [all...] |
/external/wycheproof/java/com/google/security/wycheproof/testcases/ |
DsaTest.java | 19 // - add tests for "alternative" algorithm names 798 String algorithm = "SHA256WithDSA"; local [all...] |
/external/boringssl/src/ssl/ |
ssl_cert.cc | 469 // signature algorithm 782 uint16_t algorithm; local 787 !CBS_get_u16(&deleg, &algorithm) || 807 // configured and that the DC signature algorithm is supported by the peer. 824 // Check that the DC signature algorithm is supported by the peer.
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
SSLParametersImpl.java | 86 // Endpoint identification algorithm (e.g., HTTPS) 521 String algorithm = KeyManagerFactory.getDefaultAlgorithm(); local 522 KeyManagerFactory kmf = KeyManagerFactory.getInstance(algorithm); 589 String algorithm = TrustManagerFactory.getDefaultAlgorithm(); local 590 TrustManagerFactory tmf = TrustManagerFactory.getInstance(algorithm);
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
SSLParametersImpl.java | 88 // Endpoint identification algorithm (e.g., HTTPS) 526 String algorithm = KeyManagerFactory.getDefaultAlgorithm(); local 527 KeyManagerFactory kmf = KeyManagerFactory.getInstance(algorithm); 595 String algorithm = TrustManagerFactory.getDefaultAlgorithm(); local 596 TrustManagerFactory tmf = TrustManagerFactory.getInstance(algorithm);
|
/external/tensorflow/tensorflow/core/kernels/ |
mkl_avgpooling_op.cc | 29 using mkldnn::algorithm; 173 dnnAlgorithm_t algorithm = dnnAlgorithmPoolingAvg; local 178 &prim_pooling_fwd, primAttr, algorithm, lt_user_input, 395 dnnAlgorithm_t algorithm = dnnAlgorithmPoolingAvg; local 398 &prim_pooling_bwd, primAttr, algorithm, lt_user_input, 506 algorithm::pooling_avg_exclude_padding, 626 algorithm::pooling_avg_exclude_padding, prop_kind::forward_training);
|
mkl_maxpooling_op.cc | 26 #include <algorithm> 28 using mkldnn::algorithm; 165 dnnAlgorithm_t algorithm = dnnAlgorithmPoolingMax; local 170 &prim_pooling_fwd, primAttr, algorithm, lt_user_input, 344 dnnAlgorithm_t algorithm = dnnAlgorithmPoolingMax; local 349 &prim_pooling_fwd, primAttr, algorithm, lt_input_user, 356 &prim_pooling_bwd, primAttr, algorithm, lt_input_user, 583 algorithm::pooling_max, pooling_prop_kind); 735 strides, padding_left, padding_right, algorithm::pooling_max, [all...] |
/cts/libs/testserver/src/android/webkit/cts/ |
TestWebServer.java | 540 String algorithm = KeyManagerFactory.getDefaultAlgorithm(); local 541 KeyManagerFactory keyManagerFactory = KeyManagerFactory.getInstance(algorithm);
|
CtsTestServer.java | 911 String algorithm = KeyManagerFactory.getDefaultAlgorithm(); local [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/keystore/bc/ |
BcKeyStoreSpi.java | 421 String algorithm = dIn.readUTF(); local 437 return new SecretKeySpec(enc, algorithm); 453 return helper.createSecretKeyFactory(algorithm).generateSecret(spec); 465 String algorithm, 475 SecretKeyFactory keyFact = helper.createSecretKeyFactory(algorithm); 478 Cipher cipher = helper.createCipher(algorithm);
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/keystore/bc/ |
BcKeyStoreSpi.java | 425 String algorithm = dIn.readUTF(); local 441 return new SecretKeySpec(enc, algorithm); 457 return helper.createSecretKeyFactory(algorithm).generateSecret(spec); 469 String algorithm, 479 SecretKeyFactory keyFact = helper.createSecretKeyFactory(algorithm); 482 Cipher cipher = helper.createCipher(algorithm);
|
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/java/security/ |
KeyPairGeneratorTest.java | 221 String algorithm = service.getAlgorithm(); local 224 if ("DH".equals(algorithm) || "DiffieHellman".equalsIgnoreCase(algorithm)) { 230 KeyPairGenerator kpg1 = KeyPairGenerator.getInstance(algorithm); 231 assertEquals(algorithm, kpg1.getAlgorithm()); 238 KeyPairGenerator kpg2 = KeyPairGenerator.getInstance(algorithm, provider); 239 assertEquals(algorithm, kpg2.getAlgorithm()); 247 KeyPairGenerator kpg3 = KeyPairGenerator.getInstance(algorithm, 249 assertEquals(algorithm, kpg3.getAlgorithm()); 256 throw new Exception("Problem testing KeyPairGenerator." + algorithm 311 String algorithm = kpg.getAlgorithm(); local [all...] |
SignatureTest.java | 128 String algorithm = service.getAlgorithm(); local 130 KeyPair kp = keyPair(algorithm, provider.getName()); 132 Signature sig1 = Signature.getInstance(algorithm); 133 assertEquals(algorithm, sig1.getAlgorithm()); 137 Signature sig2 = Signature.getInstance(algorithm, provider); 138 assertEquals(algorithm, sig2.getAlgorithm()); 143 Signature sig3 = Signature.getInstance(algorithm, provider.getName()); 144 assertEquals(algorithm, sig3.getAlgorithm()); 148 throw new Exception("Problem testing Signature." + algorithm 175 throw new Exception("Unknown KeyPair algorithm for Signature algorithm [all...] |
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/java/security/ |
KeyPairGeneratorTest.java | 225 String algorithm = service.getAlgorithm(); local 228 if ("DH".equals(algorithm) || "DiffieHellman".equalsIgnoreCase(algorithm)) { 234 KeyPairGenerator kpg1 = KeyPairGenerator.getInstance(algorithm); 235 assertEquals(algorithm, kpg1.getAlgorithm()); 242 KeyPairGenerator kpg2 = KeyPairGenerator.getInstance(algorithm, provider); 243 assertEquals(algorithm, kpg2.getAlgorithm()); 251 KeyPairGenerator kpg3 = KeyPairGenerator.getInstance(algorithm, 253 assertEquals(algorithm, kpg3.getAlgorithm()); 260 throw new Exception("Problem testing KeyPairGenerator." + algorithm 315 String algorithm = kpg.getAlgorithm(); local [all...] |
SignatureTest.java | 132 String algorithm = service.getAlgorithm(); local 134 KeyPair kp = keyPair(algorithm, provider.getName()); 136 Signature sig1 = Signature.getInstance(algorithm); 137 assertEquals(algorithm, sig1.getAlgorithm()); 141 Signature sig2 = Signature.getInstance(algorithm, provider); 142 assertEquals(algorithm, sig2.getAlgorithm()); 147 Signature sig3 = Signature.getInstance(algorithm, provider.getName()); 148 assertEquals(algorithm, sig3.getAlgorithm()); 152 throw new Exception("Problem testing Signature." + algorithm 179 throw new Exception("Unknown KeyPair algorithm for Signature algorithm [all...] |
/external/nos/host/android/hals/keymaster/ |
KeymasterDevice.cpp | 36 #include <algorithm> 152 using ::android::hardware::keymaster::V4_0::Algorithm; 825 if (param.tag != Tag::ALGORITHM) { 835 if (param.f.algorithm == Algorithm::RSA) { 863 if (param.f.algorithm == Algorithm::RSA) { 1020 Algorithm algorithm; local 1115 Algorithm algorithm; local [all...] |
/external/tensorflow/tensorflow/compiler/xla/service/ |
heap_simulator_test.cc | 227 // HeapCallRecorder is a dummy heap algorithm that simply records its calls. 255 // made to the underlying heap algorithm. Tests compare the actual call 273 auto algorithm = absl::make_unique<DecreasingSizeRunsHeap>( local 276 HeapSimulator::Run(std::move(algorithm), *module_->entry_computation(), 311 auto algorithm = absl::make_unique<DecreasingSizeRunsHeap>( local 313 result_ = HeapSimulator::Run(std::move(algorithm), *module_, schedule, [all...] |
/frameworks/av/drm/libmediadrm/ |
IDrm.cpp | 579 String8 const &algorithm) { 584 data.writeString8(algorithm); 593 String8 const &algorithm) { 598 data.writeString8(algorithm); 692 String8 const &algorithm, 700 data.writeString8(algorithm); 1144 String8 algorithm = data.readString8(); local 1154 String8 algorithm = data.readString8(); local 1220 String8 algorithm = data.readString8(); local [all...] |
/cts/tests/security/src/android/keystore/cts/ |
AuthorizationList.java | 47 // Algorithm values. 170 private Integer algorithm; field in class:AuthorizationList 226 algorithm = Asn1Utils.getIntegerFromAsn1(value); 334 public static String algorithmToString(int algorithm) { 335 switch (algorithm) { 423 return algorithm; 622 if (algorithm != null) { 623 s.append("\nAlgorithm: ").append(algorithmToString(algorithm));
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/keystore/pkcs12/ |
PKCS12KeyStoreSpi.java | 618 ASN1ObjectIdentifier algorithm = algId.getAlgorithm(); local 621 if (algorithm.on(PKCSObjectIdentifiers.pkcs_12PbeIds)) 628 Cipher cipher = helper.createCipher(algorithm.getId()); 634 // we pass "" as the key algorithm type as it is unknown at this point 637 else if (algorithm.equals(PKCSObjectIdentifiers.id_PBES2)) 642 // we pass "" as the key algorithm type as it is unknown at this point 651 throw new IOException("exception unwrapping private key - cannot recognise: " + algorithm); 655 String algorithm, 666 SecretKeyFactory keyFact = helper.createSecretKeyFactory(algorithm); 671 Cipher cipher = helper.createCipher(algorithm); 693 ASN1ObjectIdentifier algorithm = algId.getAlgorithm(); local [all...] |
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/keystore/pkcs12/ |
PKCS12KeyStoreSpi.java | 622 ASN1ObjectIdentifier algorithm = algId.getAlgorithm(); local 625 if (algorithm.on(PKCSObjectIdentifiers.pkcs_12PbeIds)) 632 Cipher cipher = helper.createCipher(algorithm.getId()); 638 // we pass "" as the key algorithm type as it is unknown at this point 641 else if (algorithm.equals(PKCSObjectIdentifiers.id_PBES2)) 646 // we pass "" as the key algorithm type as it is unknown at this point 655 throw new IOException("exception unwrapping private key - cannot recognise: " + algorithm); 659 String algorithm, 670 SecretKeyFactory keyFact = helper.createSecretKeyFactory(algorithm); 675 Cipher cipher = helper.createCipher(algorithm); 697 ASN1ObjectIdentifier algorithm = algId.getAlgorithm(); local [all...] |
/external/tensorflow/tensorflow/stream_executor/ |
dnn.h | 766 // algorithm: returns the exact algorithm that was used. 775 AlgorithmDesc algorithm() const { return *algorithm_; } function in class:stream_executor::dnn::ProfileResult 795 // algorithm: the primary algorithm that should be used. 796 // algorithm_no_scratch: a secondary algorithm that should be used, if the 801 explicit AlgorithmConfig(AlgorithmDesc algorithm) : algorithm_(algorithm) {} 802 AlgorithmConfig(AlgorithmDesc algorithm, AlgorithmDesc algorithm_no_scratch) 803 : algorithm_(algorithm), algorithm_no_scratch_(algorithm_no_scratch) { 804 absl::optional<AlgorithmDesc> algorithm() const { return algorithm_; } function in class:stream_executor::dnn::AlgorithmConfig [all...] |