ClickHouse/base
Vasily Nemkov b147ffcd43 encrypt, aes_encrypt_mysql, decrypt, aes_decrypt_mysql functions
Functions to encrypt/decrypt any input data with OpenSSL's ciphers
with custom key, iv, and add (-gcm mode only).

_mysql versions are 100% compatitable with corresponding MySQL functions

Supported modes depend on OpenSSL version, but generally are:
aes-{128,192,56}-{ecb,cbc,cfb1,cfb8,cfb128,ofb,gcm}

Please note that in a -gcm mode a 16-byte tag is appended to the ciphertext
on encryption and is expected to be found at the end of ciphertext on decryption.

Added tests that verify compatibility with MySQL functions,
and test vectors for GCM mode from OpenSSL.

Added masking rules for aes_X funtions
Rules are installed by default to config.d/query_masking_rules.xml
2020-09-01 12:42:15 +03:00
..
common encrypt, aes_encrypt_mysql, decrypt, aes_decrypt_mysql functions 2020-09-01 12:42:15 +03:00
daemon Reset signal handlers just before closing signal pipe to avoid EBADF after 2020-08-13 23:12:36 +03:00
ext Fix typos, the last 1% 2020-08-08 04:21:04 +03:00
glibc-compatibility Fix typos, the last 1% 2020-08-08 04:21:04 +03:00
loggers Fix typos, the last 1% 2020-08-08 04:21:04 +03:00
mysqlxx Change my_bool to bool. 2020-08-28 11:59:50 +03:00
pcg-random Fix typos, the last 1% 2020-08-08 04:21:04 +03:00
readpassphrase Add simple "clickhouse-install" tool 2020-08-08 21:38:34 +03:00
widechar_width Changes required for auto-sync with Arcadia 2020-04-16 15:31:57 +03:00
CMakeLists.txt Add simple "clickhouse-install" tool 2020-08-08 21:38:34 +03:00
ya.make Add simple "clickhouse-install" tool 2020-08-08 21:38:34 +03:00