mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-02-11 00:40:05 +00:00
psa: fix parameters' names of psa_key_derivation_verify_bytes()
PSA buffers and their length should follow a pattern for which the latter is named after the former as <buffer_name>_length, but this was not the case for psa_key_derivation_verify_bytes(). This makes life of crypto.h parsers (for automatic code generation) harder. This commit aims at solving this problem. Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
This commit is contained in:
parent
71ff969ca2
commit
d30cc09bc7
@ -3865,8 +3865,8 @@ psa_status_t psa_key_derivation_output_key_ext(
|
|||||||
* psa_key_derivation_abort().
|
* psa_key_derivation_abort().
|
||||||
*
|
*
|
||||||
* \param[in,out] operation The key derivation operation object to read from.
|
* \param[in,out] operation The key derivation operation object to read from.
|
||||||
* \param[in] expected_output Buffer containing the expected derivation output.
|
* \param[in] expected Buffer containing the expected derivation output.
|
||||||
* \param output_length Length of the expected output; this is also the
|
* \param expected_length Length of the expected output; this is also the
|
||||||
* number of bytes that will be read.
|
* number of bytes that will be read.
|
||||||
*
|
*
|
||||||
* \retval #PSA_SUCCESS \emptydescription
|
* \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_status_t psa_key_derivation_verify_bytes(
|
||||||
psa_key_derivation_operation_t *operation,
|
psa_key_derivation_operation_t *operation,
|
||||||
const uint8_t *expected_output,
|
const uint8_t *expected,
|
||||||
size_t output_length);
|
size_t expected_length);
|
||||||
|
|
||||||
/** Compare output data from a key derivation operation to an expected value
|
/** Compare output data from a key derivation operation to an expected value
|
||||||
* stored in a key object.
|
* stored in a key object.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user