Encryption Service
Plugin API reference: Encryption Service. Generated from the MariaDB server headers by doxygen and moxygen.
Functions to support data encryption and encryption key management.
They are normally implemented in an encryption plugin, so this service connects encryption consumers (e.g. storage engines) to the encryption provider* (encryption plugin).
Classes
Macros
ENCRYPTION_KEY_VERSION_INVALID
Defined in service_encryption.h:48
ENCRYPTION_KEY_NOT_ENCRYPTED
Defined in service_encryption.h:49
ENCRYPTION_KEY_SYSTEM_DATA
Defined in service_encryption.h:51
ENCRYPTION_KEY_TEMPORARY_DATA
Defined in service_encryption.h:52
ENCRYPTION_KEY_BUFFER_TOO_SMALL
Defined in service_encryption.h:55
ENCRYPTION_FLAG_DECRYPT
Defined in service_encryption.h:57
ENCRYPTION_FLAG_ENCRYPT
Defined in service_encryption.h:58
ENCRYPTION_FLAG_NOPAD
Defined in service_encryption.h:59
encryption_key_get_latest_version
Defined in service_encryption.h:80
encryption_key_get
Defined in service_encryption.h:81
encryption_ctx_size
Defined in service_encryption.h:82
encryption_ctx_init
Defined in service_encryption.h:83
encryption_ctx_update
Defined in service_encryption.h:84
encryption_ctx_finish
Defined in service_encryption.h:85
encryption_encrypted_length
Defined in service_encryption.h:86
Functions
encryption_key_id_exists
static inline
Defined in service_encryption.h:100
encryption_key_version_exists
static inline
Defined in service_encryption.h:105
encryption_crypt
static inline
Defined in service_encryption.h:116
main entrypoint to perform encryption or decryption
Invariants
src is valid for slen
Invariants
dst is valid for *dlen, *dlen is initialized
Invariants
src and dst do not overlap
Variables
encryption_service
Type: struct encryption_service_st *
Defined in service_encryption.h:78
Class Definitions
encryption_service_st
Defined in service_encryption.h:61
Public Attributes
encryption_key_get_latest_version_func
Defined in service_encryption.h:62
encryption_key_get_func
Defined in service_encryption.h:63
encryption_ctx_size_func
Defined in service_encryption.h:65
encryption_ctx_init_func
Defined in service_encryption.h:66
encryption_ctx_update_func
Defined in service_encryption.h:70
encryption_ctx_finish_func
Defined in service_encryption.h:72
encryption_encrypted_length_func
Defined in service_encryption.h:73
This page is licensed: GPLv2
Last updated
Was this helpful?

