summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/caam/compat.h
diff options
context:
space:
mode:
authorCatalin Vasile <catalin.vasile@freescale.com>2014-10-31 11:45:36 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2014-11-06 16:15:04 +0100
commita5f57cffce8af8d2c11204b4e289543021c73766 (patch)
tree08ec752fd9a894b33437827a7c7bf1e46f3d337e /drivers/crypto/caam/compat.h
parentcrypto: caam - add support for ctr(aes) (diff)
downloadlinux-a5f57cffce8af8d2c11204b4e289543021c73766.tar.xz
linux-a5f57cffce8af8d2c11204b4e289543021c73766.zip
crypto: caam - add support for rfc3686(ctr(aes))
Add support for Advanced Encryption Standard (AES) in Counter Mode (CTR) as provided in IPsec implementation standard RFC3686. ablkcipher shared descriptors now save context registers after job execution. This is used to load Nonce specific to RFC3686 only at first execution of shared job descriptor. Signed-off-by: Catalin Vasile <catalin.vasile@freescale.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/caam/compat.h')
-rw-r--r--drivers/crypto/caam/compat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/caam/compat.h b/drivers/crypto/caam/compat.h
index f227922cea38..acd7743e2603 100644
--- a/drivers/crypto/caam/compat.h
+++ b/drivers/crypto/caam/compat.h
@@ -28,6 +28,7 @@
#include <crypto/algapi.h>
#include <crypto/null.h>
#include <crypto/aes.h>
+#include <crypto/ctr.h>
#include <crypto/des.h>
#include <crypto/sha.h>
#include <crypto/md5.h>