| /external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/ |
| D | DefaultSignatureAlgorithmIdentifierFinder.java | 33 private static Map algorithms = new HashMap(); field in DefaultSignatureAlgorithmIdentifierFinder 56 algorithms.put("MD5WITHRSAENCRYPTION", PKCSObjectIdentifiers.md5WithRSAEncryption); 57 algorithms.put("MD5WITHRSA", PKCSObjectIdentifiers.md5WithRSAEncryption); 58 algorithms.put("SHA1WITHRSAENCRYPTION", PKCSObjectIdentifiers.sha1WithRSAEncryption); 59 algorithms.put("SHA1WITHRSA", PKCSObjectIdentifiers.sha1WithRSAEncryption); 60 algorithms.put("SHA224WITHRSAENCRYPTION", PKCSObjectIdentifiers.sha224WithRSAEncryption); 61 algorithms.put("SHA224WITHRSA", PKCSObjectIdentifiers.sha224WithRSAEncryption); 62 algorithms.put("SHA256WITHRSAENCRYPTION", PKCSObjectIdentifiers.sha256WithRSAEncryption); 63 algorithms.put("SHA256WITHRSA", PKCSObjectIdentifiers.sha256WithRSAEncryption); 64 algorithms.put("SHA384WITHRSAENCRYPTION", PKCSObjectIdentifiers.sha384WithRSAEncryption); [all …]
|
| /external/bouncycastle/repackaged_platform/bcpkix/src/main/java/com/android/internal/org/bouncycastle/operator/ |
| D | DefaultSignatureAlgorithmIdentifierFinder.java | 37 private static Map algorithms = new HashMap(); field in DefaultSignatureAlgorithmIdentifierFinder 60 algorithms.put("MD5WITHRSAENCRYPTION", PKCSObjectIdentifiers.md5WithRSAEncryption); 61 algorithms.put("MD5WITHRSA", PKCSObjectIdentifiers.md5WithRSAEncryption); 62 algorithms.put("SHA1WITHRSAENCRYPTION", PKCSObjectIdentifiers.sha1WithRSAEncryption); 63 algorithms.put("SHA1WITHRSA", PKCSObjectIdentifiers.sha1WithRSAEncryption); 64 algorithms.put("SHA224WITHRSAENCRYPTION", PKCSObjectIdentifiers.sha224WithRSAEncryption); 65 algorithms.put("SHA224WITHRSA", PKCSObjectIdentifiers.sha224WithRSAEncryption); 66 algorithms.put("SHA256WITHRSAENCRYPTION", PKCSObjectIdentifiers.sha256WithRSAEncryption); 67 algorithms.put("SHA256WITHRSA", PKCSObjectIdentifiers.sha256WithRSAEncryption); 68 algorithms.put("SHA384WITHRSAENCRYPTION", PKCSObjectIdentifiers.sha384WithRSAEncryption); [all …]
|
| /external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/x509/ |
| D | X509Util.java | 44 private static Hashtable algorithms = new Hashtable(); field in X509Util 54 algorithms.put("MD5WITHRSAENCRYPTION", PKCSObjectIdentifiers.md5WithRSAEncryption); 55 algorithms.put("MD5WITHRSA", PKCSObjectIdentifiers.md5WithRSAEncryption); 56 algorithms.put("SHA1WITHRSAENCRYPTION", PKCSObjectIdentifiers.sha1WithRSAEncryption); 57 algorithms.put("SHA1WITHRSA", PKCSObjectIdentifiers.sha1WithRSAEncryption); 58 algorithms.put("SHA224WITHRSAENCRYPTION", PKCSObjectIdentifiers.sha224WithRSAEncryption); 59 algorithms.put("SHA224WITHRSA", PKCSObjectIdentifiers.sha224WithRSAEncryption); 60 algorithms.put("SHA256WITHRSAENCRYPTION", PKCSObjectIdentifiers.sha256WithRSAEncryption); 61 algorithms.put("SHA256WITHRSA", PKCSObjectIdentifiers.sha256WithRSAEncryption); 62 algorithms.put("SHA384WITHRSAENCRYPTION", PKCSObjectIdentifiers.sha384WithRSAEncryption); [all …]
|
| /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/ |
| D | X509Util.java | 43 private static Hashtable algorithms = new Hashtable(); field in X509Util 53 algorithms.put("MD5WITHRSAENCRYPTION", PKCSObjectIdentifiers.md5WithRSAEncryption); 54 algorithms.put("MD5WITHRSA", PKCSObjectIdentifiers.md5WithRSAEncryption); 55 algorithms.put("SHA1WITHRSAENCRYPTION", PKCSObjectIdentifiers.sha1WithRSAEncryption); 56 algorithms.put("SHA1WITHRSA", PKCSObjectIdentifiers.sha1WithRSAEncryption); 57 algorithms.put("SHA224WITHRSAENCRYPTION", PKCSObjectIdentifiers.sha224WithRSAEncryption); 58 algorithms.put("SHA224WITHRSA", PKCSObjectIdentifiers.sha224WithRSAEncryption); 59 algorithms.put("SHA256WITHRSAENCRYPTION", PKCSObjectIdentifiers.sha256WithRSAEncryption); 60 algorithms.put("SHA256WITHRSA", PKCSObjectIdentifiers.sha256WithRSAEncryption); 61 algorithms.put("SHA384WITHRSAENCRYPTION", PKCSObjectIdentifiers.sha384WithRSAEncryption); [all …]
|
| /external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/x509/ |
| D | X509Util.java | 44 private static Hashtable algorithms = new Hashtable(); field in X509Util 54 algorithms.put("MD5WITHRSAENCRYPTION", PKCSObjectIdentifiers.md5WithRSAEncryption); 55 algorithms.put("MD5WITHRSA", PKCSObjectIdentifiers.md5WithRSAEncryption); 56 algorithms.put("SHA1WITHRSAENCRYPTION", PKCSObjectIdentifiers.sha1WithRSAEncryption); 57 algorithms.put("SHA1WITHRSA", PKCSObjectIdentifiers.sha1WithRSAEncryption); 58 algorithms.put("SHA224WITHRSAENCRYPTION", PKCSObjectIdentifiers.sha224WithRSAEncryption); 59 algorithms.put("SHA224WITHRSA", PKCSObjectIdentifiers.sha224WithRSAEncryption); 60 algorithms.put("SHA256WITHRSAENCRYPTION", PKCSObjectIdentifiers.sha256WithRSAEncryption); 61 algorithms.put("SHA256WITHRSA", PKCSObjectIdentifiers.sha256WithRSAEncryption); 62 algorithms.put("SHA384WITHRSAENCRYPTION", PKCSObjectIdentifiers.sha384WithRSAEncryption); [all …]
|
| /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/ |
| D | PKCS10CertificationRequest.java | 78 private static Hashtable algorithms = new Hashtable(); field in PKCS10CertificationRequest 90 algorithms.put("MD5WITHRSAENCRYPTION", new ASN1ObjectIdentifier("1.2.840.113549.1.1.4")); 91 algorithms.put("MD5WITHRSA", new ASN1ObjectIdentifier("1.2.840.113549.1.1.4")); 92 algorithms.put("RSAWITHMD5", new ASN1ObjectIdentifier("1.2.840.113549.1.1.4")); 93 algorithms.put("SHA1WITHRSAENCRYPTION", new ASN1ObjectIdentifier("1.2.840.113549.1.1.5")); 94 algorithms.put("SHA1WITHRSA", new ASN1ObjectIdentifier("1.2.840.113549.1.1.5")); 95 algorithms.put("SHA224WITHRSAENCRYPTION", PKCSObjectIdentifiers.sha224WithRSAEncryption); 96 algorithms.put("SHA224WITHRSA", PKCSObjectIdentifiers.sha224WithRSAEncryption); 97 algorithms.put("SHA256WITHRSAENCRYPTION", PKCSObjectIdentifiers.sha256WithRSAEncryption); 98 algorithms.put("SHA256WITHRSA", PKCSObjectIdentifiers.sha256WithRSAEncryption); [all …]
|
| /external/python/cryptography/tests/hazmat/primitives/ |
| D | test_3des.py | 17 from cryptography.hazmat.primitives.ciphers import algorithms, modes 25 algorithms.TripleDES(b"\x00" * 8), modes.CBC(b"\x00" * 8) 41 lambda keys, **kwargs: algorithms.TripleDES(binascii.unhexlify(keys)), 49 lambda key1, key2, key3, **kwargs: algorithms.TripleDES( 58 algorithms.TripleDES(b"\x00" * 8), modes.OFB(b"\x00" * 8) 74 lambda keys, **kwargs: algorithms.TripleDES(binascii.unhexlify(keys)), 82 lambda key1, key2, key3, **kwargs: algorithms.TripleDES( 91 algorithms.TripleDES(b"\x00" * 8), modes.CFB(b"\x00" * 8) 107 lambda keys, **kwargs: algorithms.TripleDES(binascii.unhexlify(keys)), 115 lambda key1, key2, key3, **kwargs: algorithms.TripleDES( [all …]
|
| D | test_aes_gcm.py | 13 from cryptography.hazmat.primitives.ciphers import algorithms, base, modes 21 algorithms.AES(b"\x00" * 16), modes.GCM(b"\x00" * 12) 38 algorithms.AES, 49 algorithms.AES(key), modes.GCM(iv), backend=backend 64 algorithms.AES(key), modes.GCM(iv), backend=backend 73 algorithms.AES(b"\x00" * 16), 85 algorithms.AES(b"\x00" * 16), 97 algorithms.AES(b"\x00" * 16), 110 algorithms.AES(b"\x00" * 16), 125 algorithms.AES(key), modes.GCM(iv), backend=backend [all …]
|
| D | test_aes.py | 13 from cryptography.hazmat.primitives.ciphers import algorithms, base, modes 22 algorithms.AES(b"\x00" * 32), modes.XTS(b"\x00" * 16) 49 cipher = base.Cipher(algorithms.AES(key), modes.XTS(tweak), backend) 60 algorithms.AES(b"\x00" * 16), modes.CBC(b"\x00" * 16) 86 lambda key, **kwargs: algorithms.AES(binascii.unhexlify(key)), 93 algorithms.AES(b"\x00" * 16), modes.ECB() 119 lambda key, **kwargs: algorithms.AES(binascii.unhexlify(key)), 126 algorithms.AES(b"\x00" * 16), modes.OFB(b"\x00" * 16) 152 lambda key, **kwargs: algorithms.AES(binascii.unhexlify(key)), 159 algorithms.AES(b"\x00" * 16), modes.CFB(b"\x00" * 16) [all …]
|
| D | test_block.py | 15 algorithms, 32 algorithms.AES(binascii.unhexlify(b"0" * 32)), 40 algorithms.AES(binascii.unhexlify(b"0" * 32)), 56 algorithms.AES(binascii.unhexlify(b"0" * 32)), 77 algorithms.AES(binascii.unhexlify(b"0" * 32)), 90 algorithms.AES(binascii.unhexlify(b"0" * 32)), modes.ECB(), backend 117 algorithms.AES(b"\x00" * 16), modes.CBC(b"\x00" * 16), backend 132 algorithms.AES(b"\x00" * 16), modes.GCM(b"\x00" * 12) 139 algorithms.AES, 143 algorithms.AES, [all …]
|
| D | test_camellia.py | 13 from cryptography.hazmat.primitives.ciphers import algorithms, modes 21 algorithms.Camellia(b"\x00" * 16), modes.ECB() 35 lambda key, **kwargs: algorithms.Camellia(binascii.unhexlify(key)), 42 algorithms.Camellia(b"\x00" * 16), modes.CBC(b"\x00" * 16) 52 lambda key, **kwargs: algorithms.Camellia(binascii.unhexlify(key)), 59 algorithms.Camellia(b"\x00" * 16), modes.OFB(b"\x00" * 16) 69 lambda key, **kwargs: algorithms.Camellia(binascii.unhexlify(key)), 76 algorithms.Camellia(b"\x00" * 16), modes.CFB(b"\x00" * 16) 86 lambda key, **kwargs: algorithms.Camellia(binascii.unhexlify(key)),
|
| D | test_chacha20.py | 14 from cryptography.hazmat.primitives.ciphers import Cipher, algorithms 22 algorithms.ChaCha20(b"\x00" * 32, b"0" * 16), None 42 algorithms.ChaCha20(key, ibc + nonce), None, backend 50 cipher = Cipher(algorithms.ChaCha20(key, nonce), None, backend) 58 chacha = algorithms.ChaCha20(b"0" * 32, b"0" * 16) 63 algorithms.ChaCha20(b"wrongsize", b"0" * 16) 67 algorithms.ChaCha20(b"0" * 32, b"0") 70 algorithms.ChaCha20(b"0" * 32, object()) 74 algorithms.ChaCha20(u"0" * 32, b"0" * 16)
|
| D | test_seed.py | 13 from cryptography.hazmat.primitives.ciphers import algorithms, modes 21 algorithms.SEED(b"\x00" * 16), modes.ECB() 31 lambda key, **kwargs: algorithms.SEED(binascii.unhexlify((key))), 38 algorithms.SEED(b"\x00" * 16), modes.CBC(b"\x00" * 16) 48 lambda key, **kwargs: algorithms.SEED(binascii.unhexlify((key))), 55 algorithms.SEED(b"\x00" * 16), modes.OFB(b"\x00" * 16) 65 lambda key, **kwargs: algorithms.SEED(binascii.unhexlify((key))), 72 algorithms.SEED(b"\x00" * 16), modes.CFB(b"\x00" * 16) 82 lambda key, **kwargs: algorithms.SEED(binascii.unhexlify((key))),
|
| D | test_idea.py | 13 from cryptography.hazmat.primitives.ciphers import algorithms, modes 21 algorithms.IDEA(b"\x00" * 16), modes.ECB() 31 lambda key, **kwargs: algorithms.IDEA(binascii.unhexlify((key))), 38 algorithms.IDEA(b"\x00" * 16), modes.CBC(b"\x00" * 8) 48 lambda key, **kwargs: algorithms.IDEA(binascii.unhexlify((key))), 55 algorithms.IDEA(b"\x00" * 16), modes.OFB(b"\x00" * 8) 65 lambda key, **kwargs: algorithms.IDEA(binascii.unhexlify((key))), 72 algorithms.IDEA(b"\x00" * 16), modes.CFB(b"\x00" * 8) 82 lambda key, **kwargs: algorithms.IDEA(binascii.unhexlify((key))),
|
| D | test_blowfish.py | 13 from cryptography.hazmat.primitives.ciphers import algorithms, modes 21 algorithms.Blowfish(b"\x00" * 56), modes.ECB() 31 lambda key, **kwargs: algorithms.Blowfish(binascii.unhexlify(key)), 38 algorithms.Blowfish(b"\x00" * 56), modes.CBC(b"\x00" * 8) 48 lambda key, **kwargs: algorithms.Blowfish(binascii.unhexlify(key)), 55 algorithms.Blowfish(b"\x00" * 56), modes.OFB(b"\x00" * 8) 65 lambda key, **kwargs: algorithms.Blowfish(binascii.unhexlify(key)), 72 algorithms.Blowfish(b"\x00" * 56), modes.CFB(b"\x00" * 8) 82 lambda key, **kwargs: algorithms.Blowfish(binascii.unhexlify(key)),
|
| D | test_cast5.py | 13 from cryptography.hazmat.primitives.ciphers import algorithms, modes 21 algorithms.CAST5(b"\x00" * 16), modes.ECB() 31 lambda key, **kwargs: algorithms.CAST5(binascii.unhexlify((key))), 38 algorithms.CAST5(b"\x00" * 16), modes.CBC(b"\x00" * 8) 48 lambda key, **kwargs: algorithms.CAST5(binascii.unhexlify((key))), 55 algorithms.CAST5(b"\x00" * 16), modes.OFB(b"\x00" * 8) 65 lambda key, **kwargs: algorithms.CAST5(binascii.unhexlify((key))), 72 algorithms.CAST5(b"\x00" * 16), modes.CFB(b"\x00" * 8) 82 lambda key, **kwargs: algorithms.CAST5(binascii.unhexlify((key))),
|
| D | test_keywrap.py | 14 from cryptography.hazmat.primitives.ciphers import algorithms, modes 32 algorithms.AES(b"\x00" * 16), modes.ECB() 53 algorithms.AES(b"\x00" * 16), modes.ECB() 72 algorithms.AES(b"\x00" * 16), modes.ECB() 84 algorithms.AES(b"\x00" * 16), modes.ECB() 95 algorithms.AES(b"\x00" * 16), modes.ECB() 121 algorithms.AES(b"\x00" * 16), modes.ECB()
|
| /external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jce/ |
| D | PKCS10CertificationRequest.java | 80 private static Hashtable algorithms = new Hashtable(); field in PKCS10CertificationRequest 92 algorithms.put("MD5WITHRSAENCRYPTION", new ASN1ObjectIdentifier("1.2.840.113549.1.1.4")); 93 algorithms.put("MD5WITHRSA", new ASN1ObjectIdentifier("1.2.840.113549.1.1.4")); 94 algorithms.put("RSAWITHMD5", new ASN1ObjectIdentifier("1.2.840.113549.1.1.4")); 95 algorithms.put("SHA1WITHRSAENCRYPTION", new ASN1ObjectIdentifier("1.2.840.113549.1.1.5")); 96 algorithms.put("SHA1WITHRSA", new ASN1ObjectIdentifier("1.2.840.113549.1.1.5")); 97 algorithms.put("SHA224WITHRSAENCRYPTION", PKCSObjectIdentifiers.sha224WithRSAEncryption); 98 algorithms.put("SHA224WITHRSA", PKCSObjectIdentifiers.sha224WithRSAEncryption); 99 algorithms.put("SHA256WITHRSAENCRYPTION", PKCSObjectIdentifiers.sha256WithRSAEncryption); 100 algorithms.put("SHA256WITHRSA", PKCSObjectIdentifiers.sha256WithRSAEncryption); [all …]
|
| /external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jce/ |
| D | PKCS10CertificationRequest.java | 80 private static Hashtable algorithms = new Hashtable(); field in PKCS10CertificationRequest 92 algorithms.put("MD5WITHRSAENCRYPTION", new ASN1ObjectIdentifier("1.2.840.113549.1.1.4")); 93 algorithms.put("MD5WITHRSA", new ASN1ObjectIdentifier("1.2.840.113549.1.1.4")); 94 algorithms.put("RSAWITHMD5", new ASN1ObjectIdentifier("1.2.840.113549.1.1.4")); 95 algorithms.put("SHA1WITHRSAENCRYPTION", new ASN1ObjectIdentifier("1.2.840.113549.1.1.5")); 96 algorithms.put("SHA1WITHRSA", new ASN1ObjectIdentifier("1.2.840.113549.1.1.5")); 97 algorithms.put("SHA224WITHRSAENCRYPTION", PKCSObjectIdentifiers.sha224WithRSAEncryption); 98 algorithms.put("SHA224WITHRSA", PKCSObjectIdentifiers.sha224WithRSAEncryption); 99 algorithms.put("SHA256WITHRSAENCRYPTION", PKCSObjectIdentifiers.sha256WithRSAEncryption); 100 algorithms.put("SHA256WITHRSA", PKCSObjectIdentifiers.sha256WithRSAEncryption); [all …]
|
| /external/cronet/base/ranges/ |
| D | README.md | 4 algorithms that were introduced in C++20. These implementations are added to the 12 algorithms in `base::ranges` have overloads for ranges of elements, which allow 30 applying algorithms to return values is easier: 55 iterator for ranges, the `base::ranges::` algorithms also support projections, 80 `base::ranges::` algorithms, for example `base::ranges::all_of` has the 92 To simplify the implementation of the `base::ranges::` algorithms, they dispatch 93 to the `std::` algorithms found in C++14. This leads to the following list of 99 Due to the lack of support for concepts in the language, the algorithms in 100 `base::ranges` do not have the constraints that are present on the algorithms in 102 algorithms. In the future this might be addressed by adding corresponding [all …]
|
| /external/cronet/buildtools/third_party/libc++/trunk/benchmarks/ |
| D | CMakeLists.txt | 160 algorithms.partition_point.bench.cpp 161 algorithms/equal.bench.cpp 162 algorithms/lower_bound.bench.cpp 163 algorithms/make_heap.bench.cpp 164 algorithms/make_heap_then_sort_heap.bench.cpp 165 algorithms/min.bench.cpp 166 algorithms/min_max_element.bench.cpp 167 algorithms/pop_heap.bench.cpp 168 algorithms/push_heap.bench.cpp 169 algorithms/ranges_make_heap.bench.cpp [all …]
|
| /external/conscrypt/repackaged/testing/src/main/java/tests/util/ |
| D | ServiceTester.java | 56 private final Set<String> algorithms = new LinkedHashSet<>(); field in ServiceTester 114 this.algorithms.add(algorithm); in withAlgorithm() 123 public ServiceTester withAlgorithms(Collection<String> algorithms) { in withAlgorithms() argument 124 this.algorithms.addAll(algorithms); in withAlgorithms() 162 if (algorithms.isEmpty()) { in run() 170 algorithms.removeAll(skipAlgorithms); in run() 171 for (String algorithm : algorithms) { in run()
|
| /external/conscrypt/testing/src/main/java/tests/util/ |
| D | ServiceTester.java | 51 private final Set<String> algorithms = new LinkedHashSet<>(); field in ServiceTester 109 this.algorithms.add(algorithm); in withAlgorithm() 118 public ServiceTester withAlgorithms(Collection<String> algorithms) { in withAlgorithms() argument 119 this.algorithms.addAll(algorithms); in withAlgorithms() 157 if (algorithms.isEmpty()) { in run() 166 algorithms.removeAll(skipAlgorithms); in run() 167 for (String algorithm : algorithms) { in run()
|
| /external/scapy/scapy/layers/tls/crypto/ |
| D | cipher_block.py | 18 from cryptography.hazmat.primitives.ciphers import (Cipher, algorithms, modes, 111 pc_cls = algorithms.AES 121 pc_cls = algorithms.Camellia 134 pc_cls = algorithms.TripleDES 152 pc_cls = algorithms.TripleDES 158 pc_cls = algorithms.IDEA 164 pc_cls = algorithms.SEED 194 self.key = algorithms._verify_key_size(self, key)
|
| /external/python/cpython2/Doc/library/ |
| D | hashlib.rst | 5 :synopsis: Secure hash and message digest algorithms. 21 message digest algorithms. Included are the FIPS secure hash algorithms SHA1, 24 digest are interchangeable. Older algorithms were called message digests. The 34 Some algorithms have known hash collision weaknesses, refer to the "See 46 Constructors for hash algorithms that are always present in this module are 48 :func:`sha512`. Additional algorithms may also be available depending upon the 72 hashes as well as any other algorithms that your OpenSSL library may offer. The 84 .. data:: hashlib.algorithms 86 A tuple providing the names of the hash algorithms guaranteed to be 93 A set containing the names of the hash algorithms guaranteed to be supported [all …]
|