[][src]Type Definition yogcrypt::sm2::Coordinate

type Coordinate = FieldElement;

A coordinate is an element from the field with order MODULO_P.

Usage

    extern crate yogcrypt;
    use yogcrypt::sm2::*;

    let x = Coordinate::from_u64([0x7b706375_42fb998e, 0x00f78ba4_e992817f, 0x6fcbd376_2040ded0, 0xa06c2b7e_e7b810bd]);