Home
last modified time | relevance | path

Searched refs:scalar_ops (Results 1 – 6 of 6) sorted by relevance

/external/rust/crates/ring/src/ec/suite_b/ecdsa/
Dverification.rs66 digest_scalar(self.ops.scalar_ops, h) in verify()
84 let scalar_ops = self.ops.scalar_ops; in verify_digest() localVariable
106 (self.split_rs)(scalar_ops, input) in verify_digest()
116 let w = scalar_ops.scalar_inv_to_mont(&s); in verify_digest()
120 let u1 = scalar_ops.scalar_product(&e, &w); in verify_digest()
121 let u2 = scalar_ops.scalar_product(&r, &w); in verify_digest()
330 &alg.ops.scalar_ops, in test_digest_based_test_vectors()
Dsigning.rs159 .scalar_ops in new()
237 let scalar_ops = ops.scalar_ops; in sign_digest() localVariable
238 let cops = scalar_ops.common; in sign_digest()
245 let k_inv = scalar_ops.scalar_inv_to_mont(&k); in sign_digest()
263 let e = digest_scalar(scalar_ops, h); in sign_digest()
267 let dr = scalar_ops.scalar_product(&self.d, &r); in sign_digest()
269 scalar_ops.scalar_product(&k_inv, &e_plus_dr) in sign_digest()
277 (self.alg.format_rs)(scalar_ops, &r, &s, sig_bytes) in sign_digest()
Ddigest_scalar.rs123 let actual = digest_bytes_scalar(ops.scalar_ops, &input); in test()
/external/rust/crates/ring/src/ec/suite_b/ops/
Dp384.rs168 scalar_ops: &SCALAR_OPS,
184 scalar_ops: &SCALAR_OPS,
Dp256.rs191 scalar_ops: &SCALAR_OPS,
203 scalar_ops: &SCALAR_OPS,
/external/rust/crates/ring/src/ec/suite_b/
Dops.rs270 pub scalar_ops: &'static ScalarOps, field
312 pub scalar_ops: &'static ScalarOps, field
451 let cops = ops.scalar_ops.common; in q_minus_n_plus_n_equals_0_test()