Function esp_idf_svc::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_s,
peer_len: *mut usize,
) -> i32
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.