pub struct EccProjectivePoint {
pub x: [u8; 80],
pub y: [u8; 80],
pub z: [u8; 80],
pub size: usize,
}Expand description
ECC point in projective coordinates (X, Y, Z)
In projective coordinates, the affine point (x, y) is represented as (X, Y, Z) where x = X/Z and y = Y/Z (for standard projective) or x = X/Z^2 and y = Y/Z^3 (for Jacobian projective).
Fields§
§x: [u8; 80]X coordinate
y: [u8; 80]Y coordinate
z: [u8; 80]Z coordinate
size: usizeActual size of coordinates in bytes
Implementations§
Auto Trait Implementations§
impl Forget for EccProjectivePoint
impl Freeze for EccProjectivePoint
impl Move for EccProjectivePoint
impl RefUnwindSafe for EccProjectivePoint
impl Send for EccProjectivePoint
impl Sync for EccProjectivePoint
impl Unpin for EccProjectivePoint
impl UnsafeUnpin for EccProjectivePoint
impl UnwindSafe for EccProjectivePoint
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more