Skip to content

Commit

Permalink
ah: Add struct crypto_ahash to ah_data
Browse files Browse the repository at this point in the history
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Steffen Klassert authored and David S. Miller committed Oct 19, 2009
1 parent 2395f0e commit 49cbf95
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/net/ah.h
Original file line number Diff line number Diff line change
@@ -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,

0 comments on commit 49cbf95

Please sign in to comment.