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

Go to the source code of this file.

Macros

#define SHAMD5_ALGO_MD5   0x00000018
 
#define SHAMD5_ALGO_SHA1   0x0000001a
 
#define SHAMD5_ALGO_SHA224   0x0000001c
 
#define SHAMD5_ALGO_SHA256   0x0000001e
 
#define SHAMD5_ALGO_HMAC_MD5   0x00000000
 
#define SHAMD5_ALGO_HMAC_SHA1   0x00000002
 
#define SHAMD5_ALGO_HMAC_SHA224   0x00000004
 
#define SHAMD5_ALGO_HMAC_SHA256   0x00000006
 
#define SHAMD5_INT_CONTEXT_READY   0x00000008
 
#define SHAMD5_INT_PARTHASH_READY   0x00000004
 
#define SHAMD5_INT_INPUT_READY   0x00000002
 
#define SHAMD5_INT_OUTPUT_READY   0x00000001
 
#define SHAMD5_INT_DMA_CONTEXT_IN   0x00080000
 
#define SHAMD5_INT_DMA_DATA_IN   0x00020000
 
#define SHAMD5_INT_DMA_CONTEXT_OUT   0x00010000
 

Functions

void SHAMD5ConfigSet (uint32_t ui32Base, uint32_t ui32Mode)
 
void SHAMD5DataProcess (uint32_t ui32Base, uint32_t *pui32DataSrc, uint32_t ui32DataLength, uint32_t *pui32HashResult)
 
void SHAMD5DataWrite (uint32_t ui32Base, uint32_t *pui32Src)
 
bool SHAMD5DataWriteNonBlocking (uint32_t ui32Base, uint32_t *pui32Src)
 
void SHAMD5DMADisable (uint32_t ui32Base)
 
void SHAMD5DMAEnable (uint32_t ui32Base)
 
void SHAMD5HashLengthSet (uint32_t ui32Base, uint32_t ui32Length)
 
void SHAMD5HMACKeySet (uint32_t ui32Base, uint32_t *pui32Src)
 
void SHAMD5HMACPPKeyGenerate (uint32_t ui32Base, uint32_t *pui32Key, uint32_t *pui32PPKey)
 
void SHAMD5HMACPPKeySet (uint32_t ui32Base, uint32_t *pui32Src)
 
void SHAMD5HMACProcess (uint32_t ui32Base, uint32_t *pui32DataSrc, uint32_t ui32DataLength, uint32_t *pui32HashResult)
 
void SHAMD5IntClear (uint32_t ui32Base, uint32_t ui32IntFlags)
 
void SHAMD5IntDisable (uint32_t ui32Base, uint32_t ui32IntFlags)
 
void SHAMD5IntEnable (uint32_t ui32Base, uint32_t ui32IntFlags)
 
void SHAMD5IntRegister (uint32_t ui32Base, void(*pfnHandler)(void))
 
uint32_t SHAMD5IntStatus (uint32_t ui32Base, bool bMasked)
 
void SHAMD5IntUnregister (uint32_t ui32Base)
 
void SHAMD5Reset (uint32_t ui32Base)
 
void SHAMD5ResultRead (uint32_t ui32Base, uint32_t *pui32Dest)
 

Macro Definition Documentation

#define SHAMD5_ALGO_HMAC_MD5   0x00000000

Definition at line 64 of file shamd5.h.

Referenced by SHAMD5ConfigSet().

#define SHAMD5_ALGO_HMAC_SHA1   0x00000002

Definition at line 65 of file shamd5.h.

Referenced by SHAMD5ConfigSet().

#define SHAMD5_ALGO_HMAC_SHA224   0x00000004

Definition at line 66 of file shamd5.h.

Referenced by SHAMD5ConfigSet().

#define SHAMD5_ALGO_HMAC_SHA256   0x00000006

Definition at line 67 of file shamd5.h.

Referenced by SHAMD5ConfigSet().

#define SHAMD5_ALGO_MD5   0x00000018

Definition at line 60 of file shamd5.h.

Referenced by SHAMD5ConfigSet().

#define SHAMD5_ALGO_SHA1   0x0000001a

Definition at line 61 of file shamd5.h.

Referenced by SHAMD5ConfigSet().

#define SHAMD5_ALGO_SHA224   0x0000001c

Definition at line 62 of file shamd5.h.

Referenced by SHAMD5ConfigSet().

#define SHAMD5_ALGO_SHA256   0x0000001e

Definition at line 63 of file shamd5.h.

Referenced by SHAMD5ConfigSet().

#define SHAMD5_INT_CONTEXT_READY   0x00000008
#define SHAMD5_INT_DMA_CONTEXT_IN   0x00080000

Definition at line 82 of file shamd5.h.

#define SHAMD5_INT_DMA_CONTEXT_OUT   0x00010000

Definition at line 85 of file shamd5.h.

#define SHAMD5_INT_DMA_DATA_IN   0x00020000

Definition at line 84 of file shamd5.h.

#define SHAMD5_INT_INPUT_READY   0x00000002
#define SHAMD5_INT_OUTPUT_READY   0x00000001
#define SHAMD5_INT_PARTHASH_READY   0x00000004

Definition at line 78 of file shamd5.h.

Referenced by SHAMD5IntClear(), SHAMD5IntDisable(), and SHAMD5IntEnable().