Searched refs:from_bytes_masked (Results 1 – 3 of 3) sorted by relevance
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()
61 pub fn from_bytes_masked(bytes: [u8; SCALAR_LEN]) -> Self { in from_bytes_masked() method
164 MaskedScalar::from_bytes_masked(private_scalar.try_into().unwrap()).into(); in from_seed_()