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)
12 #ifndef _CRYPTO_AUTHENC_H
13 #define _CRYPTO_AUTHENC_H
15 #include <linux/types.h>
18 CRYPTO_AUTHENC_KEYA_UNSPEC
,
19 CRYPTO_AUTHENC_KEYA_PARAM
,
22 struct crypto_authenc_key_param
{
26 struct crypto_authenc_keys
{
30 unsigned int authkeylen
;
31 unsigned int enckeylen
;
34 int crypto_authenc_extractkeys(struct crypto_authenc_keys
*keys
, const u8
*key
,
37 #endif /* _CRYPTO_AUTHENC_H */