crypto: Replace HTTP links with HTTPS ones
authorAlexander A. Klimov <grandmaster@al2klimov.de>
Sun, 19 Jul 2020 16:49:59 +0000 (18:49 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 23 Jul 2020 07:34:20 +0000 (17:34 +1000)
commit9332a9e73918bd0a1d5ef40a3357931b9fe0cf8a
treebdb823c2e18e2bfbe09c7ed77eec79241a37b826
parentdd3240a28c08f8092386c76951408966bf4005ff
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>
16 files changed:
Documentation/crypto/api-intro.txt
Documentation/crypto/userspace-if.rst
arch/arm/crypto/crc32-ce-core.S
arch/arm/crypto/sha1-armv4-large.S
arch/arm/crypto/sha256-armv4.pl
arch/arm/crypto/sha256-core.S_shipped
arch/arm/crypto/sha512-armv4.pl
arch/arm/crypto/sha512-core.S_shipped
crypto/Kconfig
crypto/blake2b_generic.c
crypto/camellia_generic.c
crypto/ecc.c
crypto/jitterentropy.c
crypto/lrw.c
crypto/salsa20_generic.c
crypto/sha3_generic.c