My Project
md5.h
Go to the documentation of this file.
1 
36 int wc_InitMd5(wc_Md5*);
37 
78 int wc_Md5Update(wc_Md5* md5, const byte* data, word32 len);
79 
119 int wc_Md5Final(wc_Md5* md5, byte* hash);
120 
151 void wc_Md5Free(wc_Md5*);
152 
180 int wc_Md5GetHash(wc_Md5* md5, byte* hash);
wc_Md5GetHash
int wc_Md5GetHash(wc_Md5 *md5, byte *hash)
Gets hash data. Result is placed into hash. Md5 struct is not reset.
wc_Md5Free
void wc_Md5Free(wc_Md5 *)
Resets the Md5 structure. Note: this is only supported if you have WOLFSSL_TI_HASH defined.
wc_Md5Update
int wc_Md5Update(wc_Md5 *md5, const byte *data, word32 len)
Can be called to continually hash the provided byte array of length len.
wc_Md5Final
int wc_Md5Final(wc_Md5 *md5, byte *hash)
Finalizes hashing of data. Result is placed into hash. Md5 Struct is reset. Note: This function will ...
wc_InitMd5
int wc_InitMd5(wc_Md5 *)
This function initializes md5. This is automatically called by wc_Md5Hash.