aead.h (63293c61133447249d7e5b49d333f68825d30e43) aead.h (856e3f4092cfd9ea6d6564e73f5bce5a0ac3cae3)
1/*
2 * AEAD: Authenticated Encryption with Associated Data
3 *
4 * Copyright (c) 2007 Herbert Xu <herbert@gondor.apana.org.au>
5 *
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)

--- 103 unchanged lines hidden (view full) ---

112}
113
114static inline struct crypto_aead *crypto_spawn_aead(
115 struct crypto_aead_spawn *spawn)
116{
117 return crypto_spawn_tfm2(&spawn->base);
118}
119
1/*
2 * AEAD: Authenticated Encryption with Associated Data
3 *
4 * Copyright (c) 2007 Herbert Xu <herbert@gondor.apana.org.au>
5 *
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)

--- 103 unchanged lines hidden (view full) ---

112}
113
114static inline struct crypto_aead *crypto_spawn_aead(
115 struct crypto_aead_spawn *spawn)
116{
117 return crypto_spawn_tfm2(&spawn->base);
118}
119
120struct crypto_instance *aead_geniv_alloc(struct crypto_template *tmpl,
121 struct rtattr **tb, u32 type,
122 u32 mask);
123void aead_geniv_free(struct crypto_instance *inst);
120struct aead_instance *aead_geniv_alloc(struct crypto_template *tmpl,
121 struct rtattr **tb, u32 type, u32 mask);
122void aead_geniv_free(struct aead_instance *inst);
124int aead_geniv_init(struct crypto_tfm *tfm);
125void aead_geniv_exit(struct crypto_tfm *tfm);
126
127static inline struct crypto_aead *aead_geniv_base(struct crypto_aead *geniv)
128{
129 return geniv->child;
130}
131

--- 29 unchanged lines hidden ---
123int aead_geniv_init(struct crypto_tfm *tfm);
124void aead_geniv_exit(struct crypto_tfm *tfm);
125
126static inline struct crypto_aead *aead_geniv_base(struct crypto_aead *geniv)
127{
128 return geniv->child;
129}
130

--- 29 unchanged lines hidden ---