Spdk/test/json_config
Yuriy Umanets 1434e255ef bdev/crypto: Critical fix about using binary keys
- Added hexlify() and unhexlify() for key and key2. This is required
  for keys that contain zero and non-ascii characters. Since binary
  keys may contain zero character, strlen(key) cannot be used and
  key_size and key2_size are used instead. Non-asci chars are not
  allowed in json and using hexlified keys fixes this issue as well.
- Updated documentation to clearly state that hexlified keys must
  be used.
- Updated test scripts.

Signed-off-by: Yuriy Umanets <yumanets@nvidia.com>
Change-Id: I3fce7839f7eaa67d0307071eba80b4cea472d731
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11891
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Paul Luse <paul.e.luse@intel.com>
Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
2022-03-24 09:21:35 +00:00
..
alias_rpc build: Output executables from the app directory to build/bin 2020-06-15 15:27:16 +00:00
clear_config.py scheduler: add scheduler subsystem JSON configuration 2021-09-07 07:33:03 +00:00
config_filter.py scheduler: add scheduler subsystem JSON configuration 2021-09-07 07:33:03 +00:00
extra_key.json test/config: verify extra key in config doesnt break parsing 2021-11-30 09:07:02 +00:00
json_config_extra_key.sh test/config: verify extra key in config doesnt break parsing 2021-11-30 09:07:02 +00:00
json_config.sh bdev/crypto: Critical fix about using binary keys 2022-03-24 09:21:35 +00:00
json_diff.sh test/json_config: Freebsd supports python3 now so use it 2020-01-17 14:07:39 +00:00