linux/Documentation/crypto
Eric Biggers e9af4f47d4 lib/crypto: docs: Add rst documentation to Documentation/crypto/
Add a documentation file Documentation/crypto/libcrypto.rst which
provides a high-level overview of lib/crypto/.

Also add several sub-pages which include the kernel-doc for the
algorithms that have it.  This makes the existing, quite extensive
kernel-doc start being included in the HTML and PDF documentation.

Note that the intent is very much *not* that everyone has to read these
Documentation/ files.  The library is intended to be straightforward and
use familiar conventions; generally it should be possible to dive right
into the kernel-doc.  You shouldn't need to read a lot of documentation
to just call `sha256()`, for example, or to run the unit tests if you're
already familiar with KUnit.  (This differs from the traditional crypto
API which has a larger barrier to entry.)

Nevertheless, this seems worth adding.  Hopefully it is useful and makes
LWN no longer consider the library to be "meticulously undocumented".

Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Link: https://lore.kernel.org/r/20260418192138.15556-3-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
2026-04-18 17:32:02 -07:00
..
device_drivers crypto: octeontx2 - add devlink option to set t106 mode 2023-12-29 11:25:38 +08:00
api-aead.rst crypto: doc - Add explicit title heading to API docs 2025-09-28 11:54:48 +08:00
api-akcipher.rst crypto: doc - Add explicit title heading to API docs 2025-09-28 11:54:48 +08:00
api-digest.rst crypto: doc - Add explicit title heading to API docs 2025-09-28 11:54:48 +08:00
api-intro.rst It's been a busy cycle for documentation - hopefully the busiest for a 2020-08-04 22:47:54 -07:00
api-kpp.rst crypto: doc - Add explicit title heading to API docs 2025-09-28 11:54:48 +08:00
api-rng.rst crypto: doc - Add explicit title heading to API docs 2025-09-28 11:54:48 +08:00
api-samples.rst
api-sig.rst crypto: doc - Add explicit title heading to API docs 2025-09-28 11:54:48 +08:00
api-skcipher.rst crypto: doc - Add explicit title heading to API docs 2025-09-28 11:54:48 +08:00
api.rst crypto: sig - Introduce sig_alg backend 2024-10-05 13:22:04 +08:00
architecture.rst crypto: remove obsolete 'comp' compression API 2025-03-21 17:39:06 +08:00
asymmetric-keys.rst docs: crypto: convert asymmetric-keys.txt to ReST 2020-06-19 14:03:46 -06:00
async-tx-api.rst docs: crypto: async-tx-api: fix broken code example 2024-06-12 15:41:09 -06:00
crypto_engine.rst crypto: engine - remove {prepare,unprepare}_crypt_hardware callbacks 2025-07-18 20:52:00 +10:00
descore-readme.rst docs: crypto: descore-readme.txt: convert to ReST format 2020-06-19 14:05:22 -06:00
devel-algos.rst crypto: ahash - remove support for nonzero alignmask 2023-10-27 18:04:29 +08:00
index.rst lib/crypto: docs: Add rst documentation to Documentation/crypto/ 2026-04-18 17:32:02 -07:00
intro.rst
krb5.rst crypto/krb5: Add API Documentation 2025-03-02 21:39:03 +00:00
libcrypto-blockcipher.rst lib/crypto: docs: Add rst documentation to Documentation/crypto/ 2026-04-18 17:32:02 -07:00
libcrypto-hash.rst lib/crypto: docs: Add rst documentation to Documentation/crypto/ 2026-04-18 17:32:02 -07:00
libcrypto-signature.rst lib/crypto: docs: Add rst documentation to Documentation/crypto/ 2026-04-18 17:32:02 -07:00
libcrypto-utils.rst lib/crypto: docs: Add rst documentation to Documentation/crypto/ 2026-04-18 17:32:02 -07:00
libcrypto.rst lib/crypto: docs: Add rst documentation to Documentation/crypto/ 2026-04-18 17:32:02 -07:00
sha3.rst lib/crypto: docs: Add rst documentation to Documentation/crypto/ 2026-04-18 17:32:02 -07:00
userspace-if.rst crypto: ansi_cprng - Remove unused ansi_cprng algorithm 2025-11-22 10:04:50 +08:00