MySQL 9.1.0
Source Code Documentation
keyring_encryption_service_definition.h File Reference

Go to the source code of this file.

Classes

class  keyring_common::service_definition::Keyring_aes_service_impl
 

Namespaces

namespace  keyring_common
 
namespace  keyring_common::service_definition
 

Macros

#define KEYRING_AES_IMPLEMENTOR(component_name)
 

Macro Definition Documentation

◆ KEYRING_AES_IMPLEMENTOR

#define KEYRING_AES_IMPLEMENTOR (   component_name)
Value:
BEGIN_SERVICE_IMPLEMENTATION(component_name, keyring_aes) \
keyring_common::service_definition::Keyring_aes_service_impl::decrypt \
END_SERVICE_IMPLEMENTATION()
static mysql_service_status_t encrypt(const char *data_id, const char *auth_id, const char *mode, size_t block_size, const unsigned char *iv, int padding, const unsigned char *data_buffer, size_t data_buffer_length, unsigned char *out_buffer, size_t out_buffer_length, size_t *out_length) noexcept
Encrypt given piece of plaintext.
Definition: keyring_encryption_service_definition.cc:53
static mysql_service_status_t get_size(size_t input_length, const char *mode, size_t block_size, size_t *out_size) noexcept
Retrieve required out buffer length information.
Definition: keyring_encryption_service_definition.cc:43
#define BEGIN_SERVICE_IMPLEMENTATION(component, service)
Declares a Service Implementation.
Definition: service_implementation.h:62