Searched refs:elem_scalar_seed_len (Results 1 – 7 of 7) sorted by relevance
40 (curve.generate_private_key)(rng, &mut r.bytes[..curve.elem_scalar_seed_len])?; in generate()50 if curve.elem_scalar_seed_len != bytes.len() { in from_bytes()59 r.bytes[..curve.elem_scalar_seed_len].copy_from_slice(bytes); in from_bytes()64 &self.bytes[..self.curve.elem_scalar_seed_len] in bytes_less_safe()
21 pub elem_scalar_seed_len: usize, field
302 let shared_key = &mut shared_key[..alg.curve.elem_scalar_seed_len]; in agree_ephemeral_()
37 elem_scalar_seed_len: ($bits + 7) / 8,
185 let num_bytes = curve.elem_scalar_seed_len; in test_agreement_suite_b_ecdh_generate()
23 elem_scalar_seed_len: ELEM_AND_SCALAR_LEN,
350 let rand = &mut rand[0..alg.curve.elem_scalar_seed_len]; in new()