My Project
|
Functions | |
void | wc_InitMd2 (Md2 *) |
This function initializes md2. This is automatically called by wc_Md2Hash. More... | |
void | wc_Md2Update (Md2 *md2, const byte *data, word32 len) |
Can be called to continually hash the provided byte array of length len. More... | |
void | wc_Md2Final (Md2 *md2, byte *hash) |
Finalizes hashing of data. Result is placed into hash. More... | |
int | wc_Md2Hash (const byte *data, word32 len, byte *hash) |
Convenience function, handles all the hashing and places the result into hash. More... | |
void wc_InitMd2 | ( | Md2 * | ) |
This function initializes md2. This is automatically called by wc_Md2Hash.
md2 | pointer to the md2 structure to use for encryption |
Example
void wc_Md2Final | ( | Md2 * | md2, |
byte * | hash | ||
) |
Finalizes hashing of data. Result is placed into hash.
md2 | pointer to the md2 structure to use for encryption |
hash | Byte array to hold hash value. |
Example
int wc_Md2Hash | ( | const byte * | data, |
word32 | len, | ||
byte * | hash | ||
) |
Convenience function, handles all the hashing and places the result into hash.
data | the data to hash |
len | the length of data |
hash | Byte array to hold hash value. |
Example
void wc_Md2Update | ( | Md2 * | md2, |
const byte * | data, | ||
word32 | len | ||
) |
Can be called to continually hash the provided byte array of length len.
md2 | pointer to the md2 structure to use for encryption |
data | the data to be hashed |
len | length of data to be hashed |
Example