24#ifndef PASSWORD_INCLUDED
25#define PASSWORD_INCLUDED
33#if !defined(WITHOUT_MYSQL_NATIVE_PASSWORD) || \
34 WITHOUT_MYSQL_NATIVE_PASSWORD == 0
48 const unsigned char *hash_stage2);
static char * password
Definition: mysql_secure_installation.cc:58
void scramble(char *to, const char *message, const char *password)
Produce an obscure octet sequence from password and random string, received from the server.
Definition: mysql_native_authentication_client.cc:214
bool check_scramble(const unsigned char *reply, const char *message, const unsigned char *hash_stage2)
void my_make_scrambled_password_sha1(char *to, const char *password, size_t pass_len)
Definition: mysql_native_authentication_client.cc:171
void make_scrambled_password(char *to, const char *password)
Definition: mysql_native_authentication_client.cc:194
void get_salt_from_password(unsigned char *res, const char *password)
void make_password_from_salt(char *to, const unsigned char *hash_stage2)