Fix Doxygen warnings
diff --git a/include/psa/crypto_accel_driver.h b/include/psa/crypto_accel_driver.h
index 125d4c2..1e1940c 100644
--- a/include/psa/crypto_accel_driver.h
+++ b/include/psa/crypto_accel_driver.h
@@ -644,7 +644,7 @@
* Where `ALGO` is the name of the signing algorithm
*
* This function supports any asymmetric-key output from psa_export_key() as
- * the buffer in \ref p_key. Refer to the documentation of \ref
+ * the buffer in \p p_key. Refer to the documentation of \ref
* psa_export_key() for the formats.
*
* \param[in] p_key A buffer containing the private key
@@ -683,7 +683,7 @@
* Where `ALGO` is the name of the signing algorithm
*
* This function supports any output from \ref psa_export_public_key() as the
- * buffer in \ref p_key. Refer to the documentation of \ref
+ * buffer in \p p_key. Refer to the documentation of \ref
* psa_export_public_key() for the format of public keys and to the
* documentation of \ref psa_export_key() for the format for other key types.
*
@@ -721,7 +721,7 @@
* Where `ALGO` is the name of the encryption algorithm
*
* This function supports any output from \ref psa_export_public_key() as the
- * buffer in \ref p_key. Refer to the documentation of \ref
+ * buffer in \p p_key. Refer to the documentation of \ref
* psa_export_public_key() for the format of public keys and to the
* documentation of \ref psa_export_key() for the format for other key types.
*
@@ -774,7 +774,7 @@
* Where `ALGO` is the name of the encryption algorithm
*
* This function supports any asymmetric-key output from psa_export_key() as
- * the buffer in \ref p_key. Refer to the documentation of \ref
+ * the buffer in \p p_key. Refer to the documentation of \ref
* psa_export_key() for the formats.
*
* \param[in] p_key A buffer containing the private key material
diff --git a/include/psa/crypto_se_driver.h b/include/psa/crypto_se_driver.h
index 870f69d..4772f30 100644
--- a/include/psa/crypto_se_driver.h
+++ b/include/psa/crypto_se_driver.h
@@ -767,10 +767,10 @@
* \brief A function that generates a symmetric or asymmetric key on a secure
* element
*
- * If `type` is asymmetric (`#define PSA_KEY_TYPE_IS_ASYMMETRIC(type) == 1`),
+ * If \p type is asymmetric (`#PSA_KEY_TYPE_IS_ASYMMETRIC(\p type) == 1`),
* the public component of the generated key will be placed in `p_pubkey_out`.
* The format of the public key information will match the format specified for
- * the `psa_export_key()` function for the key type.
+ * the psa_export_key() function for the key type.
*
* \param[in] key_slot Slot where the generated key will be placed
* \param[in] type The type of the key to be generated
@@ -784,7 +784,7 @@
* interpretation of this parameter should match the
* interpretation in the `extra` parameter is the
* `psa_generate_key` function
- * \param[in] extra_size The size in bytes of the \ref extra buffer
+ * \param[in] extra_size The size in bytes of the \p extra buffer
* \param[out] p_pubkey_out The buffer where the public key information will
* be placed
* \param[in] pubkey_out_size The size in bytes of the `p_pubkey_out` buffer