linux/arch/mips/cavium-octeon
Eric Biggers a24d22b225 crypto: sha - split sha.h into sha1.h and sha2.h
Currently <crypto/sha.h> contains declarations for both SHA-1 and SHA-2,
and <crypto/sha3.h> contains declarations for SHA-3.

This organization is inconsistent, but more importantly SHA-1 is no
longer considered to be cryptographically secure.  So to the extent
possible, SHA-1 shouldn't be grouped together with any of the other SHA
versions, and usage of it should be phased out.

Therefore, split <crypto/sha.h> into two headers <crypto/sha1.h> and
<crypto/sha2.h>, and make everyone explicitly specify whether they want
the declarations for SHA-1, SHA-2, or both.

This avoids making the SHA-1 declarations visible to files that don't
want anything to do with SHA-1.  It also prepares for potentially moving
sha1.h into a new insecure/ or dangerous/ directory.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Acked-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2020-11-20 14:45:33 +11:00
..
crypto crypto: sha - split sha.h into sha1.h and sha2.h 2020-11-20 14:45:33 +11:00
executive MIPS: Use fallthrough for arch/mips 2020-05-07 11:55:47 +02:00
cpu.c MIPS: Add missing include files 2017-03-08 10:38:06 +01:00
csrc-octeon.c MIPS: OCTEON: csrc-octeon: include linux/sched/clock.h 2018-11-21 15:36:42 -08:00
dma-octeon.c dma-mapping updates for 5.10 2020-10-15 14:43:29 -07:00
flash_setup.c MIPS: Octeon: Don't set .owner. 2015-04-08 01:10:53 +02:00
Kconfig swiotlb: move the SWIOTLB config symbol to lib/Kconfig 2018-05-09 06:58:01 +02:00
Makefile MIPS: OCTEON: Platform support for OCTEON III USB controller 2017-02-14 08:52:46 +00:00
oct_ilm.c treewide: Add SPDX license identifier for more missed files 2019-05-21 10:50:45 +02:00
octeon_boot.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
octeon-irq.c MIPS: OCTEON: irq: Fix potential NULL pointer dereference 2020-03-04 21:46:11 +01:00
octeon-memcpy.S mips: get rid of tail-zeroing in primitives 2017-04-06 02:08:08 -04:00
octeon-platform.c MIPS: Use fallthrough for arch/mips 2020-05-07 11:55:47 +02:00
octeon-usb.c Revert "MIPS: OCTEON: use devm_platform_ioremap_resource" 2020-09-23 09:26:44 +02:00
Platform MIPS: Only include the platform file needed 2020-05-13 00:17:18 +02:00
setup.c MIPS: replace add_memory_region with memblock 2020-10-12 12:01:36 +02:00
smp.c MIPS: OCTEON: smp: make internal symbols static 2018-11-21 15:36:43 -08:00