Type definitions of mcuxClEcc component. More...
#include <stdint.h>
Go to the source code of this file.
Data Structures | |
struct | mcuxClEcc_DomainParam_t |
Parameter structure of elliptic curve of the form, y^2 = x^3 + a*x + b modulo prime p. More... | |
struct | mcuxClEcc_KeyGen_Param_t |
Parameter structure for function mcuxClEcc_KeyGen. More... | |
struct | mcuxClEcc_Sign_Param_t |
Parameter structure for function mcuxClEcc_Sign. More... | |
struct | mcuxClEcc_Verify_Param_t |
Parameter structure for function mcuxClEcc_Verify. More... | |
struct | mcuxClEcc_PointMult_Param_t |
Parameter structure for function mcuxClEcc_PointMult. More... | |
Macros | |
#define | MCUXCLECC_STATUS_OK |
Operation was successful. More... | |
#define | MCUXCLECC_STATUS_KEYGEN_OK |
ECDSA private key and public key are generated successfully. More... | |
#define | MCUXCLECC_STATUS_KEYGEN_INVALID_PARAMS |
Parameter(s) is invalid. More... | |
#define | MCUXCLECC_STATUS_KEYGEN_RNG_ERROR |
Random number (DRBG / PRNG) error (unexpected behavior). More... | |
#define | MCUXCLECC_STATUS_SIGN_OK |
ECDSA signature is generated successfully. More... | |
#define | MCUXCLECC_STATUS_SIGN_INVALID_PARAMS |
Parameter(s) is invalid. More... | |
#define | MCUXCLECC_STATUS_SIGN_RNG_ERROR |
Random number (DRBG / PRNG) error (unexpected behavior). More... | |
#define | MCUXCLECC_STATUS_VERIFY_OK |
ECDSA Signature is valid. More... | |
#define | MCUXCLECC_STATUS_VERIFY_NOT_OK |
ECDSA Signature is invalid. More... | |
#define | MCUXCLECC_STATUS_VERIFY_INVALID_PARAMS |
Parameter(s) is invalid. More... | |
#define | MCUXCLECC_STATUS_POINTMULT_OK |
Point multiplication is calculated successfully, and the result is not the neutral point;. More... | |
#define | MCUXCLECC_STATUS_POINTMULT_INVALID_PARAMS |
Parameter(s) is invalid. More... | |
#define | MCUXCLECC_STATUS_POINTMULT_NEUTRAL_POINT |
The result of point multiplication is the neutral point. More... | |
#define | MCUXCLECC_STATUS_POINTMULT_RNG_ERROR |
Random number (DRBG / PRNG) error (unexpected behavior). More... | |
#define | MCUXCLECC_STATUS_FAULT_ATTACK |
Fault attack (unexpected behavior) is detected. More... | |
#define | MCUXCLECC_STATUS_MONT_DHKEYGENERATION_OK |
MONTDH keys are generated successfully. More... | |
#define | MCUXCLECC_STATUS_MONT_DHKEYAGREEMENT_OK |
MONTDH shared secred computed successfully. More... | |
#define | MCUXCLECC_STATUS_MONT_DHKEYAGREEMENT_ERROR_SMALL_SUBGROUP |
MONTDH public key lies in small subgroup. More... | |
#define | MCUXCLECC_STATUS_MONT_RNG_ERROR |
Random number (DRBG / PRNG) error (unexpected behavior). More... | |
#define | MCUXCLECC_MONT_CURVE25519_SIZE_PRIVATEKEY |
Byte length of a Curve25519 private key. More... | |
#define | MCUXCLECC_MONT_CURVE25519_SIZE_PUBLICKEY |
Byte length of a Curve25519 public key. More... | |
#define | MCUXCLECC_MONT_CURVE25519_SIZE_SHAREDSECRET |
Byte length of a Curve25519 shared secret. More... | |
#define | MCUXCLECC_MONT_CURVE25519_SIZE_PRIMEP |
Byte length of the underlying prime p used in Curve25519. More... | |
#define | MCUXCLECC_MONT_CURVE25519_SIZE_BASEPOINTORDER |
Byte length of the base point order n used in Curve25519. More... | |
#define | mcuxClEcc_DomainParam_misc_Pack(byteLenN, byteLenP) |
mcuxClEcc macros and defines to pack or access components of misc parameter of mcuxClEcc_DomainParam_t More... | |
#define | mcuxClEcc_DomainParam_misc_byteLenP_offset |
Offset of byteLenP in packed misc parameter of mcuxClEcc_DomainParam_t. More... | |
#define | mcuxClEcc_DomainParam_misc_byteLenP_mask |
Mask to extract byteLenP from packed misc parameter of mcuxClEcc_DomainParam_t. More... | |
#define | mcuxClEcc_DomainParam_misc_byteLenN_offset |
Offset of byteLenN in packed misc parameter of mcuxClEcc_DomainParam_t. More... | |
#define | mcuxClEcc_DomainParam_misc_byteLenN_mask |
Mask to extract byteLenN from packed misc parameter of mcuxClEcc_DomainParam_t. More... | |
#define | mcuxClEcc_Sign_Param_optLen_Pack(byteLenHash) |
mcuxClEcc macros and defines to pack or access components of optLen parameter of mcuxClEcc_Sign_Param_t More... | |
#define | mcuxClEcc_Sign_Param_optLen_byteLenHash_offset |
Offset of byteLenHash in packed optLen parameter of mcuxClEcc_Sign_Param_t. More... | |
#define | mcuxClEcc_Sign_Param_optLen_byteLenHash_mask |
Mask to extract byteLenHash from packed optLen parameter of mcuxClEcc_Sign_Param_t. More... | |
#define | mcuxClEcc_Verify_Param_optLen_Pack(byteLenHash) |
mcuxClEcc macros and defines to pack or access components of optLen parameter of mcuxClEcc_Verify_Param_t More... | |
#define | mcuxClEcc_Verify_Param_optLen_byteLenHash_offset |
Offset of byteLenHash in packed optLen parameter of mcuxClEcc_Verify_Param_t. More... | |
#define | mcuxClEcc_Verify_Param_optLen_byteLenHash_mask |
Mask to extract byteLenHash from packed optLen parameter of mcuxClEcc_Verify_Param_t. More... | |
Typedefs | |
typedef uint32_t | mcuxClEcc_Status_t |
Type for mcuxClEcc component return codes. More... | |
typedef uint64_t | mcuxClEcc_Status_Protected_t |
Type for mcuxClEcc component return codes. More... | |
typedef struct mcuxClEcc_Mont_DomainParams_t | mcuxClEcc_Mont_DomainParams_t |
Type for mcuxClEcc Mont domainParameters type. More... | |
Type definitions of mcuxClEcc component.