mirror of
https://github.com/saymrwulf/pasta_curves-source.git
synced 2026-09-04 20:03:39 +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")))]
|
||||
#[derive(Clone, Copy, Debug, Default)]
|
||||
pub struct Coordinates<C: CurveAffine> {
|
||||
pub(crate) x: C::Base,
|
||||
pub(crate) y: C::Base,
|
||||
/// x-coordinate of the EC point.
|
||||
pub x: C::Base,
|
||||
/// y-coordinate of the EC point.
|
||||
pub y: C::Base,
|
||||
}
|
||||
|
||||
#[cfg(feature = "alloc")]
|
||||
|
|
|
|||
Loading…
Reference in a new issue