For the complete documentation index, see llms.txt. This page is also available as Markdown.

My Crypt Service

Plugin API reference: My Crypt Service. Generated from the MariaDB server headers by doxygen and moxygen.

Plugin API / Services for Plugins / Plugin Services

AES encryption functions, and a function to generate random bytes.

Include my_config.h before this file to use CTR and GCM modes (they only work if server was compiled with openssl).

Classes

Name
Description

Macros


MY_AES_OK

Defined in service_my_crypt.h:43


MY_AES_BAD_DATA

Defined in service_my_crypt.h:44


MY_AES_OPENSSL_ERROR

Defined in service_my_crypt.h:45


MY_AES_BAD_KEYSIZE

Defined in service_my_crypt.h:46


MY_AES_BLOCK_SIZE

Defined in service_my_crypt.h:49


MY_AES_MAX_KEY_LENGTH

Defined in service_my_crypt.h:52


MY_AES_CTX_SIZE

Defined in service_my_crypt.h:54


my_aes_crypt_init

Defined in service_my_crypt.h:90


my_aes_crypt_update

Defined in service_my_crypt.h:93


my_aes_crypt_finish

Defined in service_my_crypt.h:96


my_aes_crypt

Defined in service_my_crypt.h:99


my_aes_get_size

Defined in service_my_crypt.h:102


my_aes_ctx_size

Defined in service_my_crypt.h:105


my_random_bytes

Defined in service_my_crypt.h:108


my_bytes_to_key

Defined in service_my_crypt.h:111

Enumerations

Name
Description

my_aes_mode

Defined in service_my_crypt.h:56

Value
Description

MY_AES_ECB

MY_AES_CBC


my_digest

Defined in service_my_crypt.h:66

Value
Description

MY_DIGEST_SHA1

MY_DIGEST_SHA224

MY_DIGEST_SHA256

MY_DIGEST_SHA384

MY_DIGEST_SHA512

Variables

Return
Name
Description

my_crypt_service

Type: struct my_crypt_service_st *

Defined in service_my_crypt.h:86

Class Definitions

my_crypt_service_st

Defined in service_my_crypt.h:69

Public Attributes


my_aes_crypt_init

Defined in service_my_crypt.h:70


my_aes_crypt_update

Defined in service_my_crypt.h:73


my_aes_crypt_finish

Defined in service_my_crypt.h:75


my_aes_crypt

Defined in service_my_crypt.h:76


my_aes_get_size

Defined in service_my_crypt.h:79


my_aes_ctx_size

Defined in service_my_crypt.h:80


my_random_bytes

Defined in service_my_crypt.h:81


my_bytes_to_key

Defined in service_my_crypt.h:82

This page is licensed: GPLv2

spinner

Last updated

Was this helpful?