pub unsafe extern "C" fn ocrypto_ecjpake_get_generator(
    G: *mut u8,
    X1: *const u8,
    X2: *const u8,
    X3: *const u8
) -> c_int
Expand description

EC-JPAKE-P256 generator derivation.

  • G - Generator.
  • X1 - Public key 1.
  • X2 - Public key 2.
  • X3 - Public key 3.

Returns 0 If the generator is valid. Returns -1 Otherwise.