/external/apache-harmony/security/src/test/impl/java.injected/java/security/ |
Security_ImplTest.java | 97 Set alg1; local 100 alg1 = Security.getAlgorithms("AAAAAAAAAAAAAAA"); 101 assertTrue("failed for non-existent service", alg1 != null); 102 assertEquals("failed for non-existent service", 0, alg1.size()); 104 alg1 = Security.getAlgorithms("SecureRandom"); 106 assertEquals("different size", alg1.size(), alg2.size()); 107 assertTrue("different content", alg2.containsAll(alg1)); 113 alg1 = Security.getAlgorithms("MyService"); 114 assertEquals("failed for MyService", 1, alg1.size()); 115 assertTrue("failed for MyService", alg1.contains("MyAlgorithm")) [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/dsa/ |
dsa_ameth.c | 599 X509_ALGOR *alg1, *alg2; local 600 PKCS7_SIGNER_INFO_get0_algs(arg2, NULL, &alg1, &alg2); 601 if (alg1 == NULL || alg1->algorithm == NULL) 603 hnid = OBJ_obj2nid(alg1->algorithm); 616 X509_ALGOR *alg1, *alg2; local 617 CMS_SignerInfo_get0_algs(arg2, NULL, NULL, &alg1, &alg2); 618 if (alg1 == NULL || alg1->algorithm == NULL) 620 hnid = OBJ_obj2nid(alg1->algorithm) [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/ec/ |
ec_ameth.c | 585 X509_ALGOR *alg1, *alg2; local 586 PKCS7_SIGNER_INFO_get0_algs(arg2, NULL, &alg1, &alg2); 587 if (alg1 == NULL || alg1->algorithm == NULL) 589 hnid = OBJ_obj2nid(alg1->algorithm); 602 X509_ALGOR *alg1, *alg2; local 604 &alg1, &alg2); 605 if (alg1 == NULL || alg1->algorithm == NULL) 607 hnid = OBJ_obj2nid(alg1->algorithm) [all...] |
/external/openssl/crypto/dsa/ |
dsa_ameth.c | 599 X509_ALGOR *alg1, *alg2; local 600 PKCS7_SIGNER_INFO_get0_algs(arg2, NULL, &alg1, &alg2); 601 if (alg1 == NULL || alg1->algorithm == NULL) 603 hnid = OBJ_obj2nid(alg1->algorithm); 616 X509_ALGOR *alg1, *alg2; local 617 CMS_SignerInfo_get0_algs(arg2, NULL, NULL, &alg1, &alg2); 618 if (alg1 == NULL || alg1->algorithm == NULL) 620 hnid = OBJ_obj2nid(alg1->algorithm) [all...] |
/external/openssl/crypto/ec/ |
ec_ameth.c | 585 X509_ALGOR *alg1, *alg2; local 586 PKCS7_SIGNER_INFO_get0_algs(arg2, NULL, &alg1, &alg2); 587 if (alg1 == NULL || alg1->algorithm == NULL) 589 hnid = OBJ_obj2nid(alg1->algorithm); 602 X509_ALGOR *alg1, *alg2; local 604 &alg1, &alg2); 605 if (alg1 == NULL || alg1->algorithm == NULL) 607 hnid = OBJ_obj2nid(alg1->algorithm) [all...] |
/external/apache-harmony/security/src/test/api/java.injected/java/security/ |
ProviderTest.java | 120 p.put("serv1.alg1 KeySize", "222222");
|
/external/chromium_org/third_party/openssl/openssl/crypto/asn1/ |
asn1_locl.h | 123 X509_ALGOR *alg1, X509_ALGOR *alg2,
|
/external/openssl/crypto/asn1/ |
asn1_locl.h | 123 X509_ALGOR *alg1, X509_ALGOR *alg2,
|
/external/chromium_org/content/renderer/webcrypto/ |
webcrypto_impl.cc | 118 bool WebCryptoAlgorithmsConsistent(const blink::WebCryptoAlgorithm& alg1, 120 DCHECK(!alg1.isNull()); 122 if (alg1.id() != alg2.id()) 124 switch (alg1.id()) { 129 webcrypto::GetInnerHashAlgorithm(alg1),
|
/external/chromium_org/third_party/openssl/openssl/crypto/rsa/ |
rsa_ameth.c | 568 X509_ALGOR *alg1, X509_ALGOR *alg2, 643 X509_ALGOR_set0(alg1, OBJ_nid2obj(NID_rsassaPss),
|
/external/openssl/crypto/rsa/ |
rsa_ameth.c | 568 X509_ALGOR *alg1, X509_ALGOR *alg2, 643 X509_ALGOR_set0(alg1, OBJ_nid2obj(NID_rsassaPss),
|