pub unsafe extern "C" fn ocrypto_ecjpake_process_shared_secret(
    xs: *mut u8,
    x2: *const u8,
    rs: *const u8
) -> c_int
Expand description

EC-JPAKE-P256 shared secret handling.

  • xs - Client/server secret key.
  • x2 - Secret key 2.
  • rs - Reduced shared secret.

Returns 0 If the derived secret key is valid. Returns -1 Otherwise.