= {
}
static const char * get_plugin_name(cached_plugins_enum plugin_index)
Get name of the plugin at given index.
Definition: sql_authentication.h:212
static int generate_native_password(char *outbuf, unsigned int *buflen, const char *inbuf, unsigned int inbuflen)
Definition: mysql_native_password.cc:105
static int validate_native_password_hash(char *const inbuf, unsigned int buflen)
Definition: mysql_native_password.cc:137
static int native_password_authenticate(MYSQL_PLUGIN_VIO *vio, MYSQL_SERVER_AUTH_INFO *info)
MySQL Server Password Authentication Plugin.
Definition: mysql_native_password.cc:208
static int compare_native_password_with_hash(const char *hash, unsigned long hash_length, const char *cleartext, unsigned long cleartext_length, int *is_error)
Compare a clear text password with a stored hash for the native password plugin.
Definition: mysql_native_password.cc:177
static int set_native_salt(const char *password, unsigned int password_len, unsigned char *salt, unsigned char *salt_len)
Definition: mysql_native_password.cc:146
#define AUTH_FLAG_USES_INTERNAL_STORAGE
Definition: plugin_auth.h:50
#define MYSQL_AUTHENTICATION_INTERFACE_VERSION
Definition: plugin_auth.h:37
@ PLUGIN_MYSQL_NATIVE_PASSWORD
Definition: sql_authentication.h:161