linux/crypto/khazad.c

/*
 * Cryptographic API.
 *
 * Khazad Algorithm
 *
 * The Khazad algorithm was developed by Paulo S. L. M. Barreto and
 * Vincent Rijmen.  It was a finalist in the NESSIE encryption contest.
 *
 * The original authors have disclaimed all copyright interest in this
 * code and thus put it in the public domain. The subsequent authors
 * have put this under the GNU General Public License.
 *
 * By Aaron Grothe [email protected], August 1, 2004
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 */

#include <crypto/algapi.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/mm.h>
#include <asm/byteorder.h>
#include <linux/types.h>

#define KHAZAD_KEY_SIZE
#define KHAZAD_BLOCK_SIZE
#define KHAZAD_ROUNDS

struct khazad_ctx {};

static const u64 T0[256] =;

static const u64 T1[256] =;

static const u64 T2[256] =;

static const u64 T3[256] =;

static const u64 T4[256] =;

static const u64 T5[256] =;

static const u64 T6[256] =;

static const u64 T7[256] =;

static const u64 c[KHAZAD_ROUNDS + 1] =;

static int khazad_setkey(struct crypto_tfm *tfm, const u8 *in_key,
			 unsigned int key_len)
{}

static void khazad_crypt(const u64 roundKey[KHAZAD_ROUNDS + 1],
		u8 *ciphertext, const u8 *plaintext)
{}

static void khazad_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src)
{}

static void khazad_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src)
{}

static struct crypto_alg khazad_alg =;

static int __init khazad_mod_init(void)
{}

static void __exit khazad_mod_fini(void)
{}


subsys_initcall(khazad_mod_init);
module_exit(khazad_mod_fini);

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