Function esp_idf_svc::hal::sys::mbedtls_ecjpake_read_round_one
source ยท pub unsafe extern "C" fn mbedtls_ecjpake_read_round_one(
ctx: *mut mbedtls_ecjpake_context,
buf: *const u8,
len: usize,
) -> i32
Expand description
\brief Read and process the first round message (TLS: contents of the Client/ServerHello extension, excluding extension type and length bytes).
\param ctx The ECJPAKE context to use. This must be initialized and set up. \param buf The buffer holding the first 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.