Home
last modified time | relevance | path

Searched refs:from_sec1_bytes (Results 1 – 5 of 5) sorted by relevance

/external/rust/beto-rust/nearby/crypto/crypto_provider/src/
Dp256.rs33 fn from_sec1_bytes(bytes: &[u8]) -> Result<Self, Self::Error>; in from_sec1_bytes() method
53 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 …]
/external/rust/beto-rust/nearby/crypto/crypto_provider_rustcrypto/src/
Dp256.rs51 fn from_sec1_bytes(bytes: &[u8]) -> Result<Self, Self::Error> { in from_sec1_bytes() method
52 p256::PublicKey::from_sec1_bytes(bytes).map(Self) in from_sec1_bytes()
/external/rust/beto-rust/nearby/crypto/crypto_provider_openssl/src/
Dp256.rs55 fn from_sec1_bytes(bytes: &[u8]) -> Result<Self, Self::Error> { in from_sec1_bytes() method
/external/rust/beto-rust/nearby/connections/ukey2/ukey2/src/
Dukey2_handshake.rs320 &<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()
/external/rust/beto-rust/nearby/crypto/crypto_provider_stubs/src/
Dlib.rs242 fn from_sec1_bytes(_bytes: &[u8]) -> Result<Self, Self::Error> { in from_sec1_bytes() method