My Project
Functions
sha.h File Reference

Go to the source code of this file.

Functions

int wc_InitSha (wc_Sha *)
 This function initializes SHA. This is automatically called by wc_ShaHash. More...
 
int wc_ShaUpdate (wc_Sha *sha, const byte *data, word32 len)
 Can be called to continually hash the provided byte array of length len. More...
 
int wc_ShaFinal (wc_Sha *sha, byte *hash)
 Finalizes hashing of data. Result is placed into hash. Resets state of sha struct. More...
 
void wc_ShaFree (wc_Sha *)
 Used to clean up memory used by an initialized Sha struct. Note: this is only supported if you have WOLFSSL_TI_HASH defined. More...
 
int wc_ShaGetHash (wc_Sha *sha, byte *hash)
 Gets hash data. Result is placed into hash. Does not reset state of sha struct. More...