Searched refs:signature_r (Results 1 – 3 of 3) sorted by relevance
/external/rust/crates/ring/src/ec/curve25519/ed25519/ |
D | verification.rs | 45 let (signature_r, signature_s) = signature.read_all(error::Unspecified, |input| { in verify() 46 let signature_r: &[u8; ELEM_LEN] = input in verify() localVariable 54 Ok((signature_r, signature_s)) in verify() 62 let h_digest = eddsa_digest(signature_r, public_key, msg.as_slice_less_safe()); in verify() 68 if *signature_r != r_check { in verify()
|
D | signing.rs | 191 let (signature_r, signature_s) = signature_bytes.split_at_mut(ELEM_LEN); in sign() 204 signature_r.copy_from_slice(&r.into_encoded_point()); in sign() 205 let hram_digest = eddsa_digest(signature_r, &self.public_key.as_ref(), msg); in sign()
|
/external/rust/crates/ring/src/ec/curve25519/ |
D | ed25519.rs | 26 pub fn eddsa_digest(signature_r: &[u8], public_key: &[u8], msg: &[u8]) -> digest::Digest { in eddsa_digest() 28 ctx.update(signature_r); in eddsa_digest()
|