MySQL 8.0.40
Source Code Documentation
keyring_encryption_service_impl_template.h File Reference

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...