public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Steffen Klassert <steffen.klassert@secunet•com>
To: David Miller <davem@davemloft•net>,
	Herbert Xu <herbert@gondor•apana.org.au>
Cc: netdev@vger•kernel.org
Subject: [PATCH 1/5] ah: Add struct crypto_ahash to ah_data
Date: Thu, 8 Oct 2009 10:47:16 +0200	[thread overview]
Message-ID: <20091008084716.GK15653@secunet.com> (raw)
In-Reply-To: <20091008084631.GJ15653@secunet.com>

To support for ahash algorithms, we add a pointer to a
crypto_ahash to ah_data.

Signed-off-by: Steffen Klassert <steffen.klassert@secunet•com>
---
 include/net/ah.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/net/ah.h b/include/net/ah.h
index ae1c322..7ac5221 100644
--- a/include/net/ah.h
+++ b/include/net/ah.h
@@ -14,6 +14,7 @@ struct ah_data
 	int			icv_trunc_len;
 
 	struct crypto_hash	*tfm;
+	struct crypto_ahash	*ahash;
 };
 
 static inline int ah_mac_digest(struct ah_data *ahp, struct sk_buff *skb,
-- 
1.5.4.2


  reply	other threads:[~2009-10-08  8:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-08  8:46 [PATCH 0/5] IPsec: convert to ahash Steffen Klassert
2009-10-08  8:47 ` Steffen Klassert [this message]
2009-10-08  8:48 ` [PATCH 2/5] ah4: " Steffen Klassert
2009-10-08  8:49 ` [PATCH 3/5] ah6: " Steffen Klassert
2009-10-08  8:49 ` [PATCH 4/5] ah: Remove obsolete code Steffen Klassert
2009-10-08  8:50 ` [PATCH 5/5] xfrm: remove skb_icv_walk Steffen Klassert
2009-10-19  4:34 ` [PATCH 0/5] IPsec: convert to ahash David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091008084716.GK15653@secunet.com \
    --to=steffen.klassert@secunet$(echo .)com \
    --cc=davem@davemloft$(echo .)net \
    --cc=herbert@gondor$(echo .)apana.org.au \
    --cc=netdev@vger$(echo .)kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox