Functions
aes.c File Reference
#include <ti/devices/msp432e4/inc/msp432e411y.h>
#include "types.h"
#include <stdint.h>
#include <stdbool.h>
#include "inc/hw_aes.h"
#include "inc/hw_ccm.h"
#include "inc/hw_nvic.h"
#include "aes.h"
#include "debug.h"
#include "interrupt.h"

Functions

void AESReset (uint32_t ui32Base)
 
void AESConfigSet (uint32_t ui32Base, uint32_t ui32Config)
 
void AESKey1Set (uint32_t ui32Base, uint32_t *pui32Key, uint32_t ui32Keysize)
 
void AESKey2Set (uint32_t ui32Base, uint32_t *pui32Key, uint32_t ui32Keysize)
 
void AESKey3Set (uint32_t ui32Base, uint32_t *pui32Key)
 
void AESIVSet (uint32_t ui32Base, uint32_t *pui32IVdata)
 
void AESIVRead (uint32_t ui32Base, uint32_t *pui32IVData)
 
void AESTagRead (uint32_t ui32Base, uint32_t *pui32TagData)
 
void AESLengthSet (uint32_t ui32Base, uint64_t ui64Length)
 
void AESAuthLengthSet (uint32_t ui32Base, uint32_t ui32Length)
 
bool AESDataReadNonBlocking (uint32_t ui32Base, uint32_t *pui32Dest)
 
void AESDataRead (uint32_t ui32Base, uint32_t *pui32Dest)
 
bool AESDataWriteNonBlocking (uint32_t ui32Base, uint32_t *pui32Src)
 
void AESDataWrite (uint32_t ui32Base, uint32_t *pui32Src)
 
bool AESDataProcess (uint32_t ui32Base, uint32_t *pui32Src, uint32_t *pui32Dest, uint32_t ui32Length)
 
bool AESDataAuth (uint32_t ui32Base, uint32_t *pui32Src, uint32_t ui32Length, uint32_t *pui32Tag)
 
bool AESDataProcessAuth (uint32_t ui32Base, uint32_t *pui32Src, uint32_t *pui32Dest, uint32_t ui32Length, uint32_t *pui32AuthSrc, uint32_t ui32AuthLength, uint32_t *pui32Tag)
 
uint32_t AESIntStatus (uint32_t ui32Base, bool bMasked)
 
void AESIntEnable (uint32_t ui32Base, uint32_t ui32IntFlags)
 
void AESIntDisable (uint32_t ui32Base, uint32_t ui32IntFlags)
 
void AESIntClear (uint32_t ui32Base, uint32_t ui32IntFlags)
 
void AESIntRegister (uint32_t ui32Base, void(*pfnHandler)(void))
 
void AESIntUnregister (uint32_t ui32Base)
 
void AESDMAEnable (uint32_t ui32Base, uint32_t ui32Flags)
 
void AESDMADisable (uint32_t ui32Base, uint32_t ui32Flags)
 
Copyright 2017, Texas Instruments Incorporated