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:
@@ -69,6 +69,8 @@ db::params db::parse_args(int argc, char** argv)
|
||||
"number of rows per table")
|
||||
("alg-freq", po::value<size_t>(¶ms.alg_freq),
|
||||
"ALG frequency")
|
||||
("encryption", po::value<bool>(¶ms.encryption),
|
||||
"Enable encryption callback")
|
||||
("debug-log-level", po::value<int>(¶ms.debug_log_level),
|
||||
"debug logging level: 0 - none, 1 - verbose")
|
||||
("fast-exit", po::value<int>(¶ms.fast_exit),
|
||||
|
Reference in New Issue
Block a user