Top-level API of the mcuxClAead component. More...
#include <mcuxClConfig.h>
#include <mcuxClSession_Types.h>
#include <mcuxClKey.h>
#include <mcuxClAead_Types.h>
#include <mcuxClCore_Buffer.h>
Go to the source code of this file.
Functions | |
mcuxClAead_Status_t | mcuxClAead_crypt (mcuxClSession_Handle_t session, mcuxClKey_Handle_t key, mcuxClAead_Mode_t mode, mcuxCl_InputBuffer_t pNonce, uint32_t nonceLength, mcuxCl_InputBuffer_t pIn, uint32_t inLength, mcuxCl_InputBuffer_t pAdata, uint32_t adataLength, mcuxCl_Buffer_t pOut, uint32_t *const pOutLength, mcuxCl_Buffer_t pTag, uint32_t tagLength) |
One-shot authenticated encryption/decryption function. More... | |
mcuxClAead_Status_t | mcuxClAead_init (mcuxClSession_Handle_t session, mcuxClAead_Context_t *const pContext, mcuxClKey_Handle_t key, mcuxClAead_Mode_t mode, mcuxCl_InputBuffer_t pNonce, uint32_t nonceLength, uint32_t inLength, uint32_t adataLength, uint32_t tagLength) |
Multi-part authenticated encryption/decryption initialization function. More... | |
mcuxClAead_Status_t | mcuxClAead_process (mcuxClSession_Handle_t session, mcuxClAead_Context_t *const pContext, mcuxCl_InputBuffer_t pIn, uint32_t inLength, mcuxCl_Buffer_t pOut, uint32_t *const pOutLength) |
Multi-part authenticated encryption/decryption processing function for the regular data (authenticated and encrypted) More... | |
mcuxClAead_Status_t | mcuxClAead_process_adata (mcuxClSession_Handle_t session, mcuxClAead_Context_t *const pContext, mcuxCl_InputBuffer_t pAdata, uint32_t adataLength) |
Multi-part authenticated encryption/decryption processing function for the associated data (authenticated only) More... | |
mcuxClAead_Status_t | mcuxClAead_finish (mcuxClSession_Handle_t session, mcuxClAead_Context_t *const pContext, mcuxCl_Buffer_t pOut, uint32_t *const pOutLength, mcuxCl_Buffer_t pTag) |
Multi-part authenticated encryption/decryption finalization function. More... | |
mcuxClAead_Status_t | mcuxClAead_verify (mcuxClSession_Handle_t session, mcuxClAead_Context_t *const pContext, mcuxCl_InputBuffer_t pTag, mcuxCl_Buffer_t pOut, uint32_t *const pOutLength) |
Multi-part authenticated decryption verification function. More... | |
Top-level API of the mcuxClAead component.