Function esp_idf_sys::mbedtls_ecjpake_read_round_two
source ยท pub unsafe extern "C" fn mbedtls_ecjpake_read_round_two(
ctx: *mut mbedtls_ecjpake_context,
buf: *const c_uchar,
len: usize,
) -> c_int
Expand description
\brief Read and process the second round message (TLS: contents of the Client/ServerKeyExchange).
\param ctx The ECJPAKE context to use. This must be initialized and set up and already have performed round one. \param buf The buffer holding the second round message. This must be a readable buffer of length \p len Bytes. \param len The length in Bytes of \p buf.
\return \c 0 if successful. \return A negative error code on failure.