My Project
md2.h
Go to the documentation of this file.
1 
27 void wc_InitMd2(Md2*);
28 
60 void wc_Md2Update(Md2* md2, const byte* data, word32 len);
61 
91 void wc_Md2Final(Md2* md2, byte* hash);
92 
116 int wc_Md2Hash(const byte* data, word32 len, byte* hash);
wc_Md2Update
void wc_Md2Update(Md2 *md2, const byte *data, word32 len)
Can be called to continually hash the provided byte array of length len.
wc_Md2Final
void wc_Md2Final(Md2 *md2, byte *hash)
Finalizes hashing of data. Result is placed into hash.
wc_InitMd2
void wc_InitMd2(Md2 *)
This function initializes md2. This is automatically called by wc_Md2Hash.
wc_Md2Hash
int wc_Md2Hash(const byte *data, word32 len, byte *hash)
Convenience function, handles all the hashing and places the result into hash.