pub unsafe extern "C" fn ocrypto_spake2p_p256_check_key(
    K: *const u8
) -> c_int
Expand description

SPAKE2+ P256 public key validation check.

  • K - Public key.

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