Trait pairing_ce::GenericRawEncodable[][src]

pub trait GenericRawEncodable<const N: usize>: GenericUncompressedEncodable<N> {
    fn into_raw_uncompressed_le(&self) -> [u8; N];
fn from_raw_uncompressed_le_unchecked(
        encoded: &[u8; N],
        infinity: bool
    ) -> Result<Self, GroupDecodingError>;
fn from_raw_uncompressed_le(
        encoded: &[u8; N],
        infinity: bool
    ) -> Result<Self, GroupDecodingError>; }

Required methods

fn into_raw_uncompressed_le(&self) -> [u8; N][src]

Converts this element into its uncompressed encoding, so long as it’s not the point at infinity. Leaves coordinates in Montgommery form

fn from_raw_uncompressed_le_unchecked(
    encoded: &[u8; N],
    infinity: bool
) -> Result<Self, GroupDecodingError>
[src]

Creates a point from raw encoded coordinates without checking on curve

fn from_raw_uncompressed_le(
    encoded: &[u8; N],
    infinity: bool
) -> Result<Self, GroupDecodingError>
[src]

Creates a point from raw encoded coordinates

Loading content...

Implementors

Loading content...