: Example Aead application More...
#include <mcuxClExample_ELS_Helper.h>
#include <mcuxClExample_Session_Helper.h>
#include <mcuxClExample_Key_Helper.h>
#include <mcuxClEls.h>
#include <mcuxClSession.h>
#include <mcuxClKey.h>
#include <mcuxClAes.h>
#include <mcuxClAead.h>
#include <mcuxClAeadModes.h>
#include <mcuxCsslFlowProtection.h>
#include <mcuxClCore_FunctionIdentifiers.h>
#include <mcuxClToolchain.h>
#include <mcuxClCore_Examples.h>
#include <stdbool.h>
#include <mcuxClExample_RNG_Helper.h>
Functions | |
MCUXCLEXAMPLE_FUNCTION (mcuxClAeadModes_Oneshot_Els_Gcm_Example) | |
Variables | |
static uint8_t | aes128_key [16u] |
Key for the AES encryption. More... | |
static uint8_t | aes128_iv [12u] |
IV of the AES encryption. More... | |
static uint8_t const | msg_plain [16u] |
Plaintext input for the AES encryption. More... | |
static uint8_t const | msg_adata [16u] |
Additional authenticated data. More... | |
static uint8_t const | msg_enc_expected [16u] |
Expected ciphertext output of the AES-GCM encryption. More... | |
static uint8_t const | msg_tag_expected [16u] |
Expected authentication tag output. More... | |
: Example Aead application
MCUXCLEXAMPLE_FUNCTION | ( | mcuxClAeadModes_Oneshot_Els_Gcm_Example | ) |
Initialize ELS, MCUXCLELS_RESET_DO_NOT_CANCEL
Destroy Session and cleanup Session
Disable the ELS
|
static |
Key for the AES encryption.
|
static |
IV of the AES encryption.
|
static |
Plaintext input for the AES encryption.
|
static |
Additional authenticated data.
|
static |
Expected ciphertext output of the AES-GCM encryption.
|
static |
Expected authentication tag output.