MSP432E4 DriverLib API Guide  1.11.00.03
Macros | Functions
shamd5.h File Reference
#include <stdint.h>
#include <stdbool.h>
Include dependency graph for shamd5.h:
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

§ SHAMD5_ALGO_MD5

#define SHAMD5_ALGO_MD5   0x00000018

Referenced by SHAMD5ConfigSet().

§ SHAMD5_ALGO_SHA1

#define SHAMD5_ALGO_SHA1   0x0000001a

Referenced by SHAMD5ConfigSet().

§ SHAMD5_ALGO_SHA224

#define SHAMD5_ALGO_SHA224   0x0000001c

Referenced by SHAMD5ConfigSet().

§ SHAMD5_ALGO_SHA256

#define SHAMD5_ALGO_SHA256   0x0000001e

Referenced by SHAMD5ConfigSet().

§ SHAMD5_ALGO_HMAC_MD5

#define SHAMD5_ALGO_HMAC_MD5   0x00000000

Referenced by SHAMD5ConfigSet().

§ SHAMD5_ALGO_HMAC_SHA1

#define SHAMD5_ALGO_HMAC_SHA1   0x00000002

Referenced by SHAMD5ConfigSet().

§ SHAMD5_ALGO_HMAC_SHA224

#define SHAMD5_ALGO_HMAC_SHA224   0x00000004

Referenced by SHAMD5ConfigSet().

§ SHAMD5_ALGO_HMAC_SHA256

#define SHAMD5_ALGO_HMAC_SHA256   0x00000006

Referenced by SHAMD5ConfigSet().

§ SHAMD5_INT_CONTEXT_READY

#define SHAMD5_INT_CONTEXT_READY   0x00000008

§ SHAMD5_INT_PARTHASH_READY

#define SHAMD5_INT_PARTHASH_READY   0x00000004

§ SHAMD5_INT_INPUT_READY

#define SHAMD5_INT_INPUT_READY   0x00000002

§ SHAMD5_INT_OUTPUT_READY

#define SHAMD5_INT_OUTPUT_READY   0x00000001

§ SHAMD5_INT_DMA_CONTEXT_IN

#define SHAMD5_INT_DMA_CONTEXT_IN   0x00080000

§ SHAMD5_INT_DMA_DATA_IN

#define SHAMD5_INT_DMA_DATA_IN   0x00020000

§ SHAMD5_INT_DMA_CONTEXT_OUT

#define SHAMD5_INT_DMA_CONTEXT_OUT   0x00010000
© Copyright 1995-2019, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale