CSSv2 header for elliptic curve cryptography This header exposes functions that enable using the CSSv2 for elliptic curve cryptography. More...
#include <mcuxClCss_Common.h>
Go to the source code of this file.
Data Structures | |
union | mcuxClCss_EccSignOption_t |
Command option bit field for mcuxClCss_EccSign_Async Bit field to configure mcuxClCss_EccSign_Async. More... | |
union | mcuxClCss_EccVerifyOption_t |
Command option bit field for mcuxClCss_EccVerify_Async Bit field to configure mcuxClCss_EccVerifyOption_t. More... | |
union | mcuxClCss_EccKeyGenOption_t |
Command option bit field for mcuxClCss_EccKeyGen_Async Bit field to configure mcuxClCss_EccKeyGenOption_t. More... | |
Typedefs | |
typedef uint8_t | mcuxClCss_EccByte_t |
Data type for ECC parameters in CSS format. More... | |
Functions | |
MCUXCLCSS_API mcuxClCss_Status_Protected_t | mcuxClCss_EccKeyGen_Async (mcuxClCss_EccKeyGenOption_t options, mcuxClCss_KeyIndex_t signingKeyIdx, mcuxClCss_KeyIndex_t privateKeyIdx, mcuxClCss_KeyProp_t generatedKeyProperties, uint8_t const *pRandomData, uint8_t *pPublicKey) |
Generates an ECC key pair on the NIST P-256 curve. More... | |
MCUXCLCSS_API mcuxClCss_Status_Protected_t | mcuxClCss_EccKeyExchange_Async (mcuxClCss_KeyIndex_t privateKeyIdx, uint8_t const *pPublicKey, mcuxClCss_KeyIndex_t sharedSecretIdx, mcuxClCss_KeyProp_t sharedSecretProperties) |
Performs a Diffie-Hellman key exchange with an internal ECC private key and an external ECC public key. More... | |
MCUXCLCSS_API mcuxClCss_Status_Protected_t | mcuxClCss_EccSign_Async (mcuxClCss_EccSignOption_t options, mcuxClCss_KeyIndex_t keyIdx, uint8_t const *pInputHash, uint8_t const *pInputMessage, size_t inputMessageLength, uint8_t *pOutput) |
Generates an ECDSA signature of a given message. More... | |
MCUXCLCSS_API mcuxClCss_Status_Protected_t | mcuxClCss_EccVerify_Async (mcuxClCss_EccVerifyOption_t options, uint8_t const *pInputHash, uint8_t const *pInputMessage, size_t inputMessageLength, uint8_t const *pSignatureAndPubKey, uint8_t *pOutput) |
Verifies an ECDSA signature of a given message. More... | |
CSSv2 header for elliptic curve cryptography This header exposes functions that enable using the CSSv2 for elliptic curve cryptography.
All functions operate on the NIST P-256 curve. The ECC operations supported are: