summaryrefslogtreecommitdiff
path: root/include/net/ah.h
blob: 4e2dfa474a7e6e8deaeb56ec2a9115345141ac58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef _NET_AH_H
#define _NET_AH_H

#include <linux/skbuff.h>

struct crypto_ahash;

struct ah_data {
	int			icv_full_len;
	int			icv_trunc_len;

	struct crypto_ahash	*ahash;
};

struct ip_auth_hdr;

static inline struct ip_auth_hdr *ip_auth_hdr(const struct sk_buff *skb)
{
	return (struct ip_auth_hdr *)skb_transport_header(skb);
}

#endif
Torvalds <torvalds@linux-foundation.org>2017-02-01 09:24:00 -0800 committerLinus Torvalds <torvalds@linux-foundation.org>2017-02-01 09:24:00 -0800 commite387dc122fc7c70c2a5df2567f4e2d1114f5a5da (patch) treede85b3994f8b987e23caa2c9b256aeccb065bb17 /arch/arm/mach-iop13xx parent35609502ac5dea2b149ec0368791d9c0e246bd65 (diff)parent11e3b725cfc282efe9d4a354153e99d86a16af08 (diff)
Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
Pull crypto fixes from Herbert Xu: "This fixes a bug in CBC/CTR on ARM64 that breaks chaining as well as a bug in the core API that causes registration failures when a driver unloads and then reloads an algorithm" * 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: crypto: arm64/aes-blk - honour iv_out requirement in CBC and CTR modes crypto: api - Clear CRYPTO_ALG_DEAD bit before registering an alg
Diffstat (limited to 'arch/arm/mach-iop13xx')