Commit 49cbf952 authored by Steffen Klassert's avatar Steffen Klassert Committed by David S. Miller

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
...@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment