[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4B542052.2000409@cn.fujitsu.com>
Date: Mon, 18 Jan 2010 16:48:18 +0800
From: Li Yewang <lyw@...fujitsu.com>
To: netdev@...r.kernel.org
Subject: Re: [PATCH][XFRM] Use the simple name when adding SAD with ip xfrm
state
Li Yewang wrote:
> The encryption name such as "rfc3686(ctr(aes))" is too complex.
> I think simple name is better for user when using "ip xfrm state ..." command.
>
sorry for bad patch about previous mail.
Signed-off-by: Li Yewang <lyw@...fujitsu.com>
---
net/xfrm/xfrm_algo.c | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/net/xfrm/xfrm_algo.c b/net/xfrm/xfrm_algo.c
index 743c013..6de2780 100644
--- a/net/xfrm/xfrm_algo.c
+++ b/net/xfrm/xfrm_algo.c
@@ -31,6 +31,7 @@
static struct xfrm_algo_desc aead_list[] = {
{
.name = "rfc4106(gcm(aes))",
+ .compat = "gcm",
.uinfo = {
.aead = {
@@ -47,6 +48,7 @@ static struct xfrm_algo_desc aead_list[] = {
},
{
.name = "rfc4106(gcm(aes))",
+ .compat = "gcm",
.uinfo = {
.aead = {
@@ -63,6 +65,7 @@ static struct xfrm_algo_desc aead_list[] = {
},
{
.name = "rfc4106(gcm(aes))",
+ .compat = "gcm",
.uinfo = {
.aead = {
@@ -79,6 +82,7 @@ static struct xfrm_algo_desc aead_list[] = {
},
{
.name = "rfc4309(ccm(aes))",
+ .compat = "ccm",
.uinfo = {
.aead = {
@@ -95,6 +99,7 @@ static struct xfrm_algo_desc aead_list[] = {
},
{
.name = "rfc4309(ccm(aes))",
+ .compat = "ccm",
.uinfo = {
.aead = {
@@ -111,6 +116,7 @@ static struct xfrm_algo_desc aead_list[] = {
},
{
.name = "rfc4309(ccm(aes))",
+ .compat = "ccm",
.uinfo = {
.aead = {
@@ -201,6 +207,7 @@ static struct xfrm_algo_desc aalg_list[] = {
},
{
.name = "hmac(sha384)",
+ .compat = "sha384",
.uinfo = {
.auth = {
@@ -218,6 +225,7 @@ static struct xfrm_algo_desc aalg_list[] = {
},
{
.name = "hmac(sha512)",
+ .compat = "sha512",
.uinfo = {
.auth = {
@@ -253,6 +261,7 @@ static struct xfrm_algo_desc aalg_list[] = {
},
{
.name = "xcbc(aes)",
+ .compat = "aes-xcbc",
.uinfo = {
.auth = {
@@ -435,6 +444,7 @@ static struct xfrm_algo_desc ealg_list[] = {
},
{
.name = "rfc3686(ctr(aes))",
+ .compat = "aes-ctr",
.uinfo = {
.encr = {
--
1.6.4.1
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists