Home
last modified time | relevance | path

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

/external/rust/crates/ring/src/ec/suite_b/ecdsa/
Dverification.rs83 let public_key_ops = self.ops.public_key_ops; in verify_digest() localVariable
103 let peer_pub_key = parse_uncompressed_point(public_key_ops, public_key)?; in verify_digest()
111 let r = scalar_parse_big_endian_variable(public_key_ops.common, limb::AllowZero::No, r)?; in verify_digest()
112 let s = scalar_parse_big_endian_variable(public_key_ops.common, limb::AllowZero::No, s)?; in verify_digest()
135 let z2 = verify_jacobian_point_is_on_the_curve(public_key_ops.common, &product)?; in verify_digest()
143 let x = public_key_ops.common.point_x(&product); in verify_digest()
150 let cops = ops.public_key_ops.common; in verify_digest()
160 let r_plus_n = self.ops.elem_sum(&r, &public_key_ops.common.n); in verify_digest()
Ddigest_scalar.rs109 let num_limbs = ops.public_key_ops.common.num_limbs; in test()
113 ops.public_key_ops.common.num_limbs * LIMB_BYTES in test()
117 ops.public_key_ops.common, in test()
/external/rust/crates/ring/src/ec/suite_b/
Decdh.rs23 $public_key_ops:expr, $ecdh:ident ) => {
53 $public_key_ops,
82 public_key_ops: &PublicKeyOps, in ecdh()
101 let peer_public_key = parse_uncompressed_point(public_key_ops, peer_public_key)?; in ecdh()
Dops.rs271 pub public_key_ops: &'static PublicKeyOps, field
291 for i in 0..self.public_key_ops.common.num_limbs { in elem_equals()
300 let num_limbs = self.public_key_ops.common.num_limbs; in elem_less_than()
306 binary_op(self.public_key_ops.common.elem_add_impl, a, b) in elem_sum()
487 let cops = ops.public_key_ops.common; in elem_add_test()
493 ops.public_key_ops.common.elem_add(&mut actual_sum, &b); in elem_add_test()
497 ops.public_key_ops.common.elem_add(&mut actual_sum, &a); in elem_add_test()
/external/rust/crates/ring/src/ec/suite_b/ops/
Dp384.rs169 public_key_ops: &PUBLIC_KEY_OPS,
Dp256.rs192 public_key_ops: &PUBLIC_KEY_OPS,