Home
last modified time | relevance | path

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

/external/rust/crates/ring/src/ec/suite_b/
Decdh.rs22 ( $NAME:ident, $curve:expr, $name_str:expr, $private_key_ops:expr,
52 $private_key_ops,
81 private_key_ops: &PrivateKeyOps, in ecdh()
123 let my_private_key = private_key_as_scalar(private_key_ops, my_private_key); in ecdh()
124 let product = private_key_ops.point_mul(&my_private_key, &peer_public_key); in ecdh()
134 big_endian_affine_from_jacobian(private_key_ops, Some(out), None, &product) in ecdh()
Dcurve.rs19 ( $NAME:ident, $bits:expr, $private_key_ops:expr, $id:expr,
46 ec::suite_b::private_key::check_scalar_big_endian_bytes($private_key_ops, bytes)
53 ec::suite_b::private_key::generate_private_scalar_bytes($private_key_ops, rng, out)
60 ec::suite_b::private_key::public_from_private($private_key_ops, public_out, private_key)
Dops.rs275 pub private_key_ops: &'static PrivateKeyOps, field
/external/rust/crates/ring/src/ec/suite_b/ecdsa/
Dsigning.rs33 private_key_ops: &'static PrivateKeyOps, field
156 let d = private_key::private_key_as_scalar(alg.private_key_ops, &seed); in new()
239 let private_key_ops = self.alg.private_key_ops; in sign_digest() localVariable
244 let k = private_key::random_scalar(self.alg.private_key_ops, rng)?; in sign_digest()
248 let r = private_key_ops.point_mul_base(&k); in sign_digest()
252 let (x, _) = private_key::affine_from_jacobian(private_key_ops, &r)?; in sign_digest()
450 private_key_ops: &p256::PRIVATE_KEY_OPS,
465 private_key_ops: &p384::PRIVATE_KEY_OPS,
480 private_key_ops: &p256::PRIVATE_KEY_OPS,
495 private_key_ops: &p384::PRIVATE_KEY_OPS,
Dverification.rs126 let product = twin_mul(self.ops.private_key_ops, &u1, &u2, &peer_pub_key); in verify_digest()
/external/rust/crates/ring/src/ec/suite_b/ops/
Dp384.rs170 private_key_ops: &PRIVATE_KEY_OPS,
Dp256.rs193 private_key_ops: &PRIVATE_KEY_OPS,