Skip to content
Snippets Groups Projects
Commit 49cbf952 authored by Steffen Klassert's avatar Steffen Klassert Committed by David S. Miller
Browse files

ah: Add struct crypto_ahash to ah_data


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

Signed-off-by: default avatarSteffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 2395f0e8
No related merge requests found
...@@ -14,6 +14,7 @@ struct ah_data ...@@ -14,6 +14,7 @@ struct ah_data
int icv_trunc_len; int icv_trunc_len;
struct crypto_hash *tfm; struct crypto_hash *tfm;
struct crypto_ahash *ahash;
}; };
static inline int ah_mac_digest(struct ah_data *ahp, struct sk_buff *skb, static inline int ah_mac_digest(struct ah_data *ahp, struct sk_buff *skb,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment