pub struct P256Point {
pub x: [u8; 32],
pub y: [u8; 32],
}Expand description
P-256 (secp256r1) point in affine coordinates: x and y as 32 big-endian bytes each.
Values crossing the driver boundary are valid points on the curve. The
point at infinity has no affine encoding and is never represented by this
type; conversions that can produce it return None instead.
Fields§
§x: [u8; 32]X coordinate.
y: [u8; 32]Y coordinate.
Trait Implementations§
impl Copy for P256Point
impl Eq for P256Point
impl StructuralPartialEq for P256Point
Auto Trait Implementations§
impl Freeze for P256Point
impl RefUnwindSafe for P256Point
impl Send for P256Point
impl Sync for P256Point
impl Unpin for P256Point
impl UnsafeUnpin for P256Point
impl UnwindSafe for P256Point
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