psa: driver: Fix names of AEAD functions
The driver AEAD functions had a `psa_` prefix. They should have had a
`pcd_` prefix like the other driver functions.
diff --git a/include/psa/crypto_driver.h b/include/psa/crypto_driver.h
index 737476a..0e07eef 100644
--- a/include/psa/crypto_driver.h
+++ b/include/psa/crypto_driver.h
@@ -1236,7 +1236,7 @@
* \retval #PSA_SUCCESS
* Success.
*/
-typedef psa_status_t (*psa_aead_opaque_encrypt_t)(psa_key_slot_t key_slot,
+typedef psa_status_t (*pcd_aead_opaque_encrypt_t)(psa_key_slot_t key_slot,
psa_algorithm_t algorithm,
const uint8_t *p_nonce,
size_t nonce_length,
@@ -1276,7 +1276,7 @@
* \retval #PSA_SUCCESS
* Success.
*/
-typedef psa_status_t (*psa_aead_opaque_decrypt_t)(psa_key_slot_t key_slot,
+typedef psa_status_t (*pcd_aead_opaque_decrypt_t)(psa_key_slot_t key_slot,
psa_algorithm_t algorithm,
const uint8_t *p_nonce,
size_t nonce_length,
@@ -1297,11 +1297,11 @@
*
* If one of the functions is not implemented, it should be set to NULL.
*/
-struct psa_aead_opaque_t {
+struct pcd_aead_opaque_t {
/** Function that performs the AEAD encrypt operation */
- psa_aead_opaque_encrypt_t *p_encrypt;
+ pcd_aead_opaque_encrypt_t *p_encrypt;
/** Function that performs the AEAD decrypt operation */
- psa_aead_opaque_decrypt_t *p_decrypt;
+ pcd_aead_opaque_decrypt_t *p_decrypt;
};
/**@}*/
@@ -1356,7 +1356,7 @@
* \retval #PSA_SUCCESS
*/
-typedef psa_status_t (*psa_aead_transparent_encrypt_t)(const uint8_t *p_key,
+typedef psa_status_t (*pcd_aead_transparent_encrypt_t)(const uint8_t *p_key,
size_t key_length,
psa_algorithm_t alg,
const uint8_t *nonce,
@@ -1407,7 +1407,7 @@
* \retval #PSA_SUCCESS
* Success.
*/
-typedef psa_status_t (*psa_aead_transparent_decrypt_t)(const uint8_t *p_key,
+typedef psa_status_t (*pcd_aead_transparent_decrypt_t)(const uint8_t *p_key,
size_t key_length,
psa_algorithm_t alg,
const uint8_t *nonce,