ah.h (ebf8889bd1fe3615991ff4494635d237280652a2) | ah.h (49cbf952488e7fa2f1160c80016e09e6c2854b24) |
---|---|
1#ifndef _NET_AH_H 2#define _NET_AH_H 3 4#include <linux/crypto.h> 5#include <net/xfrm.h> 6 7/* This is the maximum truncated ICV length that we know of. */ 8#define MAX_AH_AUTH_LEN 12 9 10struct ah_data 11{ 12 u8 *work_icv; 13 int icv_full_len; 14 int icv_trunc_len; 15 16 struct crypto_hash *tfm; | 1#ifndef _NET_AH_H 2#define _NET_AH_H 3 4#include <linux/crypto.h> 5#include <net/xfrm.h> 6 7/* This is the maximum truncated ICV length that we know of. */ 8#define MAX_AH_AUTH_LEN 12 9 10struct ah_data 11{ 12 u8 *work_icv; 13 int icv_full_len; 14 int icv_trunc_len; 15 16 struct crypto_hash *tfm; |
17 struct crypto_ahash *ahash; |
|
17}; 18 19static inline int ah_mac_digest(struct ah_data *ahp, struct sk_buff *skb, 20 u8 *auth_data) 21{ 22 struct hash_desc desc; 23 int err; 24 --- 24 unchanged lines hidden --- | 18}; 19 20static inline int ah_mac_digest(struct ah_data *ahp, struct sk_buff *skb, 21 u8 *auth_data) 22{ 23 struct hash_desc desc; 24 int err; 25 --- 24 unchanged lines hidden --- |