/external/rust/crates/ring/tests/ |
D | ecdsa_tests.rs | 119 let digest_name = test_case.consume_string("Digest"); in signature_ecdsa_verify_asn1_test() localVariable 125 let alg = match (curve_name.as_str(), digest_name.as_str()) { in signature_ecdsa_verify_asn1_test() 131 panic!("Unsupported curve+digest: {}+{}", curve_name, digest_name); in signature_ecdsa_verify_asn1_test() 152 let digest_name = test_case.consume_string("Digest"); in signature_ecdsa_verify_fixed_test() localVariable 159 let alg = match (curve_name.as_str(), digest_name.as_str()) { in signature_ecdsa_verify_fixed_test() 163 panic!("Unsupported curve+digest: {}+{}", curve_name, digest_name); in signature_ecdsa_verify_fixed_test() 223 let digest_name = test_case.consume_string("Digest"); in signature_ecdsa_sign_fixed_sign_and_verify_test() localVariable 233 let (signing_alg, verification_alg) = match (curve_name.as_str(), digest_name.as_str()) in signature_ecdsa_sign_fixed_sign_and_verify_test() 244 panic!("Unsupported curve+digest: {}+{}", curve_name, digest_name); in signature_ecdsa_sign_fixed_sign_and_verify_test() 277 let digest_name = test_case.consume_string("Digest"); in signature_ecdsa_sign_asn1_test() localVariable [all …]
|
D | rsa_tests.rs | 63 let digest_name = test_case.consume_string("Digest"); in test_signature_rsa_pkcs1_sign() localVariable 64 let alg = match digest_name.as_ref() { in test_signature_rsa_pkcs1_sign() 68 _ => panic!("Unsupported digest: {}", digest_name), in test_signature_rsa_pkcs1_sign() 103 let digest_name = test_case.consume_string("Digest"); in test_signature_rsa_pss_sign() localVariable 104 let alg = match digest_name.as_ref() { in test_signature_rsa_pss_sign() 108 _ => panic!("Unsupported digest: {}", digest_name), in test_signature_rsa_pss_sign() 168 let digest_name = test_case.consume_string("Digest"); in test_signature_rsa_pkcs1_verify() localVariable 169 let params: &[_] = match digest_name.as_ref() { in test_signature_rsa_pkcs1_verify() 174 _ => panic!("Unsupported digest: {}", digest_name), in test_signature_rsa_pkcs1_verify() 221 let digest_name = test_case.consume_string("Digest"); in test_signature_rsa_pss_verify() localVariable [all …]
|
/external/rust/crates/ring/src/ec/suite_b/ecdsa/ |
D | digest_scalar.rs | 95 let digest_name = test_case.consume_string("Digest"); in test() localVariable 99 let (ops, digest_alg) = match (curve_name.as_str(), digest_name.as_str()) { in test() 105 panic!("Unsupported curve+digest: {}+{}", curve_name, digest_name); in test()
|
D | signing.rs | 528 let digest_name = test_case.consume_string("Digest"); in signature_ecdsa_sign_fixed_test() localVariable 536 let alg = match (curve_name.as_str(), digest_name.as_str()) { in signature_ecdsa_sign_fixed_test() 540 panic!("Unsupported curve+digest: {}+{}", curve_name, digest_name); in signature_ecdsa_sign_fixed_test() 567 let digest_name = test_case.consume_string("Digest"); in signature_ecdsa_sign_asn1_test() localVariable 575 let alg = match (curve_name.as_str(), digest_name.as_str()) { in signature_ecdsa_sign_asn1_test() 579 panic!("Unsupported curve+digest: {}+{}", curve_name, digest_name); in signature_ecdsa_sign_asn1_test()
|
/external/rust/crates/ring/src/rsa/ |
D | padding.rs | 567 let digest_name = test_case.consume_string("Digest"); in test_pss_padding_verify() localVariable 568 let alg = match digest_name.as_ref() { in test_pss_padding_verify() 572 _ => panic!("Unsupported digest: {}", digest_name), in test_pss_padding_verify() 606 let digest_name = test_case.consume_string("Digest"); in test_pss_padding_encode() localVariable 607 let alg = match digest_name.as_ref() { in test_pss_padding_encode() 611 _ => panic!("Unsupported digest: {}", digest_name), in test_pss_padding_encode()
|
/external/python/cpython3/Lib/test/ |
D | test_hashlib.py | 1016 for digest_name, results in self.pbkdf2_results.items(): 1017 if digest_name not in supported: 1024 out = pbkdf2(digest_name, password, salt, rounds, dklen) 1026 (digest_name, password, salt, rounds, dklen)) 1027 out = pbkdf2(digest_name, memoryview(password), 1030 out = pbkdf2(digest_name, bytearray(password), 1034 out = pbkdf2(digest_name, password, salt, rounds) 1036 (digest_name, password, salt, rounds))
|
/external/python/cpython3/Lib/distutils/command/ |
D | upload.py | 138 for digest_name, digest_cons in _FILE_CONTENT_DIGESTS.items(): 142 data[digest_name] = digest_cons(content).hexdigest()
|
/external/python/setuptools/setuptools/_distutils/command/ |
D | upload.py | 137 for digest_name, digest_cons in _FILE_CONTENT_DIGESTS.items(): 141 data[digest_name] = digest_cons(content).hexdigest()
|
/external/python/cpython3/Modules/ |
D | _hashopenssl.c | 1655 PyObject *digest_name = py_digest_name(HMAC_CTX_get_md(self->ctx)); in _hmac_repr() local 1656 if (digest_name == NULL) { in _hmac_repr() 1660 "<%U HMAC object @ %p>", digest_name, self in _hmac_repr() 1662 Py_DECREF(digest_name); in _hmac_repr() 1773 PyObject *digest_name = py_digest_name(HMAC_CTX_get_md(self->ctx)); in _hashlib_hmac_get_name() local 1774 if (digest_name == NULL) { in _hashlib_hmac_get_name() 1777 PyObject *name = PyUnicode_FromFormat("hmac-%U", digest_name); in _hashlib_hmac_get_name() 1778 Py_DECREF(digest_name); in _hashlib_hmac_get_name()
|
/external/python/cpython2/Lib/test/ |
D | test_hashlib.py | 448 for digest_name, results in self.pbkdf2_results.items(): 455 digest_name, password, salt, rounds, dklen) 457 (digest_name, password, salt, rounds, dklen))
|
/external/python/cryptography/tests/ |
D | utils.py | 505 digest_name = "SHA-{}".format(curve_match.group("sha")) 515 "digest_algorithm": digest_name,
|