From afaabd75ae3bf93350dcbd81c2c348d5da3d8e58 Mon Sep 17 00:00:00 2001 From: Andrei Varvara Date: Thu, 18 Jul 2013 12:25:04 +0300 Subject: crypto: caam - Add define for NULL encryption This define is required for making descriptors with NULL encryption. Change-Id: If71ee727f18f1ea23a6bbe67b03046d526897a52 Signed-off-by: Andrei Varvara Change-Id: I61ef1a7d6bcf115f99f5160f76154c09e5f7f7da Reviewed-on: http://git.am.freescale.net:8181/3472 Tested-by: Review Code-CDREVIEW Reviewed-by: Fleming Andrew-AFLEMING Reviewed-by: Schmitt Richard-B43082 Tested-by: Schmitt Richard-B43082 diff --git a/drivers/crypto/caam/desc.h b/drivers/crypto/caam/desc.h index 53b296f..7ddc851 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 -- cgit v0.10.2