
Functions | |
| WOLFSSL_API void | wc_InitMd2 (Md2 *) |
| This function initializes md2. This is automatically called by wc_Md2Hash. More... | |
| WOLFSSL_API void | wc_Md2Update (Md2 *, const byte *, word32) |
| Can be called to continually hash the provided byte array of length len. More... | |
| WOLFSSL_API void | wc_Md2Final (Md2 *, byte *) |
| Finalizes hashing of data. Result is placed into hash. More... | |
| WOLFSSL_API int | wc_Md2Hash (const byte *, word32, byte *) |
| Convenience function, handles all the hashing and places the result into hash. More... | |
| WOLFSSL_API 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
| WOLFSSL_API void wc_Md2Final | ( | Md2 * | , |
| byte * | |||
| ) |
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
| WOLFSSL_API int wc_Md2Hash | ( | const byte * | , |
| word32 | , | ||
| byte * | |||
| ) |
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
| WOLFSSL_API void wc_Md2Update | ( | Md2 * | , |
| const byte * | , | ||
| word32 | |||
| ) |
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