mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-27 09:01:50 +03:00
codership/mariadb-wsrep#27 Galera cache encryption
* Implemented encryption callback and enc_set_key * Added pure virtual functions for encryption functionality * Set enc key if provider was not loaded on time
This commit is contained in:
@ -55,6 +55,15 @@ namespace db
|
||||
enum wsrep::server_state::state) override;
|
||||
int wait_committing_transactions(int) override;
|
||||
void debug_sync(const char*) override;
|
||||
|
||||
int do_crypt(void** ctx,
|
||||
wsrep::const_buffer& key,
|
||||
const char (*iv)[32],
|
||||
wsrep::const_buffer& input,
|
||||
void* output,
|
||||
bool encrypt,
|
||||
bool last) override;
|
||||
|
||||
private:
|
||||
db::server& server_;
|
||||
wsrep::view logged_view_;
|
||||
|
Reference in New Issue
Block a user