25#ifndef SHA2_PASSWORD_INCLUDED
26#define SHA2_PASSWORD_INCLUDED
31 size_t scramble_size,
const unsigned char *known,
32 size_t known_size,
const unsigned char *
rnd,
static int rnd(int max_value)
Definition: hp_test2.cc:551
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_password.cc:137
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)
Definition: sha2_password_common.cc:436