MySQL 9.1.0
Source Code Documentation
|
Class to implement KDF method pbkdf2_hmac. More...
#include <my_kdf.h>
Public Member Functions | |
Key_pbkdf2_hmac_function (vector< string > *kdf_options) | |
pbkdf2_hmac Constructor. More... | |
virtual | ~Key_pbkdf2_hmac_function () override |
int | derive_key (const unsigned char *key, const unsigned int key_length, unsigned char *rkey, unsigned int key_size) override |
int | validate_options () override |
Public Member Functions inherited from Key_derivation_function | |
virtual | ~Key_derivation_function () |
Private Attributes | |
string | salt_ |
int | iterations_ {0} |
Additional Inherited Members | |
Protected Attributes inherited from Key_derivation_function | |
vector< string > * | kdf_options_ {nullptr} |
bool | options_valid_ {false} |
Class to implement KDF method pbkdf2_hmac.
Key_pbkdf2_hmac_function::Key_pbkdf2_hmac_function | ( | vector< string > * | kdf_options | ) |
pbkdf2_hmac Constructor.
kdf_options | options |
kdf_options has following KDF options:
|
inlineoverridevirtual |
|
overridevirtual |
Implements Key_derivation_function.
|
overridevirtual |
Implements Key_derivation_function.
|
private |
|
private |