#include <stdint.h>
#include <ti/drivers/crypto/CryptoCC26X4_s.h>
#include <ti/drivers/ECDSA.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.
§ ECDSA_S_MSG_TYPE_CONSTRUCT
§ ECDSA_S_MSG_TYPE_OPEN
§ ECDSA_S_MSG_TYPE_REGISTER_CALLBACK
§ ECDSA_S_MSG_TYPE_CLOSE
§ ECDSA_S_MSG_TYPE_SIGN
§ ECDSA_S_MSG_TYPE_VERIFY
§ ECDSA_S_MSG_TYPE_CANCEL_OPERATION
§ CONFIG_ECDSA_S_CONFIG_POOL_SIZE
#define CONFIG_ECDSA_S_CONFIG_POOL_SIZE 1 |
§ ECDSA_SECURE_CALLBACK_COUNT
§ ECDSA_s_handlePsaMsg()
psa_status_t ECDSA_s_handlePsaMsg |
( |
psa_msg_t * |
msg | ) |
|
Handles PSA messages for ECDSA 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. |
§ ECDSA_s_init()
void ECDSA_s_init |
( |
void |
| ) |
|
Initializes the ECDSA secure driver.
- Note
- This function should be called by secure partition thread only.