mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
2aaba014b5
<linux/cryptohash.h> sounds very generic and important, like it's the header to include if you're doing cryptographic hashing in the kernel. But actually it only includes the library implementation of the SHA-1 compression function (not even the full SHA-1). This should basically never be used anymore; SHA-1 is no longer considered secure, and there are much better ways to do cryptographic hashing in the kernel. Most files that include this header don't actually need it. So in preparation for removing it, remove all these unneeded includes of it. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
52 lines
1.1 KiB
C
52 lines
1.1 KiB
C
// SPDX-License-Identifier: GPL-2.0-only
|
|
/*
|
|
* Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu>
|
|
* Copyright (C) 2008-2009 PetaLogix
|
|
*/
|
|
|
|
#include <linux/export.h>
|
|
#include <linux/string.h>
|
|
#include <linux/delay.h>
|
|
#include <linux/in6.h>
|
|
#include <linux/syscalls.h>
|
|
|
|
#include <asm/checksum.h>
|
|
#include <asm/cacheflush.h>
|
|
#include <linux/io.h>
|
|
#include <asm/page.h>
|
|
#include <linux/ftrace.h>
|
|
#include <linux/uaccess.h>
|
|
|
|
#ifdef CONFIG_FUNCTION_TRACER
|
|
extern void _mcount(void);
|
|
EXPORT_SYMBOL(_mcount);
|
|
#endif
|
|
|
|
/*
|
|
* Assembly functions that may be used (directly or indirectly) by modules
|
|
*/
|
|
EXPORT_SYMBOL(__copy_tofrom_user);
|
|
EXPORT_SYMBOL(__strncpy_user);
|
|
|
|
#ifdef CONFIG_OPT_LIB_ASM
|
|
EXPORT_SYMBOL(memcpy);
|
|
EXPORT_SYMBOL(memmove);
|
|
#endif
|
|
|
|
#ifdef CONFIG_MMU
|
|
EXPORT_SYMBOL(empty_zero_page);
|
|
#endif
|
|
|
|
EXPORT_SYMBOL(mbc);
|
|
|
|
extern void __divsi3(void);
|
|
EXPORT_SYMBOL(__divsi3);
|
|
extern void __modsi3(void);
|
|
EXPORT_SYMBOL(__modsi3);
|
|
extern void __mulsi3(void);
|
|
EXPORT_SYMBOL(__mulsi3);
|
|
extern void __udivsi3(void);
|
|
EXPORT_SYMBOL(__udivsi3);
|
|
extern void __umodsi3(void);
|
|
EXPORT_SYMBOL(__umodsi3);
|