pub unsafe extern "C" fn psa_crypto_driver_pake_get_user(
    inputs: *const psa_crypto_driver_pake_inputs_t,
    user_id: *mut u8,
    user_id_size: usize,
    user_id_len: *mut usize
) -> psa_status_t
Expand description

Get the user id from given inputs.

\param[in] inputs Operation inputs. \param[out] user_id User id. \param user_id_size Size of \p user_id in bytes. \param[out] user_id_len Size of the user id in bytes.

\retval #PSA_SUCCESS Success. \retval #PSA_ERROR_BAD_STATE User id hasn’t been set yet. \retval #PSA_ERROR_BUFFER_TOO_SMALL The size of the \p user_id is too small.