/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/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 | 553 X509_ALGOR *alg1, *alg2; local 554 PKCS7_SIGNER_INFO_get0_algs(arg2, NULL, &alg1, &alg2); 555 if (alg1 == NULL || alg1->algorithm == NULL) 557 hnid = OBJ_obj2nid(alg1->algorithm); 570 X509_ALGOR *alg1, *alg2; local 571 CMS_SignerInfo_get0_algs(arg2, NULL, NULL, &alg1, &alg2); 572 if (alg1 == NULL || alg1->algorithm == NULL) 574 hnid = OBJ_obj2nid(alg1->algorithm) [all...] |