My Project
Loading...
Searching...
No Matches
sha.h
1
27WOLFSSL_API int wc_InitSha(wc_Sha*);
28
60WOLFSSL_API int wc_ShaUpdate(wc_Sha*, const byte*, word32);
61
92WOLFSSL_API int wc_ShaFinal(wc_Sha*, byte*);
93
116WOLFSSL_API void wc_ShaFree(wc_Sha*);
117
145WOLFSSL_API int wc_ShaGetHash(wc_Sha*, byte*);
WOLFSSL_API int wc_InitSha(wc_Sha *)
This function initializes SHA. This is automatically called by wc_ShaHash.
Definition sha.c:773
WOLFSSL_API int wc_ShaFinal(wc_Sha *, byte *)
Finalizes hashing of data. Result is placed into hash. Resets state of sha struct.
Definition sha.c:148
WOLFSSL_API int wc_ShaUpdate(wc_Sha *, const byte *, word32)
Can be called to continually hash the provided byte array of length len.
Definition sha.c:131
WOLFSSL_API int wc_ShaGetHash(wc_Sha *, byte *)
Gets hash data. Result is placed into hash. Does not reset state of sha struct.
Definition renesas_tsip_sha.c:233
WOLFSSL_API void wc_ShaFree(wc_Sha *)
Used to clean up memory used by an initialized Sha struct. Note: this is only supported if you have W...
Definition sha.c:778
Definition wolfcaam_sha.h:68