My Project
Functions
sha256.h File Reference

Go to the source code of this file.

Functions

int wc_InitSha256 (wc_Sha256 *)
 This function initializes SHA256. This is automatically called by wc_Sha256Hash. More...
 
int wc_Sha256Update (wc_Sha256 *sha, const byte *data, word32 len)
 Can be called to continually hash the provided byte array of length len. More...
 
int wc_Sha256Final (wc_Sha256 *sha256, byte *hash)
 Finalizes hashing of data. Result is placed into hash. Resets state of sha256 struct. More...
 
void wc_Sha256Free (wc_Sha256 *)
 Resets the Sha256 structure. Note: this is only supported if you have WOLFSSL_TI_HASH defined. More...
 
int wc_Sha256GetHash (wc_Sha256 *sha256, byte *hash)
 Gets hash data. Result is placed into hash. Does not reset state of sha256 struct. More...
 
int wc_InitSha224 (wc_Sha224 *)
 Used to initialize a Sha224 struct. More...
 
int wc_Sha224Update (wc_Sha224 *sha224, const byte *data, word32 len)
 Can be called to continually hash the provided byte array of length len. More...
 
int wc_Sha224Final (wc_Sha224 *sha224, byte *hash)
 Finalizes hashing of data. Result is placed into hash. Resets state of sha224 struct. More...