• Sergei Golubchik's avatar
    New encryption API. Piece-wise encryption. · 66b9a940
    Sergei Golubchik authored
    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.
    66b9a940
my_crypt.h 2.73 KB