Directory Files
.. 993
arm 27
arm64 28
mips 8
mpi 68
powerpc 19
riscv 18
s390 9
sparc 8
tests 233
x86 82
File Size
.aes.o.cmd 51 kB
.aescfb.o.cmd 50 kB
.arc4.o.cmd 49 kB
.blake2b.o.cmd 50 kB
.blake2s.o.cmd 50 kB
.built-in.a.cmd 795 B
.chacha-block-generic.o.cmd 14 kB
.chacha.o.cmd 50 kB
.chacha20poly1305.o.cmd 54 kB
.curve25519-hacl64.o.cmd 14 kB
.curve25519.o.cmd 50 kB
.des.o.cmd 50 kB
.gf128hash.o.cmd 52 kB
.gf128mul.ko.cmd 267 B
.gf128mul.mod.cmd 135 B
.gf128mul.mod.o.cmd 50 kB
.gf128mul.o.cmd 50 kB
.hash_info.o.cmd 50 kB
.kunitconfig 792 B
.libarc4.ko.cmd 263 B
.libarc4.mod.cmd 129 B
.libarc4.mod.o.cmd 50 kB
.libarc4.o.cmd 427 B
.libblake2b.ko.cmd 275 B
.libblake2b.mod.cmd 138 B
.libblake2b.mod.o.cmd 50 kB
.libblake2b.o.cmd 442 B
.libcurve25519.ko.cmd 287 B
.libcurve25519.mod.cmd 167 B
.libcurve25519.mod.o.cmd 50 kB
.libcurve25519.o.cmd 457 B
.libdes.ko.cmd 259 B
.libdes.mod.cmd 126 B
.libdes.mod.o.cmd 50 kB
.libdes.o.cmd 422 B
.libmldsa.ko.cmd 267 B
.libmldsa.mod.cmd 132 B
.libmldsa.mod.o.cmd 50 kB
.libmldsa.o.cmd 432 B
.libnh.ko.cmd 255 B
.libnh.mod.cmd 151 B
.libnh.mod.o.cmd 50 kB
.libnh.o.cmd 417 B
.libsha3.ko.cmd 263 B
.libsha3.mod.cmd 129 B
.libsha3.mod.o.cmd 50 kB
.libsha3.o.cmd 427 B
.libsm3.ko.cmd 259 B
.libsm3.mod.cmd 147 B
.libsm3.mod.o.cmd 50 kB
.libsm3.o.cmd 422 B
.md5.o.cmd 53 kB
.memneq.o.cmd 50 kB
.mldsa.o.cmd 50 kB
.modules.order.cmd 413 B
.nh.o.cmd 52 kB
.poly1305-donna64.o.cmd 13 kB
.poly1305.o.cmd 50 kB
.sha1.o.cmd 52 kB
.sha256.o.cmd 52 kB
.sha3.o.cmd 50 kB
.sha512.o.cmd 52 kB
.simd.o.cmd 31 kB
.siphash.o.cmd 33 kB
.sm3.o.cmd 52 kB
.utils.o.cmd 50 kB
Kconfig 7.6 kB
Makefile 13 kB
aes.c 68 kB
aes.o 168 kB
aescfb.c 7.0 kB
aescfb.o 22 kB
arc4.c 1.2 kB
arc4.o 10 kB
blake2b.c 4.7 kB
blake2b.o 21 kB
blake2s.c 4.3 kB
blake2s.o 24 kB
built-in.a 4.6 kB
chacha-block-generic.c 4.1 kB
chacha-block-generic.o 12 kB
chacha.c 1.7 kB
chacha.o 14 kB
chacha20poly1305.c 9.9 kB
chacha20poly1305.o 34 kB
curve25519-fiat32.c 30 kB
curve25519-hacl64.c 18 kB
curve25519-hacl64.o 50 kB
curve25519.c 2.3 kB
curve25519.o 40 kB
des.c 34 kB
des.o 198 kB
fips-aes.h 2.8 kB
fips-mldsa.h 33 kB
fips-sha.h 1.7 kB
gf128hash.c 14 kB
gf128hash.o 30 kB
gf128mul.c 11 kB
gf128mul.ko 45 kB
gf128mul.mod 22 B
gf128mul.mod.c 743 B
gf128mul.mod.o 6.2 kB
gf128mul.o 43 kB
hash_info.c 2.2 kB
hash_info.o 9.7 kB
libarc4.ko 16 kB
libarc4.mod 18 B
libarc4.mod.c 497 B
libarc4.mod.o 4.3 kB
libarc4.o 13 kB
libblake2b.ko 28 kB
libblake2b.mod 21 B
libblake2b.mod.c 509 B
libblake2b.mod.o 4.4 kB
libblake2b.o 26 kB
libcurve25519.ko 106 kB
libcurve25519.mod 55 B
libcurve25519.mod.c 609 B
libcurve25519.mod.o 4.6 kB
libcurve25519.o 104 kB
libdes.ko 227 kB
libdes.mod 17 B
libdes.mod.c 797 B
libdes.mod.o 6.7 kB
libdes.o 224 kB
libmldsa.ko 69 kB
libmldsa.mod 19 B
libmldsa.mod.c 540 B
libmldsa.mod.o 4.4 kB
libmldsa.o 67 kB
libnh.ko 18 kB
libnh.mod 66 B
libnh.mod.c 499 B
libnh.mod.o 3.9 kB
libnh.o 15 kB
libsha3.ko 50 kB
libsha3.mod 18 B
libsha3.mod.c 917 B
libsha3.mod.o 8.1 kB
libsha3.o 47 kB
libsm3.ko 61 kB
libsm3.mod 49 B
libsm3.mod.c 681 B
libsm3.mod.o 5.5 kB
libsm3.o 59 kB
md5.c 9.3 kB
md5.o 30 kB
memneq.c 6.6 kB
memneq.o 3.9 kB
mldsa.c 23 kB
mldsa.o 53 kB
modules.order 880 B
nh.c 2.2 kB
nh.o 9.5 kB
poly1305-donna32.c 4.9 kB
poly1305-donna64.c 3.9 kB
poly1305-donna64.o 7.5 kB
poly1305.c 2.5 kB
poly1305.o 21 kB
sha1.c 9.6 kB
sha1.o 42 kB
sha256.c 15 kB
sha256.o 67 kB
sha3.c 11 kB
sha3.o 36 kB
sha512.c 14 kB
sha512.o 60 kB
simd.c 265 B
simd.o 1.6 kB
siphash.c 12 kB
siphash.o 19 kB
sm3.c 8.8 kB
sm3.o 39 kB
utils.c 2.3 kB
utils.o 4.9 kB

