Function esp_idf_sys::psa_crypto_driver_pake_get_peer_len
source · pub unsafe extern "C" fn psa_crypto_driver_pake_get_peer_len(
inputs: *const psa_crypto_driver_pake_inputs_t,
peer_len: *mut usize,
) -> psa_status_t
Expand description
Get the length of the peer id in bytes from given inputs.
\param[in] inputs Operation inputs. \param[out] peer_len Peer id length.
\retval #PSA_SUCCESS Success. \retval #PSA_ERROR_BAD_STATE Peer id hasn’t been set yet.