aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pfkeyv2.h
diff options
context:
space:
mode:
authorJoy Latten <latten@austin.ibm.com>2008-02-07 23:11:56 -0800
committerDavid S. Miller <davem@davemloft.net>2008-02-07 23:11:56 -0800
commit405137d16fbe4c80b9e06e61af05856027745d23 (patch)
tree67c9540d5b7d968782b0d05d6a8cdee5f70afae9 /include/linux/pfkeyv2.h
parent054b0e2b2d5ed460784e8dfbf30ff4768dbf4376 (diff)
downloadkernel_samsung_smdk4412-405137d16fbe4c80b9e06e61af05856027745d23.zip
kernel_samsung_smdk4412-405137d16fbe4c80b9e06e61af05856027745d23.tar.gz
kernel_samsung_smdk4412-405137d16fbe4c80b9e06e61af05856027745d23.tar.bz2
[IPSEC]: Add support for aes-ctr.
The below patch allows IPsec to use CTR mode with AES encryption algorithm. Tested this using setkey in ipsec-tools. Signed-off-by: Joy Latten <latten@austin.ibm.com> Acked-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/pfkeyv2.h')
-rw-r--r--include/linux/pfkeyv2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/pfkeyv2.h b/include/linux/pfkeyv2.h
index 6db69ff..700725d 100644
--- a/include/linux/pfkeyv2.h
+++ b/include/linux/pfkeyv2.h
@@ -298,6 +298,7 @@ struct sadb_x_sec_ctx {
#define SADB_X_EALG_BLOWFISHCBC 7
#define SADB_EALG_NULL 11
#define SADB_X_EALG_AESCBC 12
+#define SADB_X_EALG_AESCTR 13
#define SADB_X_EALG_AES_CCM_ICV8 14
#define SADB_X_EALG_AES_CCM_ICV12 15
#define SADB_X_EALG_AES_CCM_ICV16 16