MySQL 8.0.40
Source Code Documentation
|
#include "sql/auth/sha2_password_common.h"
#include "my_config.h"
#include <alloca.h>
#include <openssl/evp.h>
#include <string.h>
#include <sys/types.h>
#include <string>
#include "my_compiler.h"
#include "my_dbug.h"
#include "my_inttypes.h"
#include "sql/auth/i_sha2_password_common.h"
Namespaces | |
namespace | sha2_password |
Functions | |
bool | generate_sha256_scramble (unsigned char *scramble, size_t scramble_size, const char *src, size_t src_size, const char *rnd, size_t rnd_size) |
bool | validate_sha256_scramble (const unsigned char *scramble, size_t scramble_size, const unsigned char *known, size_t known_size, const unsigned char *rnd, size_t rnd_size) |
bool generate_sha256_scramble | ( | unsigned char * | scramble, |
size_t | scramble_size, | ||
const char * | src, | ||
size_t | src_size, | ||
const char * | rnd, | ||
size_t | rnd_size | ||
) |
bool validate_sha256_scramble | ( | const unsigned char * | scramble, |
size_t | scramble_size, | ||
const unsigned char * | known, | ||
size_t | known_size, | ||
const unsigned char * | rnd, | ||
size_t | rnd_size | ||
) |