mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-02-05 00:40:09 +00:00
Fix errors in psa_wipe_output_buffer() doc comment.
Signed-off-by: Paul Elliott <paul.elliott@arm.com>
This commit is contained in:
parent
fe9e77ff7a
commit
6d99f0c265
@ -2684,7 +2684,7 @@ static psa_status_t psa_sign_verify_check_alg(int input_is_message,
|
||||
}
|
||||
|
||||
/**
|
||||
* \brief Fill the unused part of the output buffer(the
|
||||
* \brief Fill the unused part of the output buffer (the
|
||||
* whole buffer on error, the trailing part on
|
||||
* success) with something that isn't a valid
|
||||
* signature (barring an attack on the signature
|
||||
@ -2692,13 +2692,13 @@ static psa_status_t psa_sign_verify_check_alg(int input_is_message,
|
||||
* caller doesn't check the return status properly.
|
||||
*
|
||||
* \param output_buffer pointer to buffer to wipe. May not be NULL
|
||||
* unless /p output_buffer_size is zero.
|
||||
* unless \p output_buffer_size is zero.
|
||||
* \param status status of function called to generate
|
||||
* output_buffer originally
|
||||
* \param output_buffer_size Size of output buffer. If zero, /p output_buffer
|
||||
* \param output_buffer_size Size of output buffer. If zero, \p output_buffer
|
||||
* could be NULL
|
||||
* \param output_buffer_length Length of data written to output_buffer, must be
|
||||
* less than /p output_buffer_size
|
||||
* less than \p output_buffer_size
|
||||
*/
|
||||
static void psa_wipe_output_buffer(uint8_t *output_buffer, psa_status_t status,
|
||||
size_t output_buffer_size, size_t output_buffer_length)
|
||||
|
Loading…
x
Reference in New Issue
Block a user