linux/crypto/seqiv.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * seqiv: Sequence Number IV Generator
 *
 * This generator generates an IV based on a sequence number by xoring it
 * with a salt.  This algorithm is mainly useful for CTR and similar modes.
 *
 * Copyright (c) 2007 Herbert Xu <[email protected]>
 */

#include <crypto/internal/geniv.h>
#include <crypto/scatterwalk.h>
#include <crypto/skcipher.h>
#include <linux/err.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/string.h>

static void seqiv_aead_encrypt_complete2(struct aead_request *req, int err)
{}

static void seqiv_aead_encrypt_complete(void *data, int err)
{}

static int seqiv_aead_encrypt(struct aead_request *req)
{}

static int seqiv_aead_decrypt(struct aead_request *req)
{}

static int seqiv_aead_create(struct crypto_template *tmpl, struct rtattr **tb)
{}

static struct crypto_template seqiv_tmpl =;

static int __init seqiv_module_init(void)
{}

static void __exit seqiv_module_exit(void)
{}

subsys_initcall(seqiv_module_init);
module_exit(seqiv_module_exit);

MODULE_LICENSE();
MODULE_DESCRIPTION();
MODULE_ALIAS_CRYPTO();