Home
last modified time | relevance | path

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

/external/rust/crates/ring/tests/
Decdsa_tests.rs48 let curve_name = test_case.consume_string("Curve"); in ecdsa_from_pkcs8_test()
136 let curve_name = test_case.consume_string("Curve"); in signature_ecdsa_verify_asn1_test()
137 let digest_name = test_case.consume_string("Digest"); in signature_ecdsa_verify_asn1_test()
141 let is_valid = test_case.consume_string("Result") == "P (0 )"; in signature_ecdsa_verify_asn1_test()
169 let curve_name = test_case.consume_string("Curve"); in signature_ecdsa_verify_fixed_test()
170 let digest_name = test_case.consume_string("Digest"); in signature_ecdsa_verify_fixed_test()
175 let expected_result = test_case.consume_string("Result"); in signature_ecdsa_verify_fixed_test()
240 let curve_name = test_case.consume_string("Curve"); in signature_ecdsa_sign_fixed_sign_and_verify_test()
241 let digest_name = test_case.consume_string("Digest"); in signature_ecdsa_sign_fixed_sign_and_verify_test()
294 let curve_name = test_case.consume_string("Curve"); in signature_ecdsa_sign_asn1_test()
[all …]
Drsa_tests.rs83 let digest_name = test_case.consume_string("Digest"); in test_signature_rsa_pkcs1_sign()
94 let result = test_case.consume_string("Result"); in test_signature_rsa_pkcs1_sign()
124 let digest_name = test_case.consume_string("Digest"); in test_signature_rsa_pss_sign()
132 let result = test_case.consume_string("Result"); in test_signature_rsa_pss_sign()
190 let digest_name = test_case.consume_string("Digest"); in test_signature_rsa_pkcs1_verify()
222 let is_valid = test_case.consume_string("Result") == "P"; in test_signature_rsa_pkcs1_verify()
244 let digest_name = test_case.consume_string("Digest"); in test_signature_rsa_pss_verify()
272 let is_valid = test_case.consume_string("Result") == "P"; in test_signature_rsa_pss_verify()
297 let expected = test_case.consume_string("Result"); in test_signature_rsa_primitive_verification()
Dpbkdf2_tests.rs67 let verify_expected_result = test_case.consume_string("Verify"); in pbkdf2_tests()
Dagreement_tests.rs88 let curve_name = test_case.consume_string("Curve"); in agreement_agree_ephemeral()
/external/rust/crates/ring/src/
Dtest.rs165 match self.consume_string(key).as_ref() { in consume_bool()
178 let name = self.consume_string(key); in consume_digest_alg()
194 let s = self.consume_string(key); in consume_bytes()
250 let s = self.consume_string(key); in consume_usize()
258 let s = self.consume_string(key); in consume_usize_bits()
265 pub fn consume_string(&mut self, key: &str) -> String { in consume_string() method
549 let _ = test_case.consume_string("Key"); in one_ok()
558 let _ = test_case.consume_string("Key"); in one_err()
567 let _ = test_case.consume_string("Key"); in one_panics()
593 let _ = test_case.consume_string("Key"); in err_one()
[all …]
/external/rust/crates/ring/src/ec/suite_b/
Dpublic_key.rs79 let curve_name = test_case.consume_string("Curve"); in parse_uncompressed_point_test()
83 let is_valid = test_case.consume_string("Result") == "P"; in parse_uncompressed_point_test()
Dops.rs1041 let input = test_case.consume_string(name); in consume_jacobian_point()
1062 let input = test_case.consume_string(name); in consume_affine_point()
1101 let input = test_case.consume_string(name); in consume_point()
/external/rust/crates/ring/src/ec/suite_b/ecdsa/
Ddigest_scalar.rs94 let curve_name = test_case.consume_string("Curve"); in test()
95 let digest_name = test_case.consume_string("Digest"); in test()
Dsigning.rs527 let curve_name = test_case.consume_string("Curve"); in signature_ecdsa_sign_fixed_test()
528 let digest_name = test_case.consume_string("Digest"); in signature_ecdsa_sign_fixed_test()
566 let curve_name = test_case.consume_string("Curve"); in signature_ecdsa_sign_asn1_test()
567 let digest_name = test_case.consume_string("Digest"); in signature_ecdsa_sign_asn1_test()
Dverification.rs300 let curve_name = test_case.consume_string("Curve"); in test_digest_based_test_vectors()
/external/rust/crates/ring/src/rsa/
Dpadding.rs532 let digest_name = test_case.consume_string("Digest"); in test_pss_padding_verify()
551 let is_valid = test_case.consume_string("Result") == "P"; in test_pss_padding_verify()
571 let digest_name = test_case.consume_string("Digest"); in test_pss_padding_encode()
583 let expected_result = test_case.consume_string("Result"); in test_pss_padding_encode()