Skip to content

Commit 9332a9e

Browse files
Al2Klimovherbertx
authored andcommitted
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>
1 parent dd3240a commit 9332a9e

File tree

16 files changed

+43
-43
lines changed

16 files changed

+43
-43
lines changed

Documentation/crypto/api-intro.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ Portions of this API were derived from the following projects:
169169

170170
and;
171171

172-
Nettle (http://www.lysator.liu.se/~nisse/nettle/)
172+
Nettle (https://www.lysator.liu.se/~nisse/nettle/)
173173
Niels Möller
174174

175175
Original developers of the crypto algorithms:

Documentation/crypto/userspace-if.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ user space, however. This includes the difference between synchronous
2323
and asynchronous invocations. The user space API call is fully
2424
synchronous.
2525

26-
[1] http://www.chronox.de/libkcapi.html
26+
[1] https://www.chronox.de/libkcapi.html
2727

2828
User Space API General Remarks
2929
------------------------------
@@ -384,4 +384,4 @@ Please see [1] for libkcapi which provides an easy-to-use wrapper around
384384
the aforementioned Netlink kernel interface. [1] also contains a test
385385
application that invokes all libkcapi API calls.
386386

387-
[1] http://www.chronox.de/libkcapi.html
387+
[1] https://www.chronox.de/libkcapi.html

arch/arm/crypto/crc32-ce-core.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
* CRC32 polynomial:0x04c11db7(BE)/0xEDB88320(LE)
4040
* PCLMULQDQ is a new instruction in Intel SSE4.2, the reference can be found
4141
* at:
42-
* http://www.intel.com/products/processor/manuals/
42+
* https://www.intel.com/products/processor/manuals/
4343
* Intel(R) 64 and IA-32 Architectures Software Developer's Manual
4444
* Volume 2B: Instruction Set Reference, N-Z
4545
*

arch/arm/crypto/sha1-armv4-large.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
@ Written by Andy Polyakov <appro@fy.chalmers.se> for the OpenSSL
1414
@ project. The module is, however, dual licensed under OpenSSL and
1515
@ CRYPTOGAMS licenses depending on where you obtain it. For further
16-
@ details see http://www.openssl.org/~appro/cryptogams/.
16+
@ details see https://www.openssl.org/~appro/cryptogams/.
1717
@ ====================================================================
1818

1919
@ sha1_block procedure for ARMv4.

arch/arm/crypto/sha256-armv4.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# Written by Andy Polyakov <appro@openssl.org> for the OpenSSL
1414
# project. The module is, however, dual licensed under OpenSSL and
1515
# CRYPTOGAMS licenses depending on where you obtain it. For further
16-
# details see http://www.openssl.org/~appro/cryptogams/.
16+
# details see https://www.openssl.org/~appro/cryptogams/.
1717
# ====================================================================
1818

1919
# SHA256 block procedure for ARMv4. May 2007.

arch/arm/crypto/sha256-core.S_shipped

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
@ Written by Andy Polyakov <appro@openssl.org> for the OpenSSL
1313
@ project. The module is, however, dual licensed under OpenSSL and
1414
@ CRYPTOGAMS licenses depending on where you obtain it. For further
15-
@ details see http://www.openssl.org/~appro/cryptogams/.
15+
@ details see https://www.openssl.org/~appro/cryptogams/.
1616
@ ====================================================================
1717

1818
@ SHA256 block procedure for ARMv4. May 2007.

arch/arm/crypto/sha512-armv4.pl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# Written by Andy Polyakov <appro@openssl.org> for the OpenSSL
1414
# project. The module is, however, dual licensed under OpenSSL and
1515
# CRYPTOGAMS licenses depending on where you obtain it. For further
16-
# details see http://www.openssl.org/~appro/cryptogams/.
16+
# details see https://www.openssl.org/~appro/cryptogams/.
1717
# ====================================================================
1818

1919
# SHA512 block procedure for ARMv4. September 2007.
@@ -43,7 +43,7 @@
4343
# terms it's 22.6 cycles per byte, which is disappointing result.
4444
# Technical writers asserted that 3-way S4 pipeline can sustain
4545
# multiple NEON instructions per cycle, but dual NEON issue could
46-
# not be observed, see http://www.openssl.org/~appro/Snapdragon-S4.html
46+
# not be observed, see https://www.openssl.org/~appro/Snapdragon-S4.html
4747
# for further details. On side note Cortex-A15 processes one byte in
4848
# 16 cycles.
4949

arch/arm/crypto/sha512-core.S_shipped

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
@ Written by Andy Polyakov <appro@openssl.org> for the OpenSSL
1313
@ project. The module is, however, dual licensed under OpenSSL and
1414
@ CRYPTOGAMS licenses depending on where you obtain it. For further
15-
@ details see http://www.openssl.org/~appro/cryptogams/.
15+
@ details see https://www.openssl.org/~appro/cryptogams/.
1616
@ ====================================================================
1717

1818
@ SHA512 block procedure for ARMv4. September 2007.
@@ -42,7 +42,7 @@
4242
@ terms it's 22.6 cycles per byte, which is disappointing result.
4343
@ Technical writers asserted that 3-way S4 pipeline can sustain
4444
@ multiple NEON instructions per cycle, but dual NEON issue could
45-
@ not be observed, see http://www.openssl.org/~appro/Snapdragon-S4.html
45+
@ not be observed, see https://www.openssl.org/~appro/Snapdragon-S4.html
4646
@ for further details. On side note Cortex-A15 processes one byte in
4747
@ 16 cycles.
4848

crypto/Kconfig

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ config CRYPTO_XCBC
548548
select CRYPTO_MANAGER
549549
help
550550
XCBC: Keyed-Hashing with encryption algorithm
551-
http://www.ietf.org/rfc/rfc3566.txt
551+
https://www.ietf.org/rfc/rfc3566.txt
552552
http://csrc.nist.gov/encryption/modes/proposedmodes/
553553
xcbc-mac/xcbc-mac-spec.pdf
554554

@@ -561,7 +561,7 @@ config CRYPTO_VMAC
561561
very high speed on 64-bit architectures.
562562

563563
See also:
564-
<http://fastcrypto.org/vmac>
564+
<https://fastcrypto.org/vmac>
565565

566566
comment "Digest"
567567

@@ -816,7 +816,7 @@ config CRYPTO_RMD128
816816
RIPEMD-160 should be used.
817817

818818
Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
819-
See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html>
819+
See <https://homes.esat.kuleuven.be/~bosselae/ripemd160.html>
820820

821821
config CRYPTO_RMD160
822822
tristate "RIPEMD-160 digest algorithm"
@@ -833,7 +833,7 @@ config CRYPTO_RMD160
833833
against RIPEMD-160.
834834

835835
Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
836-
See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html>
836+
See <https://homes.esat.kuleuven.be/~bosselae/ripemd160.html>
837837

838838
config CRYPTO_RMD256
839839
tristate "RIPEMD-256 digest algorithm"
@@ -845,7 +845,7 @@ config CRYPTO_RMD256
845845
(than RIPEMD-128).
846846

847847
Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
848-
See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html>
848+
See <https://homes.esat.kuleuven.be/~bosselae/ripemd160.html>
849849

850850
config CRYPTO_RMD320
851851
tristate "RIPEMD-320 digest algorithm"
@@ -857,7 +857,7 @@ config CRYPTO_RMD320
857857
(than RIPEMD-160).
858858

859859
Developed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel.
860-
See <http://homes.esat.kuleuven.be/~bosselae/ripemd160.html>
860+
See <https://homes.esat.kuleuven.be/~bosselae/ripemd160.html>
861861

862862
config CRYPTO_SHA1
863863
tristate "SHA1 digest algorithm"
@@ -1045,7 +1045,7 @@ config CRYPTO_TGR192
10451045
Tiger was developed by Ross Anderson and Eli Biham.
10461046

10471047
See also:
1048-
<http://www.cs.technion.ac.il/~biham/Reports/Tiger/>.
1048+
<https://www.cs.technion.ac.il/~biham/Reports/Tiger/>.
10491049

10501050
config CRYPTO_WP512
10511051
tristate "Whirlpool digest algorithms"
@@ -1221,7 +1221,7 @@ config CRYPTO_BLOWFISH
12211221
designed for use on "large microprocessors".
12221222

12231223
See also:
1224-
<http://www.schneier.com/blowfish.html>
1224+
<https://www.schneier.com/blowfish.html>
12251225

12261226
config CRYPTO_BLOWFISH_COMMON
12271227
tristate
@@ -1230,7 +1230,7 @@ config CRYPTO_BLOWFISH_COMMON
12301230
generic c and the assembler implementations.
12311231

12321232
See also:
1233-
<http://www.schneier.com/blowfish.html>
1233+
<https://www.schneier.com/blowfish.html>
12341234

12351235
config CRYPTO_BLOWFISH_X86_64
12361236
tristate "Blowfish cipher algorithm (x86_64)"
@@ -1245,7 +1245,7 @@ config CRYPTO_BLOWFISH_X86_64
12451245
designed for use on "large microprocessors".
12461246

12471247
See also:
1248-
<http://www.schneier.com/blowfish.html>
1248+
<https://www.schneier.com/blowfish.html>
12491249

12501250
config CRYPTO_CAMELLIA
12511251
tristate "Camellia cipher algorithms"
@@ -1441,10 +1441,10 @@ config CRYPTO_SALSA20
14411441
Salsa20 stream cipher algorithm.
14421442

14431443
Salsa20 is a stream cipher submitted to eSTREAM, the ECRYPT
1444-
Stream Cipher Project. See <http://www.ecrypt.eu.org/stream/>
1444+
Stream Cipher Project. See <https://www.ecrypt.eu.org/stream/>
14451445

14461446
The Salsa20 stream cipher algorithm is designed by Daniel J.
1447-
Bernstein <djb@cr.yp.to>. See <http://cr.yp.to/snuffle.html>
1447+
Bernstein <djb@cr.yp.to>. See <https://cr.yp.to/snuffle.html>
14481448

14491449
config CRYPTO_CHACHA20
14501450
tristate "ChaCha stream cipher algorithms"
@@ -1456,7 +1456,7 @@ config CRYPTO_CHACHA20
14561456
ChaCha20 is a 256-bit high-speed stream cipher designed by Daniel J.
14571457
Bernstein and further specified in RFC7539 for use in IETF protocols.
14581458
This is the portable C implementation of ChaCha20. See also:
1459-
<http://cr.yp.to/chacha/chacha-20080128.pdf>
1459+
<https://cr.yp.to/chacha/chacha-20080128.pdf>
14601460

14611461
XChaCha20 is the application of the XSalsa20 construction to ChaCha20
14621462
rather than to Salsa20. XChaCha20 extends ChaCha20's nonce length
@@ -1509,7 +1509,7 @@ config CRYPTO_SERPENT
15091509
variant of Serpent for compatibility with old kerneli.org code.
15101510

15111511
See also:
1512-
<http://www.cl.cam.ac.uk/~rja14/serpent.html>
1512+
<https://www.cl.cam.ac.uk/~rja14/serpent.html>
15131513

15141514
config CRYPTO_SERPENT_SSE2_X86_64
15151515
tristate "Serpent cipher algorithm (x86_64/SSE2)"
@@ -1528,7 +1528,7 @@ config CRYPTO_SERPENT_SSE2_X86_64
15281528
blocks parallel using SSE2 instruction set.
15291529

15301530
See also:
1531-
<http://www.cl.cam.ac.uk/~rja14/serpent.html>
1531+
<https://www.cl.cam.ac.uk/~rja14/serpent.html>
15321532

15331533
config CRYPTO_SERPENT_SSE2_586
15341534
tristate "Serpent cipher algorithm (i586/SSE2)"
@@ -1547,7 +1547,7 @@ config CRYPTO_SERPENT_SSE2_586
15471547
blocks parallel using SSE2 instruction set.
15481548

15491549
See also:
1550-
<http://www.cl.cam.ac.uk/~rja14/serpent.html>
1550+
<https://www.cl.cam.ac.uk/~rja14/serpent.html>
15511551

15521552
config CRYPTO_SERPENT_AVX_X86_64
15531553
tristate "Serpent cipher algorithm (x86_64/AVX)"
@@ -1567,7 +1567,7 @@ config CRYPTO_SERPENT_AVX_X86_64
15671567
eight blocks parallel using the AVX instruction set.
15681568

15691569
See also:
1570-
<http://www.cl.cam.ac.uk/~rja14/serpent.html>
1570+
<https://www.cl.cam.ac.uk/~rja14/serpent.html>
15711571

15721572
config CRYPTO_SERPENT_AVX2_X86_64
15731573
tristate "Serpent cipher algorithm (x86_64/AVX2)"
@@ -1583,7 +1583,7 @@ config CRYPTO_SERPENT_AVX2_X86_64
15831583
blocks parallel using AVX2 instruction set.
15841584

15851585
See also:
1586-
<http://www.cl.cam.ac.uk/~rja14/serpent.html>
1586+
<https://www.cl.cam.ac.uk/~rja14/serpent.html>
15871587

15881588
config CRYPTO_SM4
15891589
tristate "SM4 cipher algorithm"
@@ -1640,7 +1640,7 @@ config CRYPTO_TWOFISH
16401640
bits.
16411641

16421642
See also:
1643-
<http://www.schneier.com/twofish.html>
1643+
<https://www.schneier.com/twofish.html>
16441644

16451645
config CRYPTO_TWOFISH_COMMON
16461646
tristate
@@ -1662,7 +1662,7 @@ config CRYPTO_TWOFISH_586
16621662
bits.
16631663

16641664
See also:
1665-
<http://www.schneier.com/twofish.html>
1665+
<https://www.schneier.com/twofish.html>
16661666

16671667
config CRYPTO_TWOFISH_X86_64
16681668
tristate "Twofish cipher algorithm (x86_64)"
@@ -1678,7 +1678,7 @@ config CRYPTO_TWOFISH_X86_64
16781678
bits.
16791679

16801680
See also:
1681-
<http://www.schneier.com/twofish.html>
1681+
<https://www.schneier.com/twofish.html>
16821682

16831683
config CRYPTO_TWOFISH_X86_64_3WAY
16841684
tristate "Twofish cipher algorithm (x86_64, 3-way parallel)"
@@ -1699,7 +1699,7 @@ config CRYPTO_TWOFISH_X86_64_3WAY
16991699
blocks parallel, utilizing resources of out-of-order CPUs better.
17001700

17011701
See also:
1702-
<http://www.schneier.com/twofish.html>
1702+
<https://www.schneier.com/twofish.html>
17031703

17041704
config CRYPTO_TWOFISH_AVX_X86_64
17051705
tristate "Twofish cipher algorithm (x86_64/AVX)"
@@ -1722,7 +1722,7 @@ config CRYPTO_TWOFISH_AVX_X86_64
17221722
eight blocks parallel using the AVX Instruction Set.
17231723

17241724
See also:
1725-
<http://www.schneier.com/twofish.html>
1725+
<https://www.schneier.com/twofish.html>
17261726

17271727
comment "Compression"
17281728

crypto/blake2b_generic.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
* - CC0 1.0 Universal : http://creativecommons.org/publicdomain/zero/1.0
1010
* - OpenSSL license : https://www.openssl.org/source/license.html
11-
* - Apache 2.0 : http://www.apache.org/licenses/LICENSE-2.0
11+
* - Apache 2.0 : https://www.apache.org/licenses/LICENSE-2.0
1212
*
1313
* More information about the BLAKE2 hash function can be found at
1414
* https://blake2.net.

0 commit comments

Comments
 (0)