summaryrefslogtreecommitdiff
path: root/mysys_ssl/my_crypt.cc
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch '5.5' into 10.1Vicențiu Ciorbaru2019-05-111-1/+1
|
* MDEV-14343 Server crash on FIPS with openssl-1.0.2kSergei Golubchik2018-01-301-21/+2
| | | | don't use internal undocumented OpenSSL functionality
* MDEV-11663 Create services for functionality used by pluginsVladislav Vaintroub2017-04-271-0/+26
| | | | | | Added service for - encryption (AES) - error reporting, e.g my_printf_error()
* Merge branch '10.0' into 10.1Sergei Golubchik2015-12-211-0/+4
|
* New encryption API. Piece-wise encryption.Sergei Golubchik2015-09-041-275/+174
| | | | | | | | | | | | | 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.
* MDEV-8281 aes_decrypt crashes in block_crypt()Sergei Golubchik2015-06-271-1/+1
| | | | fix aes_decrypt of yassl to support zero-length input
* my_aes_encrypt_gcm() and my_aes_decrypt_gcm()Sergei Golubchik2015-06-021-1/+85
|
* my_aes_get_size()Sergei Golubchik2015-06-021-8/+10
| | | | | return unsigned, not signed. return a value large enough for GCM
* Merge tag 'mariadb-10.0.19' into 10.1Sergei Golubchik2015-06-011-1/+2
|
* MDEV-8162 func_str crashes on SELECT AES_DECRYPT(AES_ENCRYPT(...)) on line 107Sergei Golubchik2015-05-151-23/+24
| | | | encrypting 0 byte string *is* possible
* MDEV-8022 Assertion `rc == 0' failed in ma_encrypt on dropping an encrypted ↵Sergei Golubchik2015-05-131-51/+61
| | | | | | | | | | | Aria table fix encryption of the last partial block * now really encrypt it, using key and iv * support the case of very short plaintext (less than one block) * recommend aes_ctr over aes_cbc, because the former doesn't have problems with partial blocks
* move AES_CTR to its own greatly simplified functionSergei Golubchik2015-05-131-32/+41
| | | | | * 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-11/+28
| | | | move remaning defines to my_crypt, add MY_ namespace prefix
* encryption plugin controls the encryptionSergei Golubchik2015-04-091-39/+39
| | | | | | | | | * 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 paddingSergei Golubchik2015-04-081-11/+33
|
* my_aes* functions: support for different key lengthsSergei Golubchik2015-04-081-14/+38
| | | | to: different key lengths
* yassl supportSergei Golubchik2015-04-051-30/+63
|
* unify my_{en|de}crypt_{cbc|ecb|ctr}. no yassl support yet.Sergei Golubchik2015-04-051-29/+96
|
* simplify my_crypt.cc, remove duplicate codeSergei Golubchik2015-04-051-278/+30
|
* cmake-time detection for EVP_aes_128_ctr()Sergei Golubchik2015-02-101-1/+2
| | | | because old openssl versions (e.g. on labrador) don't have it
* Push for testing of encryptionMonty2015-02-101-0/+370