Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/tools/rootcanal/rust/src/lmp/
Dec.rs80 fn to_point<Curve: EllipticCurve>(&self) -> Point<Curve> { in to_point() argument
256 enum Point<Curve> {
257 Infinite(PhantomData<Curve>),
258 Finite { x: BigInt, y: BigInt, z: BigInt, _curve: PhantomData<Curve> },
261 impl<Curve> Point<Curve>
263 Curve: EllipticCurve,
283 BigInt::from_bytes_be(Sign::Plus, Curve::G_X.as_ref()), in g()
284 BigInt::from_bytes_be(Sign::Plus, Curve::G_Y.as_ref()), in g()
292 let p = &Curve::p(); in to_affine()
304 x.resize(Curve::PRIVATE_KEY_SIZE, 0); in to_bytes()
[all …]