pub unsafe extern "C" fn ocrypto_ecjpake_verify_key(
    G: *const u8,
    X: *const u8,
    V: *const u8,
    r: *const u8,
    id: *const c_char,
    id_len: usize
) -> c_int
Expand description

EC-JPAKE-P256 zero knowledge proof verification.

  • G - Generator. May be NULL to use the default generator.
  • X - Public key.
  • V - ZKP ephemeral public key.
  • r - ZKP signature.
  • id - Identity of originator.
  • id_len - Identity length.

Returns 0 If proof is valid. Returns -1 Otherwise.