diff --git a/include/psa/crypto.h b/include/psa/crypto.h index 6fee2b4676..dfd47314f5 100644 --- a/include/psa/crypto.h +++ b/include/psa/crypto.h @@ -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.