diff options
author | Andrei Varvara <andrei.varvara@freescale.com> | 2013-07-18 09:25:04 (GMT) |
---|---|---|
committer | Emilian Medve <Emilian.Medve@freescale.com> | 2014-01-16 11:48:41 (GMT) |
commit | c0ba7ddbedcbf435bc2d8c653a16286d077e9183 (patch) | |
tree | 87773c83c42f670b8edc4bd3e9cc5509784a15d6 /drivers | |
parent | 66bba2c648363a7cc86f37b144f46981b07327b0 (diff) | |
download | linux-fsl-qoriq-c0ba7ddbedcbf435bc2d8c653a16286d077e9183.tar.xz |
crypto: caam - Add define for NULL encryption
This define is required for making descriptors
with NULL encryption.
drivers/staging/fsl_dpa_offload/dpa_ipsec.c:45:355: error: ‘OP_PCL_IPSEC_NULL_ENC’ undeclared here (not in a function)
struct ipsec_alg_suite ipsec_algs[] = IPSEC_ALGS;
drivers/staging/fsl_dpa_offload/dpa_ipsec.c: In function ‘check_sa_params’:
drivers/staging/fsl_dpa_offload/dpa_ipsec.c:2991:17: warning: comparison between pointer and integer [enabled by default]
if (cipher_alg != OP_PCL_IPSEC_NULL_ENC &&
^
Dropped during: b7c81aa Merge remote-tracking branch 'linus/master' into merge
Signed-off-by: Andrei Varvara <andrei.varvara@freescale.com>
Signed-off-by: Emil Medve <Emilian.Medve@Freescale.com>
Change-Id: I61ef1a7d6bcf115f99f5160f76154c09e5f7f7da
Reviewed-on: http://git.am.freescale.net:8181/7991
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Emilian Medve <Emilian.Medve@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/crypto/caam/desc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/caam/desc.h b/drivers/crypto/caam/desc.h index 7e4500f..79fce2e 100644 --- a/drivers/crypto/caam/desc.h +++ b/drivers/crypto/caam/desc.h @@ -463,6 +463,7 @@ struct sec4_sg_entry { #define OP_PCL_IPSEC_DES_IV64 0x0100 #define OP_PCL_IPSEC_DES 0x0200 #define OP_PCL_IPSEC_3DES 0x0300 +#define OP_PCL_IPSEC_NULL_ENC 0x0b00 #define OP_PCL_IPSEC_AES_CBC 0x0c00 #define OP_PCL_IPSEC_AES_CTR 0x0d00 #define OP_PCL_IPSEC_AES_XTS 0x1600 |