: Example OSCCA SM2 Cipher, include encryption and decryption More...
#include <mcuxClSession.h>#include <mcuxClRandom.h>#include <mcuxClRandomModes.h>#include <mcuxClKey.h>#include <mcuxClOsccaSm2.h>#include <mcuxClOsccaSm3.h>#include <mcuxClCipher.h>#include <mcuxClOsccaSm2_CommonParams.h>#include <mcuxCsslFlowProtection.h>#include <mcuxClOscca_FunctionIdentifiers.h>#include <mcuxClExample_Session_Helper.h>#include <mcuxClCore_Examples.h>#include <mcuxClExample_ELS_Helper.h>#include <mcuxClMemory.h>#include <mcuxClCore_FunctionIdentifiers.h>Macros | |
| #define | BYTELENGTH_MSHORT_PART1 |
| #define | BYTELENGTH_MSHORT_PART2 |
| #define | BYTELENGTH_M |
Functions | |
| MCUXCLEXAMPLE_FUNCTION (mcuxClOsccaSm2_Cipher_Crypt_multipart_example) | |
| : Example OSCCA SM2 Cipher, including Encryption and Decryption | |
Variables | |
| static const uint8_t | pSm2PrivateKey [MCUXCLOSCCASM2_SM2P256_SIZE_BASEPOINTORDER] |
| static const uint8_t | pSm2PublicKey [MCUXCLOSCCASM2_SM2P256_SIZE_PRIMEP *2] |
| static const uint8_t | pShortMessage_SM2 [BYTELENGTH_MSHORT_PART1+BYTELENGTH_MSHORT_PART2] |
: Example OSCCA SM2 Cipher, include encryption and decryption
| MCUXCLEXAMPLE_FUNCTION | ( | mcuxClOsccaSm2_Cipher_Crypt_multipart_example | ) |
: Example OSCCA SM2 Cipher, including Encryption and Decryption
Initialize ELS, Enable the ELS
Disable the ELS