diff options
author | Noriaki TAKAMIYA <takamiya@po.ntts.co.jp> | 2006-10-22 01:05:57 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2007-02-06 17:21:05 -0500 |
commit | 6a0dc8d733de4aca958a73019877f96b4754d671 (patch) | |
tree | b9316278827c77cdca13a34aa50040c769a164c9 /net | |
parent | 390fbd1bfaa7b561af8e4f385067c55bdf4100ba (diff) |
[IPSEC]: added the entry of Camellia cipher algorithm to ealg_list[]
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>
Diffstat (limited to 'net')
-rw-r--r-- | net/xfrm/xfrm_algo.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/net/xfrm/xfrm_algo.c b/net/xfrm/xfrm_algo.c index f1cf3402e75c..248f94814dfb 100644 --- a/net/xfrm/xfrm_algo.c +++ b/net/xfrm/xfrm_algo.c | |||
@@ -266,6 +266,23 @@ static struct xfrm_algo_desc ealg_list[] = { | |||
266 | } | 266 | } |
267 | }, | 267 | }, |
268 | { | 268 | { |
269 | .name = "cbc(camellia)", | ||
270 | |||
271 | .uinfo = { | ||
272 | .encr = { | ||
273 | .blockbits = 128, | ||
274 | .defkeybits = 128, | ||
275 | } | ||
276 | }, | ||
277 | |||
278 | .desc = { | ||
279 | .sadb_alg_id = SADB_X_EALG_CAMELLIACBC, | ||
280 | .sadb_alg_ivlen = 8, | ||
281 | .sadb_alg_minbits = 128, | ||
282 | .sadb_alg_maxbits = 256 | ||
283 | } | ||
284 | }, | ||
285 | { | ||
269 | .name = "cbc(twofish)", | 286 | .name = "cbc(twofish)", |
270 | .compat = "twofish", | 287 | .compat = "twofish", |
271 | 288 | ||