sha256.h
1 
27 WOLFSSL_API int wc_InitSha256(wc_Sha256*);
28 
60 WOLFSSL_API int wc_Sha256Update(wc_Sha256*, const byte*, word32);
61 
92 WOLFSSL_API int wc_Sha256Final(wc_Sha256*, byte*);
93 
124 WOLFSSL_API void wc_Sha256Free(wc_Sha256*);
125 
153 WOLFSSL_API int wc_Sha256GetHash(wc_Sha256*, byte*);
154 
178 WOLFSSL_API int wc_InitSha224(wc_Sha224*);
179 
213 WOLFSSL_API int wc_Sha224Update(wc_Sha224*, const byte*, word32);
214 
246 WOLFSSL_API int wc_Sha224Final(wc_Sha224*, byte*);
Definition: sha256.h:132
WOLFSSL_API void wc_Sha256Free(wc_Sha256 *)
Resets the Sha256 structure. Note: this is only supported if you have WOLFSSL_TI_HASH defined...
Definition: sha256.c:1448
Definition: ti-hash.h:38
WOLFSSL_API int wc_InitSha256(wc_Sha256 *)
This function initializes SHA256. This is automatically called by wc_Sha256Hash.
Definition: sha256.c:1443
WOLFSSL_API int wc_Sha256Update(wc_Sha256 *, const byte *, word32)
Can be called to continually hash the provided byte array of length len.
Definition: sha256.c:501
WOLFSSL_API int wc_InitSha224(wc_Sha224 *)
Used to initialize a Sha224 struct.
Definition: armv8-sha256.c:1419
WOLFSSL_API int wc_Sha256GetHash(wc_Sha256 *, byte *)
Gets hash data. Result is placed into hash. Does not reset state of sha256 struct.
Definition: afalg_hash.c:255
WOLFSSL_API int wc_Sha224Final(wc_Sha224 *, byte *)
Finalizes hashing of data. Result is placed into hash. Resets state of sha224 struct.
Definition: sha256.c:1385
WOLFSSL_API int wc_Sha256Final(wc_Sha256 *, byte *)
Finalizes hashing of data. Result is placed into hash. Resets state of sha256 struct.
Definition: sha256.c:518
WOLFSSL_API int wc_Sha224Update(wc_Sha224 *, const byte *, word32)
Can be called to continually hash the provided byte array of length len.
Definition: sha256.c:1364