cryptodev: add cipher field to RSA op
authorArek Kusztal <arkadiuszx.kusztal@intel.com>
Thu, 18 Jul 2019 16:09:38 +0000 (18:09 +0200)
committerAkhil Goyal <akhil.goyal@nxp.com>
Fri, 19 Jul 2019 12:17:11 +0000 (14:17 +0200)
commit501ed9c6611f88dbe02ca40ffe0c10a9e2234a10
treefa676798db4a8db9c39678feb238162e25261fec
parent2e728ed3e47eb711b26a5c03681cf8f4f59f01ca
cryptodev: add cipher field to RSA op

Asymmetric nature of RSA algorithm suggest to use
additional field for output. In place operations
still can be done by setting cipher and message pointers
with the same memory address.

Signed-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com>
Acked-by: Shally Verma <shallyv@marvell.com>
app/test/test_cryptodev_asym.c
drivers/crypto/openssl/rte_openssl_pmd.c
lib/librte_cryptodev/rte_crypto_asym.h