Function esp_idf_sys::psa_crypto_driver_pake_get_peer
source · pub unsafe extern "C" fn psa_crypto_driver_pake_get_peer(
inputs: *const psa_crypto_driver_pake_inputs_t,
peer_id: *mut u8,
peer_id_size: usize,
peer_id_length: *mut usize,
) -> psa_status_t
Expand description
Get the peer id from given inputs.
\param[in] inputs Operation inputs. \param[out] peer_id Peer id. \param peer_id_size Size of \p peer_id in bytes. \param[out] peer_id_length Size of the peer id in bytes.
\retval #PSA_SUCCESS Success. \retval #PSA_ERROR_BAD_STATE Peer id hasn’t been set yet. \retval #PSA_ERROR_BUFFER_TOO_SMALL The size of the \p peer_id is too small.