summary refs log tree commit diff
path: root/drivers/net/macsec.c
diff options
context:
space:
mode:
authorGiovanni Cabiddu <giovanni.cabiddu@intel.com>2019-04-29 16:43:17 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2019-05-23 14:01:02 +0800
commit15b5e9112c156b66176751302584b73f799c2383 (patch)
tree93c45a4fbd8dc06e632a98d0e827a6896f3bee8c /drivers/net/macsec.c
parentc044b62c3679fb2814fd4684fd8bb51ba38d6f3c (diff)
downloadlinux-15b5e9112c156b66176751302584b73f799c2383.tar.gz
crypto: qat - update iv after encryption or decryption operations
Allocate a contiguous buffer and instruct the qat hardware to return the
iv at the end of an encryption or decryption operation.
The iv is copied to the array provided by the user in the callback
function.

This problem was found with by the crypto self test.

Reviewed-by: Conor Mcloughlin <conor.mcloughlin@intel.com>
Tested-by: Sergey Portnoy <sergey.portnoy@intel.com>
Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/net/macsec.c')
0 files changed, 0 insertions, 0 deletions