Skip to contentSkip to conversation

crypto: Add explicit title heading to API docs

PATCH In review Bagas Sanjaya 3 participants 3 messages Sep 20, 2025 – Sep 28, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 crypto: Add explicit title heading to API docs

Documentation for crypto programming interfaces lack explicit title. As such, all its sections become entries in the toctree index.

Add the title heading to tidy up toctree.

---
 Documentation/crypto/api-aead.rst     | 3 +++
 Documentation/crypto/api-akcipher.rst | 3 +++
 Documentation/crypto/api-digest.rst   | 3 +++
 Documentation/crypto/api-kpp.rst      | 3 +++
 Documentation/crypto/api-rng.rst      | 3 +++
 Documentation/crypto/api-sig.rst      | 3 +++
 Documentation/crypto/api-skcipher.rst | 3 +++
 7 files changed, 21 insertions(+)
Documentation/crypto/api-aead.rst +3 -0
index d15256f1ae3696..78d073319f96a3 100644
@@ -1,3 +1,6 @@
+Authenticated Encryption With Associated Data (AEAD)
+====================================================
+
 Authenticated Encryption With Associated Data (AEAD) Algorithm Definitions
 --------------------------------------------------------------------------
 
Documentation/crypto/api-akcipher.rst +3 -0
index ca1ecdd4a7d378..a31f5aef76678f 100644
@@ -1,3 +1,6 @@
+Asymmetric Cipher
+=================
+
 Asymmetric Cipher Algorithm Definitions
 ---------------------------------------
 
Documentation/crypto/api-digest.rst +3 -0
index 7a1e670d6ce1a4..02a2bcc26a6470 100644
@@ -1,3 +1,6 @@
+Message Digest
+==============
+
 Message Digest Algorithm Definitions
 ------------------------------------
 
Documentation/crypto/api-kpp.rst +3 -0
index 7d86ab906bdf79..5794e2d10c9562 100644
@@ -1,3 +1,6 @@
+Key-agreement Protocol Primitives (KPP)
+=======================================
+
 Key-agreement Protocol Primitives (KPP) Cipher Algorithm Definitions
 --------------------------------------------------------------------
 
Documentation/crypto/api-rng.rst +3 -0
index 10ba7436cee48e..23a94c0b272eef 100644
@@ -1,3 +1,6 @@
+Random Number Generator (RNG)
+=============================
+
 Random Number Algorithm Definitions
 -----------------------------------
 
Documentation/crypto/api-sig.rst +3 -0
index aaec18e26d545f..4d8aba8aee8e04 100644
@@ -1,3 +1,6 @@
+Asymmetric Signature
+====================
+
 Asymmetric Signature Algorithm Definitions
 ------------------------------------------
 
Documentation/crypto/api-skcipher.rst +3 -0
index 04d6cc5357c810..4b7c8160790a3c 100644
@@ -1,3 +1,6 @@
+Symmetric Key Cipher
+====================
+
 Block Cipher Algorithm Definitions
 ----------------------------------
 

base-commit: 381e8ee368234a51b3a4f231f6f24ff0b09d9f9e

Signature · 1 line
An old man doll... just what I always wanted! - Clara
reviewer Reviewed-by Tested-by on v1 1/1
#1 lore raw
Quoted 4 lines · Bagas Sanjaya

Documentation for crypto programming interfaces lack explicit title. As such, all its sections become entries in the toctree index.

Add the title heading to tidy up toctree.

Yes, much neater. Thanks.

Quoted 91 lines
---
 Documentation/crypto/api-aead.rst     | 3 +++
 Documentation/crypto/api-akcipher.rst | 3 +++
 Documentation/crypto/api-digest.rst   | 3 +++
 Documentation/crypto/api-kpp.rst      | 3 +++
 Documentation/crypto/api-rng.rst      | 3 +++
 Documentation/crypto/api-sig.rst      | 3 +++
 Documentation/crypto/api-skcipher.rst | 3 +++
 7 files changed, 21 insertions(+)
Documentation/crypto/api-aead.rst +3 -0
index d15256f1ae3696..78d073319f96a3 100644
@@ -1,3 +1,6 @@
+Authenticated Encryption With Associated Data (AEAD)
+====================================================
+
 Authenticated Encryption With Associated Data (AEAD) Algorithm Definitions
 --------------------------------------------------------------------------
 
Documentation/crypto/api-akcipher.rst +3 -0
index ca1ecdd4a7d378..a31f5aef76678f 100644
@@ -1,3 +1,6 @@
+Asymmetric Cipher
+=================
+
 Asymmetric Cipher Algorithm Definitions
 ---------------------------------------
 
Documentation/crypto/api-digest.rst +3 -0
index 7a1e670d6ce1a4..02a2bcc26a6470 100644
@@ -1,3 +1,6 @@
+Message Digest
+==============
+
 Message Digest Algorithm Definitions
 ------------------------------------
 
Documentation/crypto/api-kpp.rst +3 -0
index 7d86ab906bdf79..5794e2d10c9562 100644
@@ -1,3 +1,6 @@
+Key-agreement Protocol Primitives (KPP)
+=======================================
+
 Key-agreement Protocol Primitives (KPP) Cipher Algorithm Definitions
 --------------------------------------------------------------------
 
Documentation/crypto/api-rng.rst +3 -0
index 10ba7436cee48e..23a94c0b272eef 100644
@@ -1,3 +1,6 @@
+Random Number Generator (RNG)
+=============================
+
 Random Number Algorithm Definitions
 -----------------------------------
 
Documentation/crypto/api-sig.rst +3 -0
index aaec18e26d545f..4d8aba8aee8e04 100644
@@ -1,3 +1,6 @@
+Asymmetric Signature
+====================
+
 Asymmetric Signature Algorithm Definitions
 ------------------------------------------
 
Documentation/crypto/api-skcipher.rst +3 -0
index 04d6cc5357c810..4b7c8160790a3c 100644
@@ -1,3 +1,6 @@
+Symmetric Key Cipher
+====================
+
 Block Cipher Algorithm Definitions
 ----------------------------------
 

base-commit: 381e8ee368234a51b3a4f231f6f24ff0b09d9f9e

Signature · 1 line
~Randy
maintainer
#2 lore raw
In reply to Bagas Sanjaya
Quoted 6 lines · Bagas Sanjaya

Documentation for crypto programming interfaces lack explicit title. As such, all its sections become entries in the toctree index.

Add the title heading to tidy up toctree.

Quoted 9 lines
---
 Documentation/crypto/api-aead.rst     | 3 +++
 Documentation/crypto/api-akcipher.rst | 3 +++
 Documentation/crypto/api-digest.rst   | 3 +++
 Documentation/crypto/api-kpp.rst      | 3 +++
 Documentation/crypto/api-rng.rst      | 3 +++
 Documentation/crypto/api-sig.rst      | 3 +++
 Documentation/crypto/api-skcipher.rst | 3 +++
 7 files changed, 21 insertions(+)

Patch applied. Thanks.

Signature · 3 lines
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt