MySQL 8.4.2
Source Code Documentation
|
#include <algorithm>
#include <cctype>
#include <cstring>
#include <functional>
#include <memory>
#include <sstream>
#include <my_dbug.h>
#include <mysql/components/services/log_builtins.h>
#include <mysqld_error.h>
#include <scope_guard.h>
#include <components/keyrings/common/component_helpers/include/keyring_reader_service_impl_template.h>
#include <components/keyrings/common/component_helpers/include/service_requirements.h>
#include <components/keyrings/common/data/data.h>
#include <components/keyrings/common/encryption/aes.h>
#include <components/keyrings/common/operations/operations.h>
Go to the source code of this file.
Namespaces | |
namespace | keyring_common |
namespace | keyring_common::service_implementation |
Functions | |
bool | keyring_common::service_implementation::aes_get_encrypted_size_template (size_t input_length, const char *mode, size_t block_size, size_t *out_size) |
Retrieve required out buffer length information. More... | |
template<typename Backend , typename Data_extension = Data> | |
bool | keyring_common::service_implementation::aes_encrypt_template (const char *data_id, const char *auth_id, const char *mode, size_t block_size, const unsigned char *iv, bool padding, const unsigned char *data_buffer, size_t data_buffer_length, unsigned char *out_buffer, size_t out_buffer_length, size_t *out_length, Keyring_operations< Backend, Data_extension > &keyring_operations, Component_callbacks &callbacks) |
Encrypt given piece of plaintext. More... | |
template<typename Backend , typename Data_extension = Data> | |
bool | keyring_common::service_implementation::aes_decrypt_template (const char *data_id, const char *auth_id, const char *mode, size_t block_size, const unsigned char *iv, bool padding, const unsigned char *data_buffer, size_t data_buffer_length, unsigned char *out_buffer, size_t out_buffer_length, size_t *out_length, Keyring_operations< Backend, Data_extension > &keyring_operations, Component_callbacks &callbacks) |
Decrypt given piece ciphertext. More... | |