Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/tools/rootcanal/lmp/src/
Dec.rs87 fn to_point<Curve: EllipticCurve>(&self) -> Point<Curve> { in to_point() argument
262 enum Point<Curve> {
263 Infinite(PhantomData<Curve>),
264 Finite { x: BigInt, y: BigInt, _curve: PhantomData<Curve> },
267 impl<Curve> Point<Curve>
269 Curve: EllipticCurve,
285 &BigInt::from_bytes_be(Sign::Plus, Curve::G_X.as_ref()), in g()
286 &BigInt::from_bytes_be(Sign::Plus, Curve::G_Y.as_ref()), in g()
303 x.resize(Curve::PRIVATE_KEY_SIZE, 0); in to_bytes()
305 y.resize(Curve::PRIVATE_KEY_SIZE, 0); in to_bytes()
[all …]