pub fn from_bytes(bytes: &[u8; 64]) -> CtOption<Fq2> {
        let c0 = Fq::from_bytes(bytes[0..32].try_into().unwrap());
        let c1 = Fq::from_bytes(bytes[32..64].try_into().unwrap());
        CtOption::new(
            Fq2 {
                c0: c0.unwrap(),
                c1: c1.unwrap(),
            },
            c0.is_some() & c1.is_some(),
        )
    }
/// Attempts to convert a little-endian byte representation of
/// a scalar into a `Fq`, failing if the input is not canonical.
Attempts to convert a little-endian byte representation of
a scalar into a `Fq`, failing if the input is not canonical.
Attempts to convert a little - endian byte representation of a scalar into a ` Fq ` failing if the input is not canonical .
pub fn from_bytes(bytes: &[u8; 64]) -> CtOption<Fq2> {
        let c0 = Fq::from_bytes(bytes[0..32].try_into().unwrap());
        let c1 = Fq::from_bytes(bytes[32..64].try_into().unwrap());
        CtOption::new(
            Fq2 {
                c0: c0.unwrap(),
                c1: c1.unwrap(),
            },
            c0.is_some() & c1.is_some(),
        )
    }
pub fn from_bytes ( bytes : & [ u8 ; 64 ] ) -> CtOption < Fq2 > { let c0 = Fq :: from_bytes ( bytes [ 0 .. 32 ] . try_into ( ) . unwrap ( ) ) ; let c1 = Fq :: from_bytes ( bytes [ 32 .. 64 ] . try_into ( ) . unwrap ( ) ) ; CtOption :: new ( Fq2 { c0 : c0 . unwrap ( ) , c1 : c1 . unwrap ( ) , } , c0 . is_some ( ) & c1 . is_some ( ) , ) }
Attempts to convert a little-endian byte representation of
a scalar into a `Fq`, failing if the input is not canonical.
Attempts to convert a little - endian byte representation of a scalar into a ` Fq ` failing if the input is not canonical .
bytes
&[u8; 64]