Linux v7.4-rc3 - crypto

# SPDX-License-Identifier: GPL-2.0

config CRYPTO_HASH_INFO
	bool

config CRYPTO_LIB_UTILS
	tristate

config CRYPTO_LIB_AES
	tristate
	# Select dependencies of modes that are part of libaes.
	select CRYPTO_LIB_GF128HASH if CRYPTO_LIB_AES_GCM != n
	select CRYPTO_LIB_UTILS

config CRYPTO_LIB_AES_ARCH
	bool
	depends on CRYPTO_LIB_AES && !UML && !KMSAN
	default y if ARM
	default y if ARM64
	default y if PPC && (SPE || (PPC64 && VSX))
	default y if RISCV && 64BIT && TOOLCHAIN_HAS_VECTOR_CRYPTO && \
		     RISCV_EFFICIENT_VECTOR_UNALIGNED_ACCESS
	default y if S390
	default y if SPARC64
	default y if X86

config CRYPTO_LIB_AESCFB
	tristate
	select CRYPTO_LIB_AES
	select CRYPTO_LIB_UTILS

config CRYPTO_LIB_AES_CBC
	tristate
	select CRYPTO_LIB_AES
	help
	  The AES-CBC and AES-CBC-CTS library functions.

config CRYPTO_LIB_AES_CBC_MACS
	tristate
	select CRYPTO_LIB_AES
	help
	  The AES-CMAC, AES-XCBC-MAC, and AES-CBC-MAC library functions.  Select
	  this if your module uses any of the functions from
	  <crypto/aes-cbc-macs.h>.

config CRYPTO_LIB_AES_CCM
	tristate
	select CRYPTO_LIB_AES
	select CRYPTO_LIB_AES_CBC_MACS
	select CRYPTO_LIB_AES_CTR
	help
	  The AES-CCM library functions.

config CRYPTO_LIB_AES_CTR
	tristate
	select CRYPTO_LIB_AES
	help
	  The AES-CTR and AES-XCTR library functions.

