Spdk/lib/bdev/crypto
paul luse 369719c26b crypto: move PMD driver input validation to common function
Previously was only checking the crypto driver name in the conf
file parsing and not when it came in via RPC so a bogus name
could result in nasty stuff.  Moved the check to the common
function used by both paths so a bad name will fail gracefully.

Addresses github issue #444

Change-Id: Id881d9d448d0bb6935162484154964a1d5d59a0b
Signed-off-by: paul luse <paul.e.luse@intel.com>
Reviewed-on: https://review.gerrithub.io/427164
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
2018-09-28 18:43:04 +00:00
..
Makefile bdev: Add crypto virtual bdev module 2018-09-17 21:23:14 +00:00
vbdev_crypto_rpc.c test: exercise crypto rpc calls 2018-09-27 22:07:02 +00:00
vbdev_crypto.c crypto: move PMD driver input validation to common function 2018-09-28 18:43:04 +00:00
vbdev_crypto.h bdev: Add crypto virtual bdev module 2018-09-17 21:23:14 +00:00