MySQL 9.0.0
Source Code Documentation
Key_derivation_function Class Referenceabstract

#include <my_kdf.h>

Inheritance diagram for Key_derivation_function:
[legend]

Public Member Functions

virtual ~Key_derivation_function ()
 
virtual int derive_key (const unsigned char *key, const unsigned int key_length, unsigned char *rkey, unsigned int key_size)=0
 
virtual int validate_options ()=0
 

Protected Attributes

vector< string > * kdf_options_ {nullptr}
 
bool options_valid_ {false}
 

Constructor & Destructor Documentation

◆ ~Key_derivation_function()

virtual Key_derivation_function::~Key_derivation_function ( )
inlinevirtual

Member Function Documentation

◆ derive_key()

virtual int Key_derivation_function::derive_key ( const unsigned char *  key,
const unsigned int  key_length,
unsigned char *  rkey,
unsigned int  key_size 
)
pure virtual

Implemented in Key_pbkdf2_hmac_function.

◆ validate_options()

virtual int Key_derivation_function::validate_options ( )
pure virtual

Implemented in Key_pbkdf2_hmac_function.

Member Data Documentation

◆ kdf_options_

vector<string>* Key_derivation_function::kdf_options_ {nullptr}
protected

◆ options_valid_

bool Key_derivation_function::options_valid_ {false}
protected

The documentation for this class was generated from the following file: