MySQL 9.1.0
Source Code Documentation
|
Wrapper functions for OpenSSL implementations. More...
Functions | |
void | compute_sha1_hash (uint8 *digest, const char *buf, size_t len) |
Wrapper function to compute SHA1 message digest. More... | |
void | compute_sha1_hash_multi (uint8 *digest, const char *buf1, int len1, const char *buf2, int len2) |
Wrapper function to compute SHA1 message digest for two messages in order to emulate sha1(msg1, msg2). More... | |
Wrapper functions for OpenSSL implementations.
void compute_sha1_hash | ( | uint8 * | digest, |
const char * | buf, | ||
size_t | len | ||
) |
Wrapper function to compute SHA1 message digest.
[out] | digest | Computed SHA1 digest |
[in] | buf | Message to be computed |
[in] | len | Length of the message |
void compute_sha1_hash_multi | ( | uint8 * | digest, |
const char * | buf1, | ||
int | len1, | ||
const char * | buf2, | ||
int | len2 | ||
) |
Wrapper function to compute SHA1 message digest for two messages in order to emulate sha1(msg1, msg2).
[out] | digest | Computed SHA1 digest |
[in] | buf1 | First message |
[in] | len1 | Length of first message |
[in] | buf2 | Second message |
[in] | len2 | Length of second message |