ah: Add struct crypto_ahash to ah_data
authorSteffen Klassert <steffen.klassert@secunet.com>
Wed, 7 Oct 2009 22:47:16 +0000 (22:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 Oct 2009 04:31:58 +0000 (21:31 -0700)
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>
include/net/ah.h

index ae1c322f42429100a21eb623691a293b71b20da0..7ac52214ba0f17b1bbcc4bdff73b6457ed2a12a3 100644 (file)
@@ -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,