#include <stdint.h>
#include <ti/drivers/crypto/CryptoCC26X4_s.h>
#include <ti/drivers/AESGCM.h>
#include <ti/drivers/tfm/SecureCallback.h>
#include <third_party/tfm/interface/include/psa/error.h>
#include <third_party/tfm/interface/include/psa/service.h>
Go to the source code of this file.
§ AESGCM_S_MSG_TYPE_CONSTRUCT
§ AESGCM_S_MSG_TYPE_OPEN
§ AESGCM_S_MSG_TYPE_REGISTER_CALLBACK
§ AESGCM_S_MSG_TYPE_CLOSE
§ AESGCM_S_MSG_TYPE_ONE_STEP_ENCRYPT
§ AESGCM_S_MSG_TYPE_ONE_STEP_DECRYPT
§ AESGCM_S_MSG_TYPE_SETUP_ENCRYPT
§ AESGCM_S_MSG_TYPE_SETUP_DECRYPT
§ AESGCM_S_MSG_TYPE_SET_LENGTHS
§ AESGCM_S_MSG_TYPE_SET_IV
§ AESGCM_S_MSG_TYPE_ADD_AAD
§ AESGCM_S_MSG_TYPE_ADD_DATA
§ AESGCM_S_MSG_TYPE_FINALIZE_ENCRYPT
§ AESGCM_S_MSG_TYPE_FINALIZE_DECRYPT
§ AESGCM_S_MSG_TYPE_CANCEL_OPERATION
§ CONFIG_AESGCM_S_CONFIG_POOL_SIZE
#define CONFIG_AESGCM_S_CONFIG_POOL_SIZE 1 |
§ AESGCM_SECURE_CALLBACK_COUNT
§ AESGCM_s_handlePsaMsg()
psa_status_t AESGCM_s_handlePsaMsg |
( |
psa_msg_t * |
msg | ) |
|
Handles PSA messages for AES GCM secure driver.
- Note
- This function should be called by secure partition thread only.
- Parameters
-
[in] | msg | pointer to PSA message |
- Return values
-
PSA_SUCCESS | if successful. |
PSA_ERROR_PROGRAMMER_ERROR | if any args point to secure addresses. |
§ AESGCM_s_init()
void AESGCM_s_init |
( |
void |
| ) |
|
Initializes the AES GCM secure driver.
- Note
- This function should be called by secure partition thread only.