Skip to contentSkip to conversation

crypto: doc - remove references to ARC4

PATCH In review Eric Biggers 3 participants 3 messages Dec 7, 2019 – Dec 11, 2019

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

PATCH 1/1 crypto: doc - remove references to ARC4

From: Eric Biggers <[email protected]>

arc4 is no longer considered secure, so it shouldn't be used, even as just an example. Mention serpent and chacha20 instead.

---
 Documentation/crypto/devel-algos.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/crypto/devel-algos.rst +2 -2
index f9d288015acc..fb6b7979a1de 100644
@@ -57,7 +57,7 @@ follows:
 Single-Block Symmetric Ciphers [CIPHER]
 ---------------------------------------
 
-Example of transformations: aes, arc4, ...
+Example of transformations: aes, serpent, ...
 
 This section describes the simplest of all transformation
 implementations, that being the CIPHER type used for symmetric ciphers.
@@ -108,7 +108,7 @@ is also valid:
 Multi-Block Ciphers
 -------------------
 
-Example of transformations: cbc(aes), ecb(arc4), ...
+Example of transformations: cbc(aes), chacha20, ...
 
 This section describes the multi-block cipher transformation
 implementations. The multi-block ciphers are used for transformations
Signature · 1 line
2.24.0
Acked-by on v1 1/1
#1 lore raw
Quoted 7 lines · Eric Biggers

From: Eric Biggers <[email protected]>

arc4 is no longer considered secure, so it shouldn't be used, even as just an example. Mention serpent and chacha20 instead.

Quoted 29 lines
---
 Documentation/crypto/devel-algos.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/crypto/devel-algos.rst +2 -3
index f9d288015acc..fb6b7979a1de 100644
@@ -57,7 +57,7 @@ follows:
 Single-Block Symmetric Ciphers [CIPHER]
 ---------------------------------------
 
-Example of transformations: aes, arc4, ...
+Example of transformations: aes, serpent, ...
 
 This section describes the simplest of all transformation
 implementations, that being the CIPHER type used for symmetric ciphers.
@@ -108,7 +108,7 @@ is also valid:
 Multi-Block Ciphers
 -------------------
 
-Example of transformations: cbc(aes), ecb(arc4), ...
+Example of transformations: cbc(aes), chacha20, ...
 
 This section describes the multi-block cipher transformation
 implementations. The multi-block ciphers are used for transformations
--

2.24.0

maintainer
#2 lore raw
In reply to Eric Biggers
Quoted 9 lines · Eric Biggers

From: Eric Biggers <[email protected]>

arc4 is no longer considered secure, so it shouldn't be used, even as just an example. Mention serpent and chacha20 instead.

---
Documentation/crypto/devel-algos.rst | 4 ++--

1 file changed, 2 insertions(+), 2 deletions(-)

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