diff options
author | Catalin Vasile <catalin.vasile@freescale.com> | 2014-10-31 12:45:36 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2014-11-06 23:15:04 +0800 |
commit | a5f57cffce8af8d2c11204b4e289543021c73766 (patch) | |
tree | 08ec752fd9a894b33437827a7c7bf1e46f3d337e /drivers/crypto/caam/compat.h | |
parent | 2b22f6c547f90e1a41e3f39ad8d569e3efc74d42 (diff) | |
download | op-kernel-dev-a5f57cffce8af8d2c11204b4e289543021c73766.zip op-kernel-dev-a5f57cffce8af8d2c11204b4e289543021c73766.tar.gz |
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.h | 1 |
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> |