Searched refs:ELEM_LEN (Results 1 – 5 of 5) sorted by relevance
63 pub type EncodedPoint = [u8; ELEM_LEN];64 pub const ELEM_LEN: usize = 32; constant125 let mut bytes = [0; ELEM_LEN]; in encode_point()143 bytes[ELEM_LEN - 1] ^= sign_bit << 7; in encode_point()
17 use super::ops::ELEM_LEN;24 pub const ED25519_PUBLIC_KEY_LEN: usize = ELEM_LEN;
159 const ELEM_AND_SCALAR_LEN: usize = ops::ELEM_LEN;
44 let public_key: &[u8; ELEM_LEN] = public_key.as_slice_less_safe().try_into()?; in verify()46 let signature_r: &[u8; ELEM_LEN] = input in verify()47 .read_bytes(ELEM_LEN)? in verify()
190 let (signature_bytes, _unused) = signature_bytes.split_at_mut(ELEM_LEN + SCALAR_LEN); in sign()191 let (signature_r, signature_s) = signature_bytes.split_at_mut(ELEM_LEN); in sign()260 const SIGNATURE_LEN: usize = ELEM_LEN + SCALAR_LEN;