: Example Aead application More...
#include <mcuxClToolchain.h>
#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 <mcuxClCore_Examples.h>
#include <stdbool.h>
#include <mcuxClExample_RNG_Helper.h>
Functions | |
MCUXCLEXAMPLE_FUNCTION (mcuxClAeadModes_Els_Gcm_Aes128_Oneshot_example) | |
Variables | |
static ALIGNED uint8_t | aes128_key [16u] |
Key for the AES encryption. | |
static ALIGNED uint8_t | aes128_iv [12u] |
IV of the AES encryption. | |
static ALIGNED uint8_t const | msg_plain [16u] |
Plaintext input for the AES encryption. | |
static ALIGNED uint8_t const | msg_adata [16u] |
Additional authenticated data. | |
static ALIGNED uint8_t const | msg_enc_expected [16u] |
Expected ciphertext output of the AES-GCM encryption. | |
static ALIGNED uint8_t const | msg_tag_expected [16u] |
Expected authentication tag output. | |
: Example Aead application
MCUXCLEXAMPLE_FUNCTION | ( | mcuxClAeadModes_Els_Gcm_Aes128_Oneshot_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.