Improve psa_pake_set_password_mhf() documentation

Signed-off-by: Janos Follath <janos.follath@arm.com>
This commit is contained in:
Janos Follath 2021-05-14 12:16:36 +01:00
parent 1062a24152
commit e1a080f1f8

View file

@ -4361,14 +4361,14 @@ psa_status_t psa_pake_set_password_key(psa_pake_operation_t *operation,
* accessed through the key derivation interface and the result can be supplied * accessed through the key derivation interface and the result can be supplied
* to the PAKE operation in the form of a key derivation object. * to the PAKE operation in the form of a key derivation object.
* *
* \param[in,out] operation The operation object to set the password for. It * \param[in,out] operation The operation object to set the password for.
* must have been set up by psa_pake_setup() and * It must have been set up by psa_pake_setup()
* not yet in use. * and not yet in use.
* \param key_derivation An ongoing key derivation operation set up from * \param[in,out] key_derivation An ongoing key derivation operation set up
* the password and in a state suitable for * from the password and in a state suitable for
* calling psa_key_derivation_output_bytes(). * calling psa_key_derivation_output_bytes().
* \param input_length Number of bytes to input from the * \param input_length Number of bytes to input from the
* \p key_derivation operation. * \p key_derivation operation.
* *
* \retval #PSA_SUCCESS * \retval #PSA_SUCCESS
* Success. * Success.