linux/arch/x86/crypto/twofish_glue_3way.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * Glue Code for 3-way parallel assembler optimized version of Twofish
 *
 * Copyright (c) 2011 Jussi Kivilinna <[email protected]>
 */

#include <asm/cpu_device_id.h>
#include <crypto/algapi.h>
#include <crypto/twofish.h>
#include <linux/crypto.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/types.h>

#include "twofish.h"
#include "ecb_cbc_helpers.h"

EXPORT_SYMBOL_GPL();
EXPORT_SYMBOL_GPL();

static int twofish_setkey_skcipher(struct crypto_skcipher *tfm,
				   const u8 *key, unsigned int keylen)
{}

static inline void twofish_enc_blk_3way(const void *ctx, u8 *dst, const u8 *src)
{}

void twofish_dec_blk_cbc_3way(const void *ctx, u8 *dst, const u8 *src)
{}
EXPORT_SYMBOL_GPL();

static int ecb_encrypt(struct skcipher_request *req)
{}

static int ecb_decrypt(struct skcipher_request *req)
{}

static int cbc_encrypt(struct skcipher_request *req)
{}

static int cbc_decrypt(struct skcipher_request *req)
{}

static struct skcipher_alg tf_skciphers[] =;

static bool is_blacklisted_cpu(void)
{}

static int force;
module_param(force, int, 0);
MODULE_PARM_DESC();

static int __init twofish_3way_init(void)
{}

static void __exit twofish_3way_fini(void)
{}

module_init();
module_exit(twofish_3way_fini);

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