![]() |
xilasu
Vitis Drivers API Documentation
|
This file contains the ECC definitions which are common across the client and server.
MODIFICATION HISTORY:
Ver Who Date Changes
1.0 yog 07/11/24 Initial release yog 08/19/24 Added XAsu_EccParams structure, module command ID's and curve type values ss 12/02/24 Added support for ECDH yog 03/25/25 Added XAsu_EccKeyParams structure and XASU_ECC_GEN_PUBKEY_CMD_ID.
Data Structures | |
| struct | XAsu_EccParams |
| This structure contains ECC params info. More... | |
| struct | XAsu_EccKeyParams |
| This structure contains ECC params info for public key generation. More... | |
Macros | |
| #define | XASU_DOUBLE_CURVE_LENGTH_SHIFT (0x1U) |
| Shift value to double the curve length. More... | |
| #define | XASU_ECC_GEN_SIGNATURE_CMD_ID (0U) |
| Command ID for ECC sign generation. More... | |
| #define | XASU_ECC_VERIFY_SIGNATURE_CMD_ID (1U) |
| Command ID for ECC sign verification. More... | |
| #define | XASU_ECC_KAT_CMD_ID (2U) |
| Command ID for ECC KAT. More... | |
| #define | XASU_ECC_GET_INFO_CMD_ID (3U) |
| Command ID for ECC Get Info. More... | |
| #define | XASU_ECDH_SHARED_SECRET_CMD_ID (4U) |
| Command ID for ECDH generate shared secret. More... | |
| #define | XASU_ECDH_KAT_CMD_ID (5U) |
| Command ID for ECDH KAT. More... | |
| #define | XASU_ECC_GEN_PUBKEY_CMD_ID (6U) |
| Command ID for ECC public key generation. More... | |
| #define | XASU_ECC_NIST_P192 (1U) |
| NIST P-192 curve. More... | |
| #define | XASU_ECC_NIST_P224 (2U) |
| NIST P-224 curve. More... | |
| #define | XASU_ECC_NIST_P256 (3U) |
| NIST P-256 curve. More... | |
| #define | XASU_ECC_NIST_P384 (4U) |
| NIST P-384 curve. More... | |
| #define | XASU_ECC_NIST_P521 (5U) |
| NIST P-521 curve. More... | |
| #define | XASU_ECC_BRAINPOOL_P256 (21U) |
| Brainpool P-256 curve. More... | |
| #define | XASU_ECC_BRAINPOOL_P320 (22U) |
| Brainpool P-320 curve. More... | |
| #define | XASU_ECC_BRAINPOOL_P384 (23U) |
| Brainpool P-384 curve. More... | |
| #define | XASU_ECC_BRAINPOOL_P512 (24U) |
| Brainpool P-512 curve. More... | |
| #define | XASU_ECC_P192_SIZE_IN_BYTES (24U) |
| Size of NIST P-192 curve in bytes. More... | |
| #define | XASU_ECC_P224_SIZE_IN_BYTES (28U) |
| Size of NIST P-224 curve in bytes. More... | |
| #define | XASU_ECC_P256_SIZE_IN_BYTES (32U) |
| Size of NIST P-256 curve in bytes. More... | |
| #define | XASU_ECC_P320_SIZE_IN_BYTES (40U) |
| Size of NIST P-320 curve in bytes. More... | |
| #define | XASU_ECC_P384_SIZE_IN_BYTES (48U) |
| Size of NIST P-384 curve in bytes. More... | |
| #define | XASU_ECC_P512_SIZE_IN_BYTES (64U) |
| Size of Brainpool P-512 curve in bytes. More... | |
| #define | XASU_ECC_P521_SIZE_IN_BYTES (66U) |
| Size of NIST P-521 curve in bytes. More... | |