pub struct EccProjectivePoint {
pub x: [u8; 66],
pub y: [u8; 66],
pub z: [u8; 66],
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² and y = Y/Z³ (for Jacobian projective).
Fields§
§x: [u8; 66]X coordinate
y: [u8; 66]Y coordinate
z: [u8; 66]Z coordinate
size: usizeActual size of coordinates in bytes
Implementations§
Auto Trait Implementations§
impl Freeze for EccProjectivePoint
impl RefUnwindSafe for EccProjectivePoint
impl Send for EccProjectivePoint
impl Sync for EccProjectivePoint
impl Unpin 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