![]() |
MySQL 8.0.43
Source Code Documentation
|
#include <openssl/conf.h>#include <string>#include <vector>Go to the source code of this file.
Classes | |
| class | Key_derivation_function |
| class | Key_pbkdf2_hmac_function |
| Class to implement KDF method pbkdf2_hmac. More... | |
Functions | |
| int | create_kdf_key (const unsigned char *key, const unsigned int key_length, unsigned char *rkey, unsigned int rkey_size, vector< string > *kdf_options) |
| Creates the required size of key using supplied key and KDF options. More... | |
| int create_kdf_key | ( | const unsigned char * | key, |
| const unsigned int | key_length, | ||
| unsigned char * | rkey, | ||
| unsigned int | rkey_size, | ||
| vector< string > * | kdf_options | ||
| ) |
Creates the required size of key using supplied key and KDF options.
KDF: key derivation function (KDF) is a cryptographic algorithm that derives one or more secret keys from a secret value such as a main key, a password, or a passphrase using a pseudorandom function (which typically uses a cryptographic hash function or block cipher)
| key | Input key | |
| key_length | Input key length | |
| [out] | rkey | output key |
| rkey_size | output key length | |
| kdf_options | KDF function options |