Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6a0dc8d7 authored by Noriaki TAKAMIYA's avatar Noriaki TAKAMIYA Committed by Herbert Xu
Browse files

[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: default avatarNoriaki TAKAMIYA <takamiya@po.ntts.co.jp>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 390fbd1b
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
@@ -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",