/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/ |
DefaultSignatureAlgorithmIdentifierFinder.java | 30 private static Map algorithms = new HashMap(); field in class:DefaultSignatureAlgorithmIdentifierFinder 48 // algorithms.put("MD2WITHRSAENCRYPTION", PKCSObjectIdentifiers.md2WithRSAEncryption); 49 // algorithms.put("MD2WITHRSA", PKCSObjectIdentifiers.md2WithRSAEncryption); 51 algorithms.put("MD5WITHRSAENCRYPTION", PKCSObjectIdentifiers.md5WithRSAEncryption); 52 algorithms.put("MD5WITHRSA", PKCSObjectIdentifiers.md5WithRSAEncryption); 53 algorithms.put("SHA1WITHRSAENCRYPTION", PKCSObjectIdentifiers.sha1WithRSAEncryption); 54 algorithms.put("SHA1WITHRSA", PKCSObjectIdentifiers.sha1WithRSAEncryption); 55 algorithms.put("SHA224WITHRSAENCRYPTION", PKCSObjectIdentifiers.sha224WithRSAEncryption); 56 algorithms.put("SHA224WITHRSA", PKCSObjectIdentifiers.sha224WithRSAEncryption); 57 algorithms.put("SHA256WITHRSAENCRYPTION", PKCSObjectIdentifiers.sha256WithRSAEncryption) [all...] |
/frameworks/base/core/java/android/security/net/config/ |
PinSet.java | 40 Set<String> algorithms = new ArraySet<String>(); local 42 algorithms.add(pin.digestAlgorithm); 44 return algorithms;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/ |
X509Util.java | 45 private static Hashtable algorithms = new Hashtable(); field in class:X509Util 52 // algorithms.put("MD2WITHRSAENCRYPTION", PKCSObjectIdentifiers.md2WithRSAEncryption); 53 // algorithms.put("MD2WITHRSA", PKCSObjectIdentifiers.md2WithRSAEncryption); 55 algorithms.put("MD5WITHRSAENCRYPTION", PKCSObjectIdentifiers.md5WithRSAEncryption); 56 algorithms.put("MD5WITHRSA", PKCSObjectIdentifiers.md5WithRSAEncryption); 57 algorithms.put("SHA1WITHRSAENCRYPTION", PKCSObjectIdentifiers.sha1WithRSAEncryption); 58 algorithms.put("SHA1WITHRSA", PKCSObjectIdentifiers.sha1WithRSAEncryption); 59 algorithms.put("SHA224WITHRSAENCRYPTION", PKCSObjectIdentifiers.sha224WithRSAEncryption); 60 algorithms.put("SHA224WITHRSA", PKCSObjectIdentifiers.sha224WithRSAEncryption); 61 algorithms.put("SHA256WITHRSAENCRYPTION", PKCSObjectIdentifiers.sha256WithRSAEncryption) [all...] |
/external/conscrypt/common/src/main/java/org/conscrypt/ |
OpenSSLContextImpl.java | 46 private final String[] algorithms; field in class:OpenSSLContextImpl 61 protected OpenSSLContextImpl(String[] algorithms) { 62 this.algorithms = algorithms; 72 this.algorithms = null; 83 serverSessionContext, algorithms); 90 * implementations of the needed algorithms. 101 serverSessionContext, algorithms);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/ |
PKCS10CertificationRequest.java | 80 private static Hashtable algorithms = new Hashtable(); field in class:PKCS10CertificationRequest 90 // algorithms.put("MD2WITHRSAENCRYPTION", new ASN1ObjectIdentifier("1.2.840.113549.1.1.2")); 91 // algorithms.put("MD2WITHRSA", new ASN1ObjectIdentifier("1.2.840.113549.1.1.2")); 93 algorithms.put("MD5WITHRSAENCRYPTION", new ASN1ObjectIdentifier("1.2.840.113549.1.1.4")); 94 algorithms.put("MD5WITHRSA", new ASN1ObjectIdentifier("1.2.840.113549.1.1.4")); 95 algorithms.put("RSAWITHMD5", new ASN1ObjectIdentifier("1.2.840.113549.1.1.4")); 96 algorithms.put("SHA1WITHRSAENCRYPTION", new ASN1ObjectIdentifier("1.2.840.113549.1.1.5")); 97 algorithms.put("SHA1WITHRSA", new ASN1ObjectIdentifier("1.2.840.113549.1.1.5")); 98 algorithms.put("SHA224WITHRSAENCRYPTION", PKCSObjectIdentifiers.sha224WithRSAEncryption); 99 algorithms.put("SHA224WITHRSA", PKCSObjectIdentifiers.sha224WithRSAEncryption) [all...] |
/libcore/ojluni/src/main/java/sun/security/util/ |
AbstractAlgorithmConstraints.java | 70 // map the disabled algorithms 77 static boolean checkAlgorithm(String[] algorithms, String algorithm, 84 for (String item : algorithms) {
|
DisabledAlgorithmConstraints.java | 43 * Algorithm constraints for disabled algorithms property 132 * algorithms are allowed, certificate constraints, and the 350 // Get all signature algorithms to check for constraints 351 Set<String> algorithms = local 353 if (algorithms == null || algorithms.isEmpty()) { 358 algorithms.add(cert.getPublicKey().getAlgorithm()); 361 for (String algorithm : algorithms) {
|
/external/tpm2/ |
CryptSelfTest.c | 22 ALGORITHM_VECTOR *toTest // IN: the vector of the algorithms to test 26 // For each of the algorithms that are in the toTestVecor, need to run a 43 // This function is called to start/complete a full self-test. If fullTest is NO, then only the untested algorithms 91 TPML_ALG *toTest, // IN: list of algorithms to be tested 92 TPML_ALG *toDoList // OUT: list of algorithms needing test 104 TPM_ALG_ID alg = toTest->algorithms[i]; 114 // Fill in the toDoList with the algorithms that are still untested 121 toDoList->algorithms[toDoList->count++] = alg; 130 // This function will initialize the data structures for testing all the algorithms. This should not be called 143 // out any algorithms for which there is no test [all...] |
GetCapability.c | 34 in->propertyCount, &out->capabilityData.data.algorithms);
|
/libcore/tools/docs/crypto/ |
format_supported_algorithm_table.py | 48 output.append('<h2 id="SupportedAlgorithms">Supported Algorithms</h2>') 68 algorithms = sort_by_name(category['algorithms']) 70 for algorithm in algorithms: 171 supported = sort_by_name(category['algorithms']) 172 enabled = sort_by_name(find_by_name(categories, basename + '.Enabled')['algorithms']) 208 algorithms = sort_by_name(category['algorithms']) 209 for algorithm in algorithms:
|
/system/tpm/trunks/ |
tpm_state_test.cc | 98 if (data.algorithms.count == kMaxProperties || 99 data.algorithms.count == property_count) { 104 data.algorithms.alg_properties[data.algorithms.count].alg = i; 105 data.algorithms.alg_properties[data.algorithms.count].alg_properties = 107 data.algorithms.count++;
|
/external/boringssl/src/crypto/x509/ |
x_algor.c | 71 ASN1_EX_TEMPLATE_TYPE(ASN1_TFLG_SEQUENCE_OF, 0, algorithms, X509_ALGOR)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
hashlib.py | 18 More algorithms may be available on your platform but the above are
61 algorithms = __always_supported
variable 63 __all__ = __always_supported + ('new', 'algorithms')
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_hashlib.py | 53 algorithms = set()
55 algorithms.add(algorithm.lower())
57 for algorithm in algorithms:
72 # These two algorithms should always be present when this module
106 self.assertEqual(hashlib.algorithms,
|
/external/toybox/toys/lsb/ |
md5sum.c | 256 } algorithms[] = { local 269 for (i = 0; i<ARRAY_LEN(algorithms); i++) 270 if (!strcmp(toys.which->name, algorithms[i].name)) break; 271 hash = algorithms+i;
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
hashlib.py | 18 More algorithms may be available on your platform but the above are 61 algorithms = __always_supported variable 63 __all__ = __always_supported + ('new', 'algorithms')
|
/prebuilts/gdb/linux-x86/lib/python2.7/ |
hashlib.py | 18 More algorithms may be available on your platform but the above are 61 algorithms = __always_supported variable 63 __all__ = __always_supported + ('new', 'algorithms')
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
hashlib.py | 18 More algorithms may be available on your platform but the above are 61 algorithms = __always_supported variable 63 __all__ = __always_supported + ('new', 'algorithms')
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
hashlib.py | 18 More algorithms may be available on your platform but the above are 61 algorithms = __always_supported variable 63 __all__ = __always_supported + ('new', 'algorithms')
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
MessageDigest2Test.java | 66 for (List<String> algorithms : digestAlgs.values()) { 67 for (String algorithm : algorithms) { 337 for (List<String> algorithms : digestAlgs.values()) { 338 for (String algorithm : algorithms) { 436 * Returns the digest algorithms that the given provider supports. 440 fail("No digest algorithms were found"); 452 fail("No digest algorithms were found");
|
SignatureTest.java | 57 String [] algorithms = { "SHA256WITHRSA", "NONEWITHDSA", "SHA384WITHRSA", local 60 for (int i = 0; i < algorithms.length; i ++) { 61 MySignature1 s = new MySignature1(algorithms[i]); 62 assertEquals(algorithms[i],s.getAlgorithm());
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_hashlib.py | 53 algorithms = set() 55 algorithms.add(algorithm.lower()) 57 for algorithm in algorithms: 72 # These two algorithms should always be present when this module 106 self.assertEqual(hashlib.algorithms,
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_hashlib.py | 53 algorithms = set() 55 algorithms.add(algorithm.lower()) 57 for algorithm in algorithms: 72 # These two algorithms should always be present when this module 106 self.assertEqual(hashlib.algorithms,
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_hashlib.py | 53 algorithms = set() 55 algorithms.add(algorithm.lower()) 57 for algorithm in algorithms: 72 # These two algorithms should always be present when this module 106 self.assertEqual(hashlib.algorithms,
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_hashlib.py | 53 algorithms = set() 55 algorithms.add(algorithm.lower()) 57 for algorithm in algorithms: 72 # These two algorithms should always be present when this module 106 self.assertEqual(hashlib.algorithms,
|