MySQL 5.6.14 Source Code Document
|
Wrapper functions for OpenSSL, YaSSL implementations. Also provides a Compatibility layer to make available YaSSL's SHA1 implementation. More...
#include <my_global.h>
#include <sha1.h>
Go to the source code of this file.
Functions | |
void | compute_sha1_hash (uint8 *digest, const char *buf, int len) |
void | compute_sha1_hash_multi (uint8 *digest, const char *buf1, int len1, const char *buf2, int len2) |
Wrapper functions for OpenSSL, YaSSL implementations. Also provides a Compatibility layer to make available YaSSL's SHA1 implementation.
Definition in file my_sha1.cc.
void compute_sha1_hash | ( | uint8 * | digest, |
const char * | buf, | ||
int | len | ||
) |
Wrapper function to compute SHA1 message digest.
digest | [out] Computed SHA1 digest |
buf | [in] Message to be computed |
len | [in] Length of the message |
Definition at line 101 of file my_sha1.cc.
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).
digest | [out] Computed SHA1 digest |
buf1 | [in] First message |
len1 | [in] Length of first message |
buf2 | [in] Second message |
len2 | [in] Length of second message |
Definition at line 127 of file my_sha1.cc.