2 * AEAD: Authenticated Encryption with Associated Data
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)
13 #ifndef _CRYPTO_AEAD_H
14 #define _CRYPTO_AEAD_H
16 #include <linux/crypto.h>
17 #include <linux/kernel.h>
20 * struct aead_givcrypt_request - AEAD request with IV generation
21 * @seq: Sequence number for IV generation
22 * @giv: Space for generated IV
23 * @areq: The AEAD request itself
25 struct aead_givcrypt_request
{
29 struct aead_request areq
;
32 static inline struct crypto_aead
*aead_givcrypt_reqtfm(
33 struct aead_givcrypt_request
*req
)
35 return crypto_aead_reqtfm(&req
->areq
);
38 #endif /* _CRYPTO_AEAD_H */
This page took 0.074509 seconds and 6 git commands to generate.