#include <stdint.h>
#include <ti/drivers/crypto/CryptoCC26X4_s.h>
#include <ti/drivers/AESCTRDRBG.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.
§ AESCTRDRBG_S_MSG_TYPE_CONSTRUCT
§ AESCTRDRBG_S_MSG_TYPE_OPEN
§ AESCTRDRBG_S_MSG_TYPE_CLOSE
§ AESCTRDRBG_S_MSG_TYPE_RESEED
§ AESCTRDRBG_S_MSG_TYPE_GET_RANDOM_BYTES
§ AESCTRDRBG_S_MSG_TYPE_GENERATE_KEY
§ CONFIG_AESCTRDRBG_S_CONFIG_POOL_SIZE
#define CONFIG_AESCTRDRBG_S_CONFIG_POOL_SIZE 1 |
§ AESCTRDRBG_s_handlePsaMsg()
psa_status_t AESCTRDRBG_s_handlePsaMsg |
( |
psa_msg_t * |
msg | ) |
|
Handles PSA messages for AES CTR DRBG 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. |
§ AESCTRDRBG_s_init()
void AESCTRDRBG_s_init |
( |
void |
| ) |
|
Initializes the AES CTR DRBG secure driver.
- Note
- This function should be called by secure partition thread only.