Fix copypasta
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
diff --git a/include/psa/crypto.h b/include/psa/crypto.h
index da1418f..0878836 100644
--- a/include/psa/crypto.h
+++ b/include/psa/crypto.h
@@ -3774,7 +3774,7 @@
* the policy must be the same as in the current
* operation.
* \param[in,out] operation The key derivation operation object to read from.
- * \param[in] method Customization parameters for the key generation.
+ * \param[in] method Customization parameters for the key derivation.
* When this is #PSA_KEY_GENERATION_METHOD_INIT
* with \p method_data_length = 0,
* this function is equivalent to
@@ -4141,7 +4141,7 @@
* When this is #PSA_KEY_GENERATION_METHOD_INIT
* with \p method_data_length = 0,
* this function is equivalent to
- * psa_key_derivation_output_key().
+ * psa_key_generation_output_key().
* \param method_data_length
* Length of `method.data` in bytes.
* \param[out] key On success, an identifier for the newly created