crypto/octeontx2: improve symmetric session algos check
authorAnoob Joseph <anoobj@marvell.com>
Sat, 16 May 2020 09:26:56 +0000 (14:56 +0530)
committerAkhil Goyal <akhil.goyal@nxp.com>
Sun, 17 May 2020 14:10:44 +0000 (16:10 +0200)
commit96330d215f272c344d7329fd136cc17aa9301289
tree96e54903f1b1d10204223113c6ef8cded36d86f6
parent51f3e107aca23a1cbc1a5ad9fdce7921340307b5
crypto/octeontx2: improve symmetric session algos check

Session configure should return -ENOTSUP in case of unsupported xform
requests. Moving the validation of combinations out of cpt, as the
feature support will not be same across OCTEON TX and OCTEON TX2.

Signed-off-by: Ankur Dwivedi <adwivedi@marvell.com>
Signed-off-by: Anoob Joseph <anoobj@marvell.com>
drivers/crypto/octeontx2/otx2_cryptodev_ops.c