Searched refs:MaskedScalar (Results 1 – 4 of 4) sorted by relevance
58 pub struct MaskedScalar([u8; SCALAR_LEN]); struct60 impl MaskedScalar { impl71 impl From<MaskedScalar> for Scalar {72 fn from(MaskedScalar(scalar): MaskedScalar) -> Self { in from()
65 let private_key = ops::MaskedScalar::from_bytes_masked(*private_key); in x25519_public_from_private()99 let my_private_key = ops::MaskedScalar::from_bytes_masked(*my_private_key); in x25519_ecdh()108 scalar: &ops::MaskedScalar, in x25519_ecdh() argument122 scalar: &ops::MaskedScalar, in x25519_ecdh() argument148 fn x25519_neon(out: &mut ops::EncodedPoint, scalar: &ops::MaskedScalar, point: &ops::EncodedPoint) { in x25519_neon() argument152 scalar: &ops::MaskedScalar, in x25519_neon() argument161 type PrivateKey = ops::MaskedScalar;
18 pub use super::scalar::{MaskedScalar, Scalar, SCALAR_LEN};
164 MaskedScalar::from_bytes_masked(private_scalar.try_into().unwrap()).into(); in from_seed_()