Rename verify_output_xxx() to verify_xxx()
Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
diff --git a/include/psa/crypto.h b/include/psa/crypto.h
index f9e051e..fdab2b1 100644
--- a/include/psa/crypto.h
+++ b/include/psa/crypto.h
@@ -3696,7 +3696,7 @@
* It is implementation-dependent whether a failure to initialize
* results in this error code.
*/
-psa_status_t psa_key_derivation_verify_output_bytes(
+psa_status_t psa_key_derivation_verify_bytes(
psa_key_derivation_operation_t *operation,
const uint8_t *expected_output,
size_t output_length);
@@ -3713,7 +3713,7 @@
* The operation's capacity decreases by the number of bytes read.
*
* This is functionally equivalent to exporting the key and calling
- * psa_key_derivation_verify_output_bytes() on the result, except that it
+ * psa_key_derivation_verify_bytes() on the result, except that it
* works even if the key cannot be exported.
*
* If this function returns an error status other than
@@ -3757,7 +3757,7 @@
* It is implementation-dependent whether a failure to initialize
* results in this error code.
*/
-psa_status_t psa_key_derivation_verify_output_key(
+psa_status_t psa_key_derivation_verify_key(
psa_key_derivation_operation_t *operation,
psa_key_id_t expected);
diff --git a/include/psa/crypto_values.h b/include/psa/crypto_values.h
index 4bc4c1a..7c3ca2c 100644
--- a/include/psa/crypto_values.h
+++ b/include/psa/crypto_values.h
@@ -2206,8 +2206,8 @@
* psa_key_derivation_input_key() at the step
* #PSA_KEY_DERIVATION_INPUT_SECRET of #PSA_KEY_DERIVATION_INPUT_PASSWORD
* depending on the algorithm, and allows the use of
- * psa_key_derivation_verify_output_bytes() or
- * psa_key_derivation_verify_output_key() at the end of the operation.
+ * psa_key_derivation_verify_bytes() or
+ * psa_key_derivation_verify_key() at the end of the operation.
*/
#define PSA_KEY_USAGE_PASSWORD_HASH_AND_VERIFY ((psa_key_usage_t)0x00008000)
@@ -2215,7 +2215,7 @@
* hash will be compared.
*
* This flag allows key to be used as the \c key argument of
- * psa_key_derivation_verify_output_key().
+ * psa_key_derivation_verify_key().
*/
#define PSA_KEY_USAGE_PASSWORD_HASH_VERIFIER ((psa_key_usage_t)0x00010000)
@@ -2236,7 +2236,7 @@
* key_derivation_input_bytes()). In this case, the derivation operation
* may not be used to derive keys: the operation will only allow
* psa_key_derivation_output_bytes() or
- * psa_key_derivation_verify_output_xxx() but not
+ * psa_key_derivation_verify_xxx() but not
* psa_key_derivation_output_key().
*/
#define PSA_KEY_DERIVATION_INPUT_SECRET ((psa_key_derivation_step_t)0x0101)