summaryrefslogtreecommitdiff
path: root/crypto/salsa20_generic.c
diff options
context:
space:
mode:
authorAlexander A. Klimov <grandmaster@al2klimov.de>2020-07-19 18:49:59 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2020-07-23 17:34:20 +1000
commit6a2672e9f67e63383da06b2cb3168d5832e5c7c0 (patch)
tree9e5a1efaf78015dfc0089c4ba2c5cc0f6c506a3a /crypto/salsa20_generic.c
parent2c7384f9dbcc7523c93f02893e463b1c0505d0d7 (diff)
downloadlinux-crypto-6a2672e9f67e63383da06b2cb3168d5832e5c7c0.tar.gz
linux-crypto-6a2672e9f67e63383da06b2cb3168d5832e5c7c0.zip
crypto: Replace HTTP links with HTTPS ones
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`: If neither `\bgnu\.org/license`, nor `\bmozilla\.org/MPL\b`: If both the HTTP and HTTPS versions return 200 OK and serve the same content: Replace HTTP with HTTPS. Signed-off-by: Alexander A. Klimov <grandmaster@al2klimov.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/salsa20_generic.c')
-rw-r--r--crypto/salsa20_generic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/salsa20_generic.c b/crypto/salsa20_generic.c
index c81a4440..3418869d 100644
--- a/crypto/salsa20_generic.c
+++ b/crypto/salsa20_generic.c
@@ -9,8 +9,8 @@
* Salsa20 is a stream cipher candidate in eSTREAM, the ECRYPT Stream
* Cipher Project. It is designed by Daniel J. Bernstein <djb@cr.yp.to>.
* More information about eSTREAM and Salsa20 can be found here:
- * http://www.ecrypt.eu.org/stream/
- * http://cr.yp.to/snuffle.html
+ * https://www.ecrypt.eu.org/stream/
+ * https://cr.yp.to/snuffle.html
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free