mirror of
https://github.com/saymrwulf/pasta_curves-source.git
synced 2026-09-06 20:20:34 +00:00
Change Coordinates fields to pub
This commit is contained in:
parent
de99732e20
commit
8042906484
1 changed files with 4 additions and 2 deletions
|
|
@ -134,8 +134,10 @@ pub trait CurveAffine:
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "alloc")))]
|
#[cfg_attr(docsrs, doc(cfg(feature = "alloc")))]
|
||||||
#[derive(Clone, Copy, Debug, Default)]
|
#[derive(Clone, Copy, Debug, Default)]
|
||||||
pub struct Coordinates<C: CurveAffine> {
|
pub struct Coordinates<C: CurveAffine> {
|
||||||
pub(crate) x: C::Base,
|
/// x-coordinate of the EC point.
|
||||||
pub(crate) y: C::Base,
|
pub x: C::Base,
|
||||||
|
/// y-coordinate of the EC point.
|
||||||
|
pub y: C::Base,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(feature = "alloc")]
|
#[cfg(feature = "alloc")]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue