x86/mm/pat: Don't report PAT on CPUs that don't support it
[linux/fpc-iii.git] / include / crypto / authenc.h
blob6775059539b56f2ffe870d28c4d2ab35821c013a
1 /*
2 * Authenc: Simple AEAD wrapper for IPsec
4 * Copyright (c) 2007 Herbert Xu <herbert@gondor.apana.org.au>
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the Free
8 * Software Foundation; either version 2 of the License, or (at your option)
9 * any later version.
12 #ifndef _CRYPTO_AUTHENC_H
13 #define _CRYPTO_AUTHENC_H
15 #include <linux/types.h>
17 enum {
18 CRYPTO_AUTHENC_KEYA_UNSPEC,
19 CRYPTO_AUTHENC_KEYA_PARAM,
22 struct crypto_authenc_key_param {
23 __be32 enckeylen;
26 struct crypto_authenc_keys {
27 const u8 *authkey;
28 const u8 *enckey;
30 unsigned int authkeylen;
31 unsigned int enckeylen;
34 int crypto_authenc_extractkeys(struct crypto_authenc_keys *keys, const u8 *key,
35 unsigned int keylen);
37 #endif /* _CRYPTO_AUTHENC_H */