Home
last modified time | relevance | path

Searched refs:elem_scalar_seed_len (Results 1 – 7 of 7) sorted by relevance

/external/rust/crates/ring/src/ec/
Dkeys.rs40 (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()
/external/rust/crates/ring/src/
Dec.rs21 pub elem_scalar_seed_len: usize, field
Dagreement.rs302 let shared_key = &mut shared_key[..alg.curve.elem_scalar_seed_len]; in agree_ephemeral_()
/external/rust/crates/ring/src/ec/suite_b/
Dcurve.rs37 elem_scalar_seed_len: ($bits + 7) / 8,
Decdh.rs185 let num_bytes = curve.elem_scalar_seed_len; in test_agreement_suite_b_ecdh_generate()
/external/rust/crates/ring/src/ec/curve25519/
Dx25519.rs23 elem_scalar_seed_len: ELEM_AND_SCALAR_LEN,
/external/rust/crates/ring/src/ec/suite_b/ecdsa/
Dsigning.rs350 let rand = &mut rand[0..alg.curve.elem_scalar_seed_len]; in new()