Spdk/module/bdev/crypto
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
..
Makefile so_ver: increase all major versions 2022-01-31 15:29:56 +00:00
vbdev_crypto_rpc.c bdev/crypto: MLX5 AES_XTS general support 2022-03-24 09:21:35 +00:00
vbdev_crypto.c bdev/crypto: Critical fix about using binary keys 2022-03-24 09:21:35 +00:00
vbdev_crypto.h bdev/crypto: Critical fix about using binary keys 2022-03-24 09:21:35 +00:00