Searched refs:EcdsaKeyPair (Results 1 – 3 of 3) sorted by relevance
/external/rust/crates/ring/tests/ |
D | ecdsa_tests.rs | 78 signature::EcdsaKeyPair::from_pkcs8(this_fixed, &input), in ecdsa_from_pkcs8_test() 88 signature::EcdsaKeyPair::from_pkcs8(this_asn1, &input), in ecdsa_from_pkcs8_test() 97 assert!(signature::EcdsaKeyPair::from_pkcs8(other_fixed, &input).is_err()); in ecdsa_from_pkcs8_test() 98 assert!(signature::EcdsaKeyPair::from_pkcs8(other_asn1, &input).is_err()); in ecdsa_from_pkcs8_test() 116 let pkcs8 = signature::EcdsaKeyPair::generate_pkcs8(alg, &rng).unwrap(); in ecdsa_generate_pkcs8_test() 125 let _ = signature::EcdsaKeyPair::from_pkcs8(*alg, pkcs8.as_ref()).unwrap(); in ecdsa_generate_pkcs8_test() 202 let key_pair = signature::EcdsaKeyPair::from_pkcs8( in ecdsa_test_public_key_coverage() 213 let _: <signature::EcdsaKeyPair as KeyPair>::PublicKey = key_pair.public_key().clone(); in ecdsa_test_public_key_coverage() 216 let _: <signature::EcdsaKeyPair as KeyPair>::PublicKey = *key_pair.public_key(); in ecdsa_test_public_key_coverage() 267 signature::EcdsaKeyPair::from_private_key_and_public_key(signing_alg, &d, &q) in signature_ecdsa_sign_fixed_sign_and_verify_test() [all …]
|
/external/rust/crates/ring/src/ec/suite_b/ecdsa/ |
D | signing.rs | 61 pub struct EcdsaKeyPair { struct 68 derive_debug_via_field!(EcdsaKeyPair, stringify!(EcdsaKeyPair), public_key); argument 70 impl EcdsaKeyPair { impl 365 impl signature::KeyPair for EcdsaKeyPair { implementation 545 signature::EcdsaKeyPair::from_private_key_and_public_key(alg, &d, &q).unwrap(); in signature_ecdsa_sign_fixed_test() 584 signature::EcdsaKeyPair::from_private_key_and_public_key(alg, &d, &q).unwrap(); in signature_ecdsa_sign_asn1_test()
|
/external/rust/crates/ring/src/ |
D | signature.rs | 267 EcdsaKeyPair, EcdsaSigningAlgorithm, ECDSA_P256_SHA256_ASN1_SIGNING,
|