[][src]Crate ic_crypto_internal_bls12381_serde_miracl

Conversion between MIRACL representations of BLS12-381 values and the standard representation.

Structs

FrBytes

A field representative in serialised, library independent form.

G1Bytes

A point in the group "G1" in serialised, library independent form.

G2Bytes

A point in the group "G2".

Functions

miracl_fr_from_bytes

Parses an Fr in a standard, library-independent form to a MIRACL BIG.

miracl_fr_to_bytes

Serializes a MIRACL Fr (i.e. BIG) to a standard, library-independent form.

miracl_g1_to_bytes

Serializes a MIRACL G1 (i.e. ECP) to a standard, library-independent form.

miracl_g1_from_bytes

Parses a G1 in a standard, library-independent form to a MIRACL ECP.

miracl_g2_to_bytes

Serializes a MIRACL G2 (i.e. ECP2) to a standard, library-independent form.

miracl_g2_from_bytes

Parses a G2 in a standard, library-independent form to a MIRACL ECP2.