ELS header for elliptic curve cryptography This header exposes functions that enable using the ELS for elliptic curve cryptography. More...
Go to the source code of this file.
Data Structures | |
union | mcuxClEls_EccSignOption_t |
Command option bit field for mcuxClEls_EccSign_Async Bit field to configure mcuxClEls_EccSign_Async. More... | |
union | mcuxClEls_EccVerifyOption_t |
Command option bit field for mcuxClEls_EccVerify_Async Bit field to configure mcuxClEls_EccVerifyOption_t. More... | |
union | mcuxClEls_EccKeyGenOption_t |
Command option bit field for mcuxClEls_EccKeyGen_Async Bit field to configure mcuxClEls_EccKeyGenOption_t. More... | |
union | mcuxClEls_EccKeyExchOption_t |
Command option bit field for mcuxClEls_EccKeyExchange_Async, for internal use only. More... | |
Typedefs | |
typedef uint8_t | mcuxClEls_EccByte_t |
Data type for ECC parameters in ELS format. More... | |
Functions | |
MCUXCLELS_API mcuxClEls_Status_t | mcuxClEls_EccKeyGen_Async (mcuxClEls_EccKeyGenOption_t options, mcuxClEls_KeyIndex_t signingKeyIdx, mcuxClEls_KeyIndex_t privateKeyIdx, mcuxClEls_KeyProp_t generatedKeyProperties, uint8_t const *pRandomData, uint8_t *pPublicKey) |
Generates an ECC key pair on the NIST P-256 curve. More... | |
MCUXCLELS_API mcuxClEls_Status_t | mcuxClEls_EccKeyExchange_Async (mcuxClEls_KeyIndex_t privateKeyIdx, uint8_t const *pPublicKey, mcuxClEls_KeyIndex_t sharedSecretIdx, mcuxClEls_KeyProp_t sharedSecretProperties) |
Performs a Diffie-Hellman key exchange with an internal ECC private key and an external ECC public key. More... | |
MCUXCLELS_API mcuxClEls_Status_t | mcuxClEls_EccSign_Async (mcuxClEls_EccSignOption_t options, mcuxClEls_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... | |
MCUXCLELS_API mcuxClEls_Status_t | mcuxClEls_EccVerify_Async (mcuxClEls_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... | |
ELS header for elliptic curve cryptography This header exposes functions that enable using the ELS for elliptic curve cryptography.
All functions operate on the NIST P-256 curve. The ECC operations supported are: