Home
last modified time | relevance | path

Searched refs:digest_name (Results 1 – 11 of 11) sorted by relevance

/external/rust/crates/ring/tests/
Decdsa_tests.rs119 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 …]
Drsa_tests.rs63 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/
Ddigest_scalar.rs95 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()
Dsigning.rs528 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/
Dpadding.rs567 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/
Dtest_hashlib.py1016 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/
Dupload.py138 for digest_name, digest_cons in _FILE_CONTENT_DIGESTS.items():
142 data[digest_name] = digest_cons(content).hexdigest()
/external/python/setuptools/setuptools/_distutils/command/
Dupload.py137 for digest_name, digest_cons in _FILE_CONTENT_DIGESTS.items():
141 data[digest_name] = digest_cons(content).hexdigest()
/external/python/cpython3/Modules/
D_hashopenssl.c1655 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/
Dtest_hashlib.py448 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/
Dutils.py505 digest_name = "SHA-{}".format(curve_match.group("sha"))
515 "digest_algorithm": digest_name,