summaryrefslogtreecommitdiff
path: root/include/my_crypt.h
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch '5.5' into 10.1Vicențiu Ciorbaru2019-05-111-1/+1
|
* MDEV-11663 Create services for functionality used by pluginsVladislav Vaintroub2017-04-271-69/+2
| | | | | | Added service for - encryption (AES) - error reporting, e.g my_printf_error()
* New encryption API. Piece-wise encryption.Sergei Golubchik2015-09-041-43/+39
| | | | | | | | | | | | | Instead of encrypt(src, dst, key, iv) that encrypts all data in one go, now we have encrypt_init(key,iv), encrypt_update(src,dst), and encrypt_finish(dst). This also causes collateral changes in the internal my_crypt.cc encryption functions and in the encryption service. There are wrappers to provide the old all-at-once encryption functionality. But binlog events are often written piecewise, they'll need the new api.
* my_aes_encrypt_gcm() and my_aes_decrypt_gcm()Sergei Golubchik2015-06-021-0/+13
|
* my_aes_get_size()Sergei Golubchik2015-06-021-1/+1
| | | | | return unsigned, not signed. return a value large enough for GCM
* Identical key derivation code in XtraDB/InnoDB/AriaSergei Golubchik2015-05-151-4/+4
| | | | | | | | * Extract it into the "encryption_scheme" service. * Make these engines to use the service, remove duplicate code. * Change MY_AES_xxx error codes, to return them safely from encryption_scheme_encrypt/decrypt without conflicting with ENCRYPTION_SCHEME_KEY_INVALID error
* move AES_CTR to its own greatly simplified functionSergei Golubchik2015-05-131-7/+2
| | | | | * don't use do_crypt() for stream cipher AES_CTR * rename do_crypt to block_crypt to emphasize its specialization
* remove now-empty my_aes.{h,cc}Sergei Golubchik2015-04-091-17/+33
| | | | move remaning defines to my_crypt, add MY_ namespace prefix
* encryption plugin controls the encryptionSergei Golubchik2015-04-091-36/+36
| | | | | | | | | * no --encryption-algorithm option anymore * encrypt/decrypt methods in the encryption plugin * ecnrypt/decrypt methods in the encryption_km service * file_km plugin has --file-key-management-encryption-algorithm * debug_km always uses aes_cbc * example_km changes between aes_cbc and aes_ecb for different key versions
* yassl supportSergei Golubchik2015-04-051-9/+9
|
* unify my_{en|de}crypt_{cbc|ecb|ctr}. no yassl support yet.Sergei Golubchik2015-04-051-11/+42
|
* cmake-time detection for EVP_aes_128_ctr()Sergei Golubchik2015-02-101-2/+0
| | | | because old openssl versions (e.g. on labrador) don't have it
* Push for testing of encryptionMonty2015-02-101-0/+42