crypto: cavium/nitrox - crypto request format changes
authorNagadheeraj, Rottela <Rottela.Nagadheeraj@cavium.com>
Wed, 21 Nov 2018 07:36:58 +0000 (07:36 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 29 Nov 2018 08:27:04 +0000 (16:27 +0800)
commit4bede34c1aa19266628b13f68db95ec4a16a6f38
tree548defeec461d0cd02a0e0a84c93ded378114cee
parent180def6c4ad139ae6f97953ae810092ace295d5b
crypto: cavium/nitrox - crypto request format changes

nitrox_skcipher_crypt() will do the necessary formatting/ordering of
input and output sglists based on the algorithm requirements.
It will also accommodate the mandatory output buffers required for
NITROX hardware like Output request headers (ORH) and Completion headers.

Signed-off-by: Nagadheeraj Rottela <rottela.nagadheeraj@cavium.com>
Reviewed-by: Srikanth Jampala <Jampala.Srikanth@cavium.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/cavium/nitrox/nitrox_algs.c
drivers/crypto/cavium/nitrox/nitrox_req.h
drivers/crypto/cavium/nitrox/nitrox_reqmgr.c