Searched refs:from_sec1_bytes (Results 1 – 5 of 5) sorted by relevance
33 fn from_sec1_bytes(bytes: &[u8]) -> Result<Self, Self::Error>; in from_sec1_bytes() method53 Self::from_sec1_bytes(bytes) in from_bytes()130 let key = E::PublicKey::from_sec1_bytes(&sec1_bytes).unwrap(); in to_bytes_test()162 let expected_key = E::PublicKey::from_sec1_bytes(&sec1).unwrap(); in from_affine_coordinates_test()190 let result = E::PublicKey::from_sec1_bytes(&sec1); in from_sec1_bytes_not_on_curve_test()201 let result = E::PublicKey::from_sec1_bytes(&sec1); in from_sec1_bytes_at_infinity_test()217 let public_key = E::PublicKey::from_sec1_bytes(&sec1).unwrap(); in public_key_to_affine_coordinates_test()233 let public_key = E::PublicKey::from_sec1_bytes(&sec1).unwrap(); in public_key_to_affine_coordinates_compressed02_test()249 let public_key = E::PublicKey::from_sec1_bytes(&sec1).unwrap(); in public_key_to_affine_coordinates_compressed03_test()263 let public_key = E::PublicKey::from_sec1_bytes(&sec1).unwrap(); in public_key_to_affine_coordinates_zero_top_byte_test()[all …]
51 fn from_sec1_bytes(bytes: &[u8]) -> Result<Self, Self::Error> { in from_sec1_bytes() method52 p256::PublicKey::from_sec1_bytes(bytes).map(Self) in from_sec1_bytes()
55 fn from_sec1_bytes(bytes: &[u8]) -> Result<Self, Self::Error> { in from_sec1_bytes() method
320 &<C::P256 as P256EcdhProvider>::PublicKey::from_sec1_bytes( in handle_client_finished_msg()500 let other_public_key = &<C::P256 as P256EcdhProvider>::PublicKey::from_sec1_bytes( in handle_server_init()
242 fn from_sec1_bytes(_bytes: &[u8]) -> Result<Self, Self::Error> { in from_sec1_bytes() method