![]() |
![]() |
#include <stdint.h>#include <stdbool.h>#include <ti/drivers/ECDH.h>#include <third_party/hsmddk/include/Kit/EIP130/DomainHelper/incl/eip130_domain_ecc_curves.h>
Go to the source code of this file.
Data Structures | |
| struct | ECDHLPF3HSM_HWAttrs |
| Hardware-specific configuration attributes. More... | |
| struct | ECDHLPF3HSM_Object |
| ECDHLPF3HSM Object. More... | |
Macros | |
| #define | ECDH_COMPONENT_VECTOR_LENGTH 144 |
| #define | ECDHLPF3HSM_STATUS_HARDWARE_ERROR (ECDH_STATUS_RESERVED - 0) |
| An error ocurred on the HW level. More... | |
| #define | ECDHLPF3HSM_STATUS_NO_VALID_CURVE_TYPE_PROVIDED (ECDH_STATUS_RESERVED - 1) |
| The curve provided is not supported. More... | |
| #define | ECDHLPF3HSM_STATUS_INVALID_PRIVATE_KEY_ENCODING (ECDH_STATUS_RESERVED - 2) |
| The private key encoding is not HSM masked to signify an HSM operation. More... | |
| #define | ECDHLPF3HSM_STATUS_INVALID_PUBLIC_KEY_ENCODING (ECDH_STATUS_RESERVED - 3) |
| The public key encoding is not HSM masked to signify an HSM operation. More... | |
| #define | ECDHLPF3HSM_STATUS_INVALID_SHARED_SECRET_KEY_ENCODING (ECDH_STATUS_RESERVED - 4) |
| The shared secret key encoding is not HSM masked to signify an HSM operation. More... | |
| #define | ECDHLPF3HSM_STATUS_INVALID_PRIVATE_KEY_SIZE (ECDH_STATUS_RESERVED - 5) |
| The private key length does not match the curve type length provided. More... | |
| #define | ECDHLPF3HSM_STATUS_INVALID_PUBLIC_KEY_SIZE (ECDH_STATUS_RESERVED - 6) |
| The public key length does not match the curve type length provided. More... | |
| #define | ECDHLPF3HSM_STATUS_INVALID_SHARED_SECRET_KEY_SIZE (ECDH_STATUS_RESERVED - 7) |
| The shared secret key length does not match the curve type length provided. More... | |
| #define | ECDHLPF3HSM_STATUS_INVALID_ECC_KEYS (ECDH_STATUS_RESERVED - 8) |
| The public key length does not match the curve type length provided. More... | |
| #define | ECDHLPF3HSM_STATUS_INVALID_PUBLIC_KEY_OCTET_VALUE (ECDH_STATUS_RESERVED - 9) |
| The public key octet string value is incorrect. More... | |
Enumerations | |
| enum | ECDH_DomainID { ECDH_DOMAIN_ID_SEC = 0, ECDH_DOMAIN_ID_BRP = 1 } |
| Enum for the curve domain id supported by the driver. More... | |
| #define ECDH_COMPONENT_VECTOR_LENGTH 144 |
| #define ECDHLPF3HSM_STATUS_HARDWARE_ERROR (ECDH_STATUS_RESERVED - 0) |
An error ocurred on the HW level.
| #define ECDHLPF3HSM_STATUS_NO_VALID_CURVE_TYPE_PROVIDED (ECDH_STATUS_RESERVED - 1) |
The curve provided is not supported.
| #define ECDHLPF3HSM_STATUS_INVALID_PRIVATE_KEY_ENCODING (ECDH_STATUS_RESERVED - 2) |
The private key encoding is not HSM masked to signify an HSM operation.
| #define ECDHLPF3HSM_STATUS_INVALID_PUBLIC_KEY_ENCODING (ECDH_STATUS_RESERVED - 3) |
The public key encoding is not HSM masked to signify an HSM operation.
| #define ECDHLPF3HSM_STATUS_INVALID_SHARED_SECRET_KEY_ENCODING (ECDH_STATUS_RESERVED - 4) |
The shared secret key encoding is not HSM masked to signify an HSM operation.
| #define ECDHLPF3HSM_STATUS_INVALID_PRIVATE_KEY_SIZE (ECDH_STATUS_RESERVED - 5) |
The private key length does not match the curve type length provided.
| #define ECDHLPF3HSM_STATUS_INVALID_PUBLIC_KEY_SIZE (ECDH_STATUS_RESERVED - 6) |
The public key length does not match the curve type length provided.
| #define ECDHLPF3HSM_STATUS_INVALID_SHARED_SECRET_KEY_SIZE (ECDH_STATUS_RESERVED - 7) |
The shared secret key length does not match the curve type length provided.
| #define ECDHLPF3HSM_STATUS_INVALID_ECC_KEYS (ECDH_STATUS_RESERVED - 8) |
The public key length does not match the curve type length provided.
| #define ECDHLPF3HSM_STATUS_INVALID_PUBLIC_KEY_OCTET_VALUE (ECDH_STATUS_RESERVED - 9) |
The public key octet string value is incorrect.
| enum ECDH_DomainID |