Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at master 24 lines 618 B view raw
1/* SPDX-License-Identifier: GPL-2.0-or-later */ 2/* 3 * geniv: IV generation 4 * 5 * Copyright (c) 2015 Herbert Xu <herbert@gondor.apana.org.au> 6 */ 7 8#ifndef _CRYPTO_INTERNAL_GENIV_H 9#define _CRYPTO_INTERNAL_GENIV_H 10 11#include <crypto/internal/aead.h> 12#include <linux/types.h> 13 14struct aead_geniv_ctx { 15 struct crypto_aead *child; 16 u8 salt[] __attribute__ ((aligned(__alignof__(u32)))); 17}; 18 19struct aead_instance *aead_geniv_alloc(struct crypto_template *tmpl, 20 struct rtattr **tb); 21int aead_init_geniv(struct crypto_aead *tfm); 22void aead_exit_geniv(struct crypto_aead *tfm); 23 24#endif /* _CRYPTO_INTERNAL_GENIV_H */