#include <stdint.h>
#include <ti/drivers/crypto/CryptoCC26X4_s.h>
#include <ti/drivers/ECDH.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.
§ ECDH_S_MSG_TYPE_CONSTRUCT
§ ECDH_S_MSG_TYPE_OPEN
§ ECDH_S_MSG_TYPE_REGISTER_CALLBACK
§ ECDH_S_MSG_TYPE_CLOSE
§ ECDH_S_MSG_TYPE_GENERATE_PUBLIC_KEY
§ ECDH_S_MSG_TYPE_COMPUTE_SHARED_SECRET
§ ECDH_S_MSG_TYPE_CANCEL_OPERATION
§ CONFIG_ECDH_S_CONFIG_POOL_SIZE
#define CONFIG_ECDH_S_CONFIG_POOL_SIZE 1 |
§ ECDH_SECURE_CALLBACK_COUNT
§ ECDH_s_handlePsaMsg()
psa_status_t ECDH_s_handlePsaMsg |
( |
psa_msg_t * |
msg | ) |
|
Handles PSA messages for ECDH 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. |
§ ECDH_s_init()
void ECDH_s_init |
( |
void |
| ) |
|
Initializes the ECDH secure driver.
- Note
- This function should be called by secure partition thread only.