CC27xxDriverLibrary
sha256sw.h File Reference

Detailed Description

============================================================================

#include <stddef.h>
#include <stdint.h>
#include "sha2sw_common.h"
#include "sha2sw_config.h"
#include "hapi.h"
Include dependency graph for sha256sw.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  SHA256SW_Object
 SHA256SW Object. More...
 

Macros

#define SHA256SWHashData   HAPI_TABLE_POINTER->sha256SwHashData
 
#define SHA256SWStart   HAPI_TABLE_POINTER->sha256SwStart
 
#define SHA256SWAddData   HAPI_TABLE_POINTER->sha256SwAddData
 
#define SHA256SWFinalize   HAPI_TABLE_POINTER->sha256SwFinalize
 

Typedefs

typedef SHA256SW_ObjectSHA256SW_Handle
 A handle to a SHA256SW_Object. More...
 

Functions

int_fast16_t SHA256SWHashData (SHA256SW_Handle handle, SHA2SW_HashType hashType, const void *data, size_t length, uint32_t digest[8])
 Performs a complete hash operation, producing a final digest for the data. More...
 
int_fast16_t SHA256SWStart (SHA256SW_Handle handle, SHA2SW_HashType hashType)
 Initialize a SHA256SW_Handle, preparing for hashing data. More...
 
int_fast16_t SHA256SWAddData (SHA256SW_Handle handle, const void *data, size_t length)
 Add data to a SHA256/224 operation. More...
 
int_fast16_t SHA256SWFinalize (SHA256SW_Handle handle, uint32_t digest[8])
 Finalize a SHA256/224 operation, creating the final digest. More...