linux/fs/smb/common/cifs_md4.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Cryptographic API.
 *
 * MD4 Message Digest Algorithm (RFC1320).
 *
 * Implementation derived from Andrew Tridgell and Steve French's
 * CIFS MD4 implementation, and the cryptoapi implementation
 * originally based on the public domain implementation written
 * by Colin Plumb in 1993.
 *
 * Copyright (c) Andrew Tridgell 1997-1998.
 * Modified by Steve French ([email protected]) 2002
 * Copyright (c) Cryptoapi developers.
 * Copyright (c) 2002 David S. Miller ([email protected])
 * Copyright (c) 2002 James Morris <[email protected]>
 *
 */
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/string.h>
#include <linux/types.h>
#include <asm/byteorder.h>
#include "md4.h"

MODULE_DESCRIPTION();
MODULE_LICENSE();

static inline u32 lshift(u32 x, unsigned int s)
{}

static inline u32 F(u32 x, u32 y, u32 z)
{}

static inline u32 G(u32 x, u32 y, u32 z)
{}

static inline u32 H(u32 x, u32 y, u32 z)
{}

#define ROUND1(a,b,c,d,k,s)
#define ROUND2(a,b,c,d,k,s)
#define ROUND3(a,b,c,d,k,s)

static void md4_transform(u32 *hash, u32 const *in)
{}

static inline void md4_transform_helper(struct md4_ctx *ctx)
{}

int cifs_md4_init(struct md4_ctx *mctx)
{}
EXPORT_SYMBOL_GPL();

int cifs_md4_update(struct md4_ctx *mctx, const u8 *data, unsigned int len)
{}
EXPORT_SYMBOL_GPL();

int cifs_md4_final(struct md4_ctx *mctx, u8 *out)
{}
EXPORT_SYMBOL_GPL();