MySQL 8.4.2
Source Code Documentation
passwd.cc File Reference
#include "passwd.h"
#include <algorithm>
#include <fstream>
#include <sstream>
#include <vector>
#include "mysql/harness/arg_handler.h"
#include "mysql/harness/filesystem.h"
#include "mysql/harness/utility/string.h"
#include "mysqlrouter/utils.h"
#include "print_version.h"
#include "router_config.h"
#include "welcome_copyright_notice.h"
#include "http_auth_backend.h"
#include "kdf_pbkdf2.h"
#include "kdf_sha_crypt.h"

Variables

static constexpr char kKdfNameSha256Crypt [] {"sha256-crypt"}
 
static constexpr char kKdfNameSha512Crypt [] {"sha512-crypt"}
 
static constexpr char kKdfNamePkbdf2Sha256 [] {"pbkdf2-sha256"}
 
static constexpr char kKdfNamePkbdf2Sha512 [] {"pbkdf2-sha512"}
 
static std::map< std::string, PasswdFrontend::Kdfsupported_kdfs
 

Variable Documentation

◆ kKdfNamePkbdf2Sha256

constexpr char kKdfNamePkbdf2Sha256[] {"pbkdf2-sha256"}
staticconstexpr

◆ kKdfNamePkbdf2Sha512

constexpr char kKdfNamePkbdf2Sha512[] {"pbkdf2-sha512"}
staticconstexpr

◆ kKdfNameSha256Crypt

constexpr char kKdfNameSha256Crypt[] {"sha256-crypt"}
staticconstexpr

◆ kKdfNameSha512Crypt

constexpr char kKdfNameSha512Crypt[] {"sha512-crypt"}
staticconstexpr

◆ supported_kdfs

std::map<std::string, PasswdFrontend::Kdf> supported_kdfs
static
Initial value:
{
static constexpr char kKdfNameSha512Crypt[]
Definition: passwd.cc:46
static constexpr char kKdfNamePkbdf2Sha256[]
Definition: passwd.cc:47
static constexpr char kKdfNameSha256Crypt[]
Definition: passwd.cc:45
static constexpr char kKdfNamePkbdf2Sha512[]
Definition: passwd.cc:48