mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-12-27 10:01:39 -05:00
Add SHA-3 support to lib/crypto/. All six algorithms in the SHA-3
family are supported: four digests (SHA3-224, SHA3-256, SHA3-384, and
SHA3-512) and two extendable-output functions (SHAKE128 and SHAKE256).
The SHAKE algorithms will be required for ML-DSA.
[EB: simplified the API to use fewer types and functions, fixed bug that
sometimes caused incorrect SHAKE output, cleaned up the
documentation, dropped an ad-hoc test that was inconsistent with
the rest of lib/crypto/, and many other cleanups]
Signed-off-by: David Howells <dhowells@redhat.com>
Co-developed-by: Eric Biggers <ebiggers@kernel.org>
Tested-by: Harald Freudenberger <freude@linux.ibm.com>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20251026055032.1413733-4-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
31 lines
553 B
ReStructuredText
31 lines
553 B
ReStructuredText
==========
|
|
Crypto API
|
|
==========
|
|
|
|
:Author: Stephan Mueller
|
|
:Author: Marek Vasut
|
|
|
|
This documentation outlines the Linux kernel crypto API with its
|
|
concepts, details about developing cipher implementations, employment of the API
|
|
for cryptographic use cases, as well as programming examples.
|
|
|
|
.. toctree::
|
|
:caption: Table of contents
|
|
:maxdepth: 2
|
|
|
|
intro
|
|
api-intro
|
|
architecture
|
|
|
|
async-tx-api
|
|
asymmetric-keys
|
|
devel-algos
|
|
userspace-if
|
|
crypto_engine
|
|
api
|
|
api-samples
|
|
descore-readme
|
|
device_drivers/index
|
|
krb5
|
|
sha3
|