linux/crypto/geniv.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * geniv: Shared IV generator code
 *
 * This file provides common code to IV generators such as seqiv.
 *
 * Copyright (c) 2007-2019 Herbert Xu <[email protected]>
 */

#include <crypto/internal/geniv.h>
#include <crypto/internal/rng.h>
#include <crypto/null.h>
#include <linux/err.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/rtnetlink.h>
#include <linux/slab.h>

static int aead_geniv_setkey(struct crypto_aead *tfm,
			     const u8 *key, unsigned int keylen)
{}

static int aead_geniv_setauthsize(struct crypto_aead *tfm,
				  unsigned int authsize)
{}

static void aead_geniv_free(struct aead_instance *inst)
{}

struct aead_instance *aead_geniv_alloc(struct crypto_template *tmpl,
				       struct rtattr **tb)
{}
EXPORT_SYMBOL_GPL();

int aead_init_geniv(struct crypto_aead *aead)
{}
EXPORT_SYMBOL_GPL();

void aead_exit_geniv(struct crypto_aead *tfm)
{}
EXPORT_SYMBOL_GPL();

MODULE_LICENSE();
MODULE_DESCRIPTION();