linux/crypto/arc4.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * Cryptographic API
 *
 * ARC4 Cipher Algorithm
 *
 * Jon Oberheide <[email protected]>
 */

#include <crypto/arc4.h>
#include <crypto/internal/skcipher.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/sched.h>

#define ARC4_ALIGN

static int crypto_arc4_setkey(struct crypto_lskcipher *tfm, const u8 *in_key,
			      unsigned int key_len)
{}

static int crypto_arc4_crypt(struct crypto_lskcipher *tfm, const u8 *src,
			     u8 *dst, unsigned nbytes, u8 *siv, u32 flags)
{}

static int crypto_arc4_init(struct crypto_lskcipher *tfm)
{}

static struct lskcipher_alg arc4_alg =;

static int __init arc4_init(void)
{}

static void __exit arc4_exit(void)
{}

subsys_initcall(arc4_init);
module_exit(arc4_exit);

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