pub unsafe extern "C" fn ocrypto_ecjpake_get_public_key(
    X: *mut u8,
    G: *const u8,
    x: *const u8
) -> c_int
Expand description

EC-JPAKE-P256 public key.

  • X - Public key.
  • G - Generator. May be NULL to use the default generator.
  • x - Secret key. 0 < x < group order

Returns 0 If inputs are valid. Returns -1 Otherwise.