]> err.no Git - linux-2.6/commitdiff
[IPSEC]: added the entry of Camellia cipher algorithm to ealg_list[]
authorNoriaki TAKAMIYA <takamiya@po.ntts.co.jp>
Sun, 22 Oct 2006 05:05:57 +0000 (15:05 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 6 Feb 2007 22:21:05 +0000 (09:21 +1100)
This patch adds the entry of Camellia cipher algorithm to ealg_list[].

Signed-off-by: Noriaki TAKAMIYA <takamiya@po.ntts.co.jp>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
net/xfrm/xfrm_algo.c

index f1cf3402e75c9aa6c8b242674133b546d0190fad..248f94814dfbd33d951ae539f286ec1287e55654 100644 (file)
@@ -265,6 +265,23 @@ static struct xfrm_algo_desc ealg_list[] = {
                 .sadb_alg_maxbits = 256,
         }
 },
+{
+       .name = "cbc(camellia)",
+
+       .uinfo = {
+               .encr = {
+                       .blockbits = 128,
+                       .defkeybits = 128,
+               }
+       },
+
+       .desc = {
+               .sadb_alg_id = SADB_X_EALG_CAMELLIACBC,
+               .sadb_alg_ivlen = 8,
+               .sadb_alg_minbits = 128,
+               .sadb_alg_maxbits = 256
+       }
+},
 {
         .name = "cbc(twofish)",
         .compat = "twofish",