Trait pairing_ce::RawEncodable [−][src]
pub trait RawEncodable: CurveAffine { fn into_raw_uncompressed_le(&self) -> Self::Uncompressed; fn from_raw_uncompressed_le_unchecked(
encoded: &Self::Uncompressed,
infinity: bool
) -> Result<Self, GroupDecodingError>; fn from_raw_uncompressed_le(
encoded: &Self::Uncompressed,
infinity: bool
) -> Result<Self, GroupDecodingError>; }
Required methods
fn into_raw_uncompressed_le(&self) -> Self::Uncompressed
[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: &Self::Uncompressed,
infinity: bool
) -> Result<Self, GroupDecodingError>
[src]
encoded: &Self::Uncompressed,
infinity: bool
) -> Result<Self, GroupDecodingError>
Creates a point from raw encoded coordinates without checking on curve
fn from_raw_uncompressed_le(
encoded: &Self::Uncompressed,
infinity: bool
) -> Result<Self, GroupDecodingError>
[src]
encoded: &Self::Uncompressed,
infinity: bool
) -> Result<Self, GroupDecodingError>
Creates a point from raw encoded coordinates
Implementors
impl RawEncodable for pairing_ce::bls12_381::G1Affine
[src]
impl RawEncodable for pairing_ce::bls12_381::G1Affine
[src]fn into_raw_uncompressed_le(&self) -> Self::Uncompressed
[src]
fn from_raw_uncompressed_le_unchecked(
encoded: &Self::Uncompressed,
_infinity: bool
) -> Result<Self, GroupDecodingError>
[src]
encoded: &Self::Uncompressed,
_infinity: bool
) -> Result<Self, GroupDecodingError>
fn from_raw_uncompressed_le(
encoded: &Self::Uncompressed,
_infinity: bool
) -> Result<Self, GroupDecodingError>
[src]
encoded: &Self::Uncompressed,
_infinity: bool
) -> Result<Self, GroupDecodingError>
impl RawEncodable for pairing_ce::bn256::G1Affine
[src]
impl RawEncodable for pairing_ce::bn256::G1Affine
[src]fn from_raw_uncompressed_le_unchecked(
encoded: &Self::Uncompressed,
_infinity: bool
) -> Result<Self, GroupDecodingError>
[src]
fn from_raw_uncompressed_le_unchecked(
encoded: &Self::Uncompressed,
_infinity: bool
) -> Result<Self, GroupDecodingError>
[src]Creates a point from raw encoded coordinates without checking on curve
fn into_raw_uncompressed_le(&self) -> Self::Uncompressed
[src]
fn from_raw_uncompressed_le(
encoded: &Self::Uncompressed,
_infinity: bool
) -> Result<Self, GroupDecodingError>
[src]
encoded: &Self::Uncompressed,
_infinity: bool
) -> Result<Self, GroupDecodingError>
impl RawEncodable for pairing_ce::compact_bn256::G1Affine
[src]
impl RawEncodable for pairing_ce::compact_bn256::G1Affine
[src]fn from_raw_uncompressed_le_unchecked(
encoded: &Self::Uncompressed,
_infinity: bool
) -> Result<Self, GroupDecodingError>
[src]
fn from_raw_uncompressed_le_unchecked(
encoded: &Self::Uncompressed,
_infinity: bool
) -> Result<Self, GroupDecodingError>
[src]Creates a point from raw encoded coordinates without checking on curve
fn into_raw_uncompressed_le(&self) -> Self::Uncompressed
[src]
fn from_raw_uncompressed_le(
encoded: &Self::Uncompressed,
_infinity: bool
) -> Result<Self, GroupDecodingError>
[src]
encoded: &Self::Uncompressed,
_infinity: bool
) -> Result<Self, GroupDecodingError>