config CRYPTO_LIB_AES_ECB
	tristate
	select CRYPTO_LIB_AES
	help
	  The AES-ECB library functions.

config CRYPTO_LIB_AES_GCM
	tristate
	select CRYPTO_LIB_AES
	select CRYPTO_LIB_AES_CTR
	help
	  The AES-GCM library functions.

config CRYPTO_LIB_AES_XTS
	tristate
	select CRYPTO_LIB_AES
	help
	  The AES-XTS library functions.

config CRYPTO_LIB_ARC4
	tristate

config CRYPTO_LIB_GF128MUL
	tristate

config CRYPTO_LIB_BLAKE2B
	tristate
	help
	  The BLAKE2b library functions.  Select this if your module uses any of
	  the functions from <crypto/blake2b.h>.

config CRYPTO_LIB_BLAKE2B_ARCH
	bool
	depends on CRYPTO_LIB_BLAKE2B && !UML
	default y if ARM && KERNEL_MODE_NEON

# BLAKE2s support is always built-in, so there's no CRYPTO_LIB_BLAKE2S option.

config CRYPTO_LIB_BLAKE2S_ARCH
	bool
	depends on !UML
	default y if ARM
	default y if X86_64

config CRYPTO_LIB_CHACHA
	tristate
	select CRYPTO_LIB_UTILS
	help
	  Enable the ChaCha library interface.  Select this if your module uses
	  chacha_crypt() or hchacha_block().

config CRYPTO_LIB_CHACHA_ARCH
	bool
	depends on CRYPTO_LIB_CHACHA && !UML && !KMSAN
	default y if ARM
	default y if ARM64
	default y if MIPS && CPU_MIPS32_R2
	default y if PPC64 && CPU_LITTLE_ENDIAN && VSX
	default y if RISCV && 64BIT && TOOLCHAIN_HAS_VECTOR_CRYPTO && \
		     RISCV_EFFICIENT_VECTOR_UNALIGNED_ACCESS
	default y if S390
	default y if X86_64

config CRYPTO_LIB_CURVE25519
	tristate
	select CRYPTO_LIB_UTILS
	help
	  The Curve25519 library functions.  Select this if your module uses any
	  of the functions from <crypto/curve25519.h>.

config CRYPTO_LIB_CURVE25519_ARCH
	bool
	depends on CRYPTO_LIB_CURVE25519 && !UML && !KMSAN
	default y if ARM && KERNEL_MODE_NEON && !CPU_BIG_ENDIAN
	default y if PPC64 && CPU_LITTLE_ENDIAN
	default y if X86_64

config CRYPTO_LIB_CURVE25519_GENERIC
	bool
	depends on CRYPTO_LIB_CURVE25519
	default y if !CRYPTO_LIB_CURVE25519_ARCH || ARM || X86_64

config CRYPTO_LIB_DES
	tristate

config CRYPTO_LIB_GF128HASH
	tristate
	help
	  The GHASH and POLYVAL library functions.  Select this if your module
	  uses any of the functions from <crypto/gf128hash.h>.

config CRYPTO_LIB_GF128HASH_ARCH
	bool
	depends on CRYPTO_LIB_GF128HASH && !UML
	default y if ARM && KERNEL_MODE_NEON
	default y if ARM64
	default y if PPC64 && VSX
	default y if RISCV && 64BIT && TOOLCHAIN_HAS_VECTOR_CRYPTO && \
		     RISCV_EFFICIENT_VECTOR_UNALIGNED_ACCESS
	default y if S390
	default y if X86_64

config CRYPTO_LIB_MD5
	tristate
	help
	  The MD5 and HMAC-MD5 library functions.  Select this if your module
	  uses any of the functions from <crypto/md5.h>.

config CRYPTO_LIB_MLDSA
	tristate
	select CRYPTO_LIB_SHA3
	help
	  The ML-DSA library functions.  Select this if your module uses any of
	  the functions from <crypto/mldsa.h>.

config CRYPTO_LIB_NH
	tristate
	help
	  Implementation of the NH almost-universal hash function, specifically
	  the variant of NH used in Adiantum.

config CRYPTO_LIB_NH_ARCH
	bool
	depends on CRYPTO_LIB_NH && !UML && !KMSAN
	default y if ARM && KERNEL_MODE_NEON
	default y if ARM64
	default y if X86_64

