Merge pull request #9308 from valeriosetti/fix-psa_key_derivation_verify_bytes

psa: fix parameters' names of psa_key_derivation_verify_bytes()
This commit is contained in:
Gilles Peskine 2024-07-15 11:01:08 +00:00 committed by GitHub
commit 5f616e9601
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3865,8 +3865,8 @@ psa_status_t psa_key_derivation_output_key_ext(
* psa_key_derivation_abort().
*
* \param[in,out] operation The key derivation operation object to read from.
* \param[in] expected_output Buffer containing the expected derivation output.
* \param output_length Length of the expected output; this is also the
* \param[in] expected Buffer containing the expected derivation output.
* \param expected_length Length of the expected output; this is also the
* number of bytes that will be read.
*
* \retval #PSA_SUCCESS \emptydescription
@ -3896,8 +3896,8 @@ psa_status_t psa_key_derivation_output_key_ext(
*/
psa_status_t psa_key_derivation_verify_bytes(
psa_key_derivation_operation_t *operation,
const uint8_t *expected_output,
size_t output_length);
const uint8_t *expected,
size_t expected_length);
/** Compare output data from a key derivation operation to an expected value
* stored in a key object.