Nagadheeraj Rottela
ced0a170fd
crypto: cavium/nitrox - Fix cbc ciphers self test failures
...
Self test failures are due to wrong output IV. This patch fixes this
issue by copying back output IV into skcipher request.
Signed-off-by: Nagadheeraj Rottela <rnagadheeraj@marvell.com >
Reviewed-by: Srikanth Jampala <jsrikanth@marvell.com >
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au >
2019-10-05 01:06:13 +10:00
Ard Biesheuvel
43d81a8b25
crypto: nitrox/des - switch to new verification routines
...
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org >
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au >
2019-08-22 14:39:39 +10:00
Herbert Xu
19291691b0
crypto: nitrox - Forbid 2-key 3DES in FIPS mode
...
This patch forbids the use of 2-key 3DES (K1 == K3) in FIPS mode.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au >
2019-04-18 22:14:59 +08:00
Nagadheeraj Rottela
c9613335bf
crypto: cavium/nitrox - Added AEAD cipher support
...
Added support to offload AEAD ciphers to NITROX. Currently supported
AEAD cipher is 'gcm(aes)'.
Signed-off-by: Nagadheeraj Rottela <rnagadheeraj@marvell.com >
Reviewed-by: Srikanth Jampala <jsrikanth@marvell.com >
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au >
2018-12-23 11:52:44 +08:00