linux/crypto/michael_mic.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Cryptographic API
 *
 * Michael MIC (IEEE 802.11i/TKIP) keyed digest
 *
 * Copyright (c) 2004 Jouni Malinen <[email protected]>
 */
#include <crypto/internal/hash.h>
#include <asm/unaligned.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/string.h>
#include <linux/types.h>


struct michael_mic_ctx {};

struct michael_mic_desc_ctx {};

static inline u32 xswap(u32 val)
{}


#define michael_block(l, r)


static int michael_init(struct shash_desc *desc)
{}


static int michael_update(struct shash_desc *desc, const u8 *data,
			   unsigned int len)
{}


static int michael_final(struct shash_desc *desc, u8 *out)
{}


static int michael_setkey(struct crypto_shash *tfm, const u8 *key,
			  unsigned int keylen)
{}

static struct shash_alg alg =;

static int __init michael_mic_init(void)
{}


static void __exit michael_mic_exit(void)
{}


subsys_initcall(michael_mic_init);
module_exit(michael_mic_exit);

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