
|
My Project
|
Functions | |
| int | wc_Md5Hash (const byte *data, word32 len, byte *hash) |
| Convenience function, handles all the hashing and places the result into hash. More... | |
| int | wc_InitMd5 (wc_Md5 *) |
| This function initializes md5. This is automatically called by wc_Md5Hash. More... | |
| int | wc_Md5Update (wc_Md5 *md5, const byte *data, word32 len) |
| Can be called to continually hash the provided byte array of length len. More... | |
| 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 also return the result of calling IntelQaSymMd5() in the case that HAVE_INTEL_QA is defined. More... | |
| void | wc_Md5Free (wc_Md5 *) |
| Resets the Md5 structure. Note: this is only supported if you have WOLFSSL_TI_HASH defined. More... | |
| int | wc_Md5GetHash (wc_Md5 *md5, byte *hash) |
| Gets hash data. Result is placed into hash. Md5 struct is not reset. More... | |
| int wc_InitMd5 | ( | wc_Md5 * | ) |
This function initializes md5. This is automatically called by wc_Md5Hash.
| md5 | pointer to the md5 structure to use for encryption |
Example
| 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 also return the result of calling IntelQaSymMd5() in the case that HAVE_INTEL_QA is defined.
| md5 | pointer to the md5 structure to use for encryption |
| hash | Byte array to hold hash value. |
Example
| void wc_Md5Free | ( | wc_Md5 * | ) |
Resets the Md5 structure. Note: this is only supported if you have WOLFSSL_TI_HASH defined.
| md5 | Pointer to the Md5 structure to be reset. |
Example
| int wc_Md5GetHash | ( | wc_Md5 * | md5, |
| byte * | hash | ||
| ) |
Gets hash data. Result is placed into hash. Md5 struct is not reset.
| md5 | pointer to the md5 structure to use for encryption. |
| hash | Byte array to hold hash value. |
Example
| int wc_Md5Hash | ( | 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
| int wc_Md5Update | ( | wc_Md5 * | md5, |
| const byte * | data, | ||
| word32 | len | ||
| ) |
Can be called to continually hash the provided byte array of length len.
| md5 | pointer to the md5 structure to use for encryption |
| data | the data to be hashed |
| len | length of data to be hashed |
Example