![]() |
![]() |
EdDSA driver implementation for the CC27XX family.
===========================================================================
This file should only be included in the board file to fill the EDDSA_config struct.
The driver implementation supports the following curves for EdDSA:
| Curve | Supported |
|---|---|
| Ed25519 | Yes |
| Ed448 | No |
#include <ti/drivers/EDDSA.h>
Go to the source code of this file.
Data Structures | |
| struct | EDDSALPF3HSM_HWAttrs |
| EDDSALPF3HSM Hardware Attributes. More... | |
| struct | EDDSALPF3HSM_Object |
| EDDSALPF3HSM Object. More... | |
Macros | |
| #define | EDDSA_COMPONENT_VECTOR_LENGTH_BYTES 72 |
| #define | EDDSA_CURVE_LENGTH_25519 255 |
| #define | EDDSALPF3HSM_STATUS_RESOURCE_UNAVAILABLE (ECDSA_STATUS_RESERVED - 0) |
| An error status code returned if the hardware or software resource is currently unavailable. More... | |
| #define | EDDSALPF3HSM_STATUS_HARDWARE_ERROR (ECDSA_STATUS_RESERVED - 1) |
| An error ocurred on the HW level. More... | |
| #define | EDDSALPF3HSM_STATUS_INVALID_MESSAGE_LENGTH (ECDSA_STATUS_RESERVED - 2) |
| Message length must be greater than zero. More... | |
| #define | EDDSALPF3HSM_STATUS_INVALID_KEY_ENCODING (ECDSA_STATUS_RESERVED - 3) |
| Invalid encoding for private or public keys or both. More... | |
| #define EDDSA_COMPONENT_VECTOR_LENGTH_BYTES 72 |
| #define EDDSA_CURVE_LENGTH_25519 255 |
| #define EDDSALPF3HSM_STATUS_RESOURCE_UNAVAILABLE (ECDSA_STATUS_RESERVED - 0) |
An error status code returned if the hardware or software resource is currently unavailable.
EDDSA driver implementations may have hardware or software limitations on how many clients can simultaneously perform operations. This status code is returned if the mutual exclusion mechanism signals that an operation cannot currently be performed.
| #define EDDSALPF3HSM_STATUS_HARDWARE_ERROR (ECDSA_STATUS_RESERVED - 1) |
An error ocurred on the HW level.
| #define EDDSALPF3HSM_STATUS_INVALID_MESSAGE_LENGTH (ECDSA_STATUS_RESERVED - 2) |
Message length must be greater than zero.
| #define EDDSALPF3HSM_STATUS_INVALID_KEY_ENCODING (ECDSA_STATUS_RESERVED - 3) |
Invalid encoding for private or public keys or both.