Fix key type that wasn't updated earlier

Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
This commit is contained in:
Manuel Pégourié-Gonnard 2021-05-12 10:05:45 +02:00
parent 2c44daf0bc
commit 4e02f01815

View File

@ -3736,7 +3736,7 @@ psa_status_t psa_key_derivation_verify_bytes(
*
* This function calculates output bytes from a key derivation algorithm and
* compares those bytes to an expected value, provided as key of type
* #PSA_KEY_TYPE_RAW_DATA, in constant time.
* #PSA_KEY_TYPE_PASSWORD_HASH.
* If you view the key derivation's output as a stream of bytes, this
* function destructively reads the number of bytes corresponding the the
* length of the expected value from the stream before comparing them.