mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-08-05 04:01:12 +03:00
Added encryption simulation in dbsim
Option --encryption=1 enables encryption simulation in dbsim. The `do_crypt()` callback flips bits of input buffer and writes to output.
This commit is contained in:
@@ -32,6 +32,7 @@ namespace db
|
||||
size_t n_transactions;
|
||||
size_t n_rows;
|
||||
size_t alg_freq;
|
||||
bool encryption;
|
||||
std::string topology;
|
||||
std::string wsrep_provider;
|
||||
std::string wsrep_provider_options;
|
||||
@@ -43,6 +44,7 @@ namespace db
|
||||
, n_transactions(0)
|
||||
, n_rows(1000)
|
||||
, alg_freq(0)
|
||||
, encryption(false)
|
||||
, topology()
|
||||
, wsrep_provider()
|
||||
, wsrep_provider_options()
|
||||
|
Reference in New Issue
Block a user