Function esp_idf_svc::hal::sys::mbedtls_ecjpake_read_round_two
source ยท pub unsafe extern "C" fn mbedtls_ecjpake_read_round_two(
ctx: *mut mbedtls_ecjpake_context,
buf: *const u8,
len: usize,
) -> i32
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.