My Project
|
Public Member Functions | |
const unsigned char * | retrieve_iv_ptr (enum my_aes_opmode aes_opmode, uint arg_count, Item **args, const char *func_name, THD *thd, my_bool *error_generated) |
helper class to process an IV argument to aes_encrypt/aes_decrypt
const unsigned char* iv_argument::retrieve_iv_ptr | ( | enum my_aes_opmode | aes_opmode, |
uint | arg_count, | ||
Item ** | args, | ||
const char * | func_name, | ||
THD * | thd, | ||
my_bool * | error_generated | ||
) | [inline] |
Validate the arguments and retrieve the IV value.
Processes a 3d optional IV argument to an Item_func function. Contains all the necessary stack buffers etc.
aes_opmode | the encryption mode | |
arg_count | number of parameters passed to the function | |
args | array of arguments passed to the function | |
func_name | the name of the function (for errors) | |
thd | the current thread (for errors) | |
[out] | error_generated | set to true if error was generated. |