summaryrefslogtreecommitdiff
path: root/drivers/crypto/caam/compat.h
diff options
context:
space:
mode:
authorCatalin Vasile <catalin.vasile@freescale.com>2014-10-31 10:45:36 (GMT)
committerHerbert Xu <herbert@gondor.apana.org.au>2014-11-06 15:15:04 (GMT)
commita5f57cffce8af8d2c11204b4e289543021c73766 (patch)
tree08ec752fd9a894b33437827a7c7bf1e46f3d337e /drivers/crypto/caam/compat.h
parent2b22f6c547f90e1a41e3f39ad8d569e3efc74d42 (diff)
downloadlinux-a5f57cffce8af8d2c11204b4e289543021c73766.tar.xz
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 f227922..acd7743 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>