Function esp_idf_sys::psa_crypto_driver_pake_get_password
source · pub unsafe extern "C" fn psa_crypto_driver_pake_get_password(
inputs: *const psa_crypto_driver_pake_inputs_t,
buffer: *mut u8,
buffer_size: usize,
buffer_length: *mut usize,
) -> psa_status_t
Expand description
Get the password from given inputs.
\param[in] inputs Operation inputs. \param[out] buffer Return buffer for password. \param buffer_size Size of the return buffer in bytes. \param[out] buffer_length Actual size of the password in bytes.
\retval #PSA_SUCCESS Success. \retval #PSA_ERROR_BAD_STATE Password hasn’t been set yet.