diff options
author | Steffen Klassert <steffen.klassert@secunet.com> | 2009-10-07 22:47:16 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-18 21:31:58 -0700 |
commit | 49cbf952488e7fa2f1160c80016e09e6c2854b24 (patch) | |
tree | ef83643af4a84531bc09807172879e11d64a2da0 | |
parent | 2395f0e862aadf7d82d5a95cb2e8fdade8d7970d (diff) | |
download | op-kernel-dev-49cbf952488e7fa2f1160c80016e09e6c2854b24.zip op-kernel-dev-49cbf952488e7fa2f1160c80016e09e6c2854b24.tar.gz |
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: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | 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, |