config CRYPTO_LIB_POLY1305
	tristate
	help
	  The Poly1305 library functions.  Select this if your module uses any
	  of the functions from <crypto/poly1305.h>.

config CRYPTO_LIB_POLY1305_ARCH
	bool
	depends on CRYPTO_LIB_POLY1305 && !UML && !KMSAN
	default y if ARM
	default y if ARM64
	default y if MIPS
	default y if RISCV
	default y if X86_64

# This symbol controls the inclusion of the Poly1305 generic code.  This differs
# from most of the other algorithms, which handle the generic code
# "automatically" via __maybe_unused.  This is needed so that the Adiantum code,
# which calls the poly1305_core_*() functions directly, can enable them.
config CRYPTO_LIB_POLY1305_GENERIC
	bool
	depends on CRYPTO_LIB_POLY1305
	default y if !CRYPTO_LIB_POLY1305_ARCH

config CRYPTO_LIB_POLY1305_RSIZE
	int
	default 2 if MIPS || RISCV
	default 11 if X86_64
	default 9 if ARM || ARM64
	default 1

config CRYPTO_LIB_CHACHA20POLY1305
	tristate
	select CRYPTO_LIB_CHACHA
	select CRYPTO_LIB_POLY1305
	select CRYPTO_LIB_UTILS

config CRYPTO_LIB_SHA1
	tristate
	help
	  The SHA-1 and HMAC-SHA1 library functions.  Select this if your module
	  uses any of the functions from <crypto/sha1.h>.

config CRYPTO_LIB_SHA1_ARCH
	bool
	depends on CRYPTO_LIB_SHA1 && !UML
	default y if ARM
	default y if ARM64
	default y if MIPS && CPU_CAVIUM_OCTEON && CPU_BIG_ENDIAN
	default y if PPC
	default y if S390
	default y if SPARC64
	default y if X86_64

config CRYPTO_LIB_SHA256
	tristate
	help
	  The SHA-224, SHA-256, HMAC-SHA224, and HMAC-SHA256 library functions.
	  Select this if your module uses any of these functions from
	  <crypto/sha2.h>.

config CRYPTO_LIB_SHA256_ARCH
	bool
	depends on CRYPTO_LIB_SHA256 && !UML
	default y if ARM && !CPU_V7M
	default y if ARM64
	default y if MIPS && CPU_CAVIUM_OCTEON && CPU_BIG_ENDIAN
	default y if PPC && SPE
	default y if RISCV && 64BIT && TOOLCHAIN_HAS_VECTOR_CRYPTO && \
		     RISCV_EFFICIENT_VECTOR_UNALIGNED_ACCESS
	default y if S390
	default y if SPARC64
	default y if X86_64

config CRYPTO_LIB_SHA512
	tristate
	help
	  The SHA-384, SHA-512, HMAC-SHA384, and HMAC-SHA512 library functions.
	  Select this if your module uses any of these functions from
	  <crypto/sha2.h>.

config CRYPTO_LIB_SHA512_ARCH
	bool
	depends on CRYPTO_LIB_SHA512 && !UML
	default y if ARM && !CPU_V7M
	default y if ARM64
	default y if MIPS && CPU_CAVIUM_OCTEON && CPU_BIG_ENDIAN
	default y if RISCV && 64BIT && TOOLCHAIN_HAS_VECTOR_CRYPTO && \
		     RISCV_EFFICIENT_VECTOR_UNALIGNED_ACCESS
	default y if S390
	default y if SPARC64
	default y if X86_64

config CRYPTO_LIB_SHA3
	tristate
	select CRYPTO_LIB_UTILS
	help
	  The SHA3 library functions.  Select this if your module uses any of
	  the functions from <crypto/sha3.h>.

config CRYPTO_LIB_SHA3_ARCH
	bool
	depends on CRYPTO_LIB_SHA3 && !UML
	default y if ARM64
	default y if S390

config CRYPTO_LIB_SM3
	tristate
	help
	  The SM3 library functions.  Select this if your module uses any of the
	  functions from <crypto/sm3.h>.

config CRYPTO_LIB_SM3_ARCH
	bool
	depends on CRYPTO_LIB_SM3 && !UML
	default y if ARM64
	default y if RISCV && 64BIT && TOOLCHAIN_HAS_VECTOR_CRYPTO && \
		     RISCV_EFFICIENT_VECTOR_UNALIGNED_ACCESS
	default y if X86_64