EE445M RTOS
Taken at the University of Texas Spring 2015
des.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DES_CFG_DIR_DECRYPT   0x00000000
 
#define DES_CFG_DIR_ENCRYPT   0x00000004
 
#define DES_CFG_MODE_ECB   0x00000000
 
#define DES_CFG_MODE_CBC   0x00000010
 
#define DES_CFG_MODE_CFB   0x00000020
 
#define DES_CFG_SINGLE   0x00000000
 
#define DES_CFG_TRIPLE   0x00000008
 
#define DES_INT_CONTEXT_IN   0x00000001
 
#define DES_INT_DATA_IN   0x00000002
 
#define DES_INT_DATA_OUT   0x00000004
 
#define DES_INT_DMA_CONTEXT_IN   0x00010000
 
#define DES_INT_DMA_DATA_IN   0x00020000
 
#define DES_INT_DMA_DATA_OUT   0x00040000
 
#define DES_DMA_CONTEXT_IN   0x00000080
 
#define DES_DMA_DATA_OUT   0x00000040
 
#define DES_DMA_DATA_IN   0x00000020
 

Functions

void DESConfigSet (uint32_t ui32Base, uint32_t ui32Config)
 
void DESDataRead (uint32_t ui32Base, uint32_t *pui32Dest)
 
bool DESDataReadNonBlocking (uint32_t ui32Base, uint32_t *pui32Dest)
 
bool DESDataProcess (uint32_t ui32Base, uint32_t *pui32Src, uint32_t *pui32Dest, uint32_t ui32Length)
 
void DESDataWrite (uint32_t ui32Base, uint32_t *pui32Src)
 
bool DESDataWriteNonBlocking (uint32_t ui32Base, uint32_t *pui32Src)
 
void DESDMADisable (uint32_t ui32Base, uint32_t ui32Flags)
 
void DESDMAEnable (uint32_t ui32Base, uint32_t ui32Flags)
 
void DESIntClear (uint32_t ui32Base, uint32_t ui32IntFlags)
 
void DESIntDisable (uint32_t ui32Base, uint32_t ui32IntFlags)
 
void DESIntEnable (uint32_t ui32Base, uint32_t ui32IntFlags)
 
void DESIntRegister (uint32_t ui32Base, void(*pfnHandler)(void))
 
uint32_t DESIntStatus (uint32_t ui32Base, bool bMasked)
 
void DESIntUnregister (uint32_t ui32Base)
 
bool DESIVSet (uint32_t ui32Base, uint32_t *pui32IVdata)
 
void DESKeySet (uint32_t ui32Base, uint32_t *pui32Key)
 
void DESLengthSet (uint32_t ui32Base, uint32_t ui32Length)
 
void DESReset (uint32_t ui32Base)
 

Macro Definition Documentation

#define DES_CFG_DIR_DECRYPT   0x00000000

Definition at line 60 of file des.h.

#define DES_CFG_DIR_ENCRYPT   0x00000004

Definition at line 61 of file des.h.

#define DES_CFG_MODE_CBC   0x00000010

Definition at line 70 of file des.h.

#define DES_CFG_MODE_CFB   0x00000020

Definition at line 71 of file des.h.

#define DES_CFG_MODE_ECB   0x00000000

Definition at line 69 of file des.h.

#define DES_CFG_SINGLE   0x00000000

Definition at line 80 of file des.h.

#define DES_CFG_TRIPLE   0x00000008

Definition at line 81 of file des.h.

Referenced by DESKeySet().

#define DES_DMA_CONTEXT_IN   0x00000080

Definition at line 102 of file des.h.

Referenced by DESDMADisable(), and DESDMAEnable().

#define DES_DMA_DATA_IN   0x00000020

Definition at line 104 of file des.h.

Referenced by DESDMADisable(), and DESDMAEnable().

#define DES_DMA_DATA_OUT   0x00000040

Definition at line 103 of file des.h.

Referenced by DESDMADisable(), and DESDMAEnable().

#define DES_INT_CONTEXT_IN   0x00000001

Definition at line 89 of file des.h.

Referenced by DESIntDisable(), and DESIntEnable().

#define DES_INT_DATA_IN   0x00000002

Definition at line 90 of file des.h.

Referenced by DESIntDisable(), and DESIntEnable().

#define DES_INT_DATA_OUT   0x00000004

Definition at line 91 of file des.h.

Referenced by DESIntDisable(), and DESIntEnable().

#define DES_INT_DMA_CONTEXT_IN   0x00010000

Definition at line 92 of file des.h.

Referenced by DESIntClear(), DESIntDisable(), and DESIntEnable().

#define DES_INT_DMA_DATA_IN   0x00020000

Definition at line 93 of file des.h.

Referenced by DESIntClear(), DESIntDisable(), and DESIntEnable().

#define DES_INT_DMA_DATA_OUT   0x00040000

Definition at line 94 of file des.h.

Referenced by DESIntClear(), DESIntDisable(), and DESIntEnable().