Skip to content

Commit 161874d

Browse files
Tim Cooperianlancetaylor
Tim Cooper
authored andcommitted
all: update comment URLs from HTTP to HTTPS, where possible
Each URL was manually verified to ensure it did not serve up incorrect content. Change-Id: I4dc846227af95a73ee9a3074d0c379ff0fa955df Reviewed-on: https://go-review.googlesource.com/115798 Reviewed-by: Ian Lance Taylor <[email protected]> Run-TryBot: Ian Lance Taylor <[email protected]>
1 parent 7cb1810 commit 161874d

File tree

130 files changed

+206
-206
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

130 files changed

+206
-206
lines changed

src/archive/tar/format.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ const (
9494
// application can only parse GNU formatted archives.
9595
//
9696
// Reference:
97-
// http://www.gnu.org/software/tar/manual/html_node/Standard.html
97+
// https://www.gnu.org/software/tar/manual/html_node/Standard.html
9898
FormatGNU
9999

100100
// Schily's tar format, which is incompatible with USTAR.

src/archive/zip/struct.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ func timeZone(offset time.Duration) *time.Location {
202202

203203
// msDosTimeToTime converts an MS-DOS date and time into a time.Time.
204204
// The resolution is 2s.
205-
// See: http://msdn.microsoft.com/en-us/library/ms724247(v=VS.85).aspx
205+
// See: https://msdn.microsoft.com/en-us/library/ms724247(v=VS.85).aspx
206206
func msDosTimeToTime(dosDate, dosTime uint16) time.Time {
207207
return time.Date(
208208
// date bits 0-4: day of month; 5-8: month; 9-15: years since 1980
@@ -222,7 +222,7 @@ func msDosTimeToTime(dosDate, dosTime uint16) time.Time {
222222

223223
// timeToMsDosTime converts a time.Time to an MS-DOS date and time.
224224
// The resolution is 2s.
225-
// See: http://msdn.microsoft.com/en-us/library/ms724274(v=VS.85).aspx
225+
// See: https://msdn.microsoft.com/en-us/library/ms724274(v=VS.85).aspx
226226
func timeToMsDosTime(t time.Time) (fDate uint16, fTime uint16) {
227227
fDate = uint16(t.Day() + int(t.Month())<<5 + (t.Year()-1980)<<9)
228228
fTime = uint16(t.Second()/2 + t.Minute()<<5 + t.Hour()<<11)

src/cmd/cgo/out.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -725,7 +725,7 @@ func (p *Package) writeGccgoOutputFunc(fgcc *os.File, n *Name) {
725725
// packedAttribute returns host compiler struct attribute that will be
726726
// used to match gc's struct layout. For example, on 386 Windows,
727727
// gcc wants to 8-align int64s, but gc does not.
728-
// Use __gcc_struct__ to work around http://gcc.gnu.org/PR52991 on x86,
728+
// Use __gcc_struct__ to work around https://gcc.gnu.org/PR52991 on x86,
729729
// and https://golang.org/issue/5603.
730730
func (p *Package) packedAttribute() string {
731731
s := "__attribute__((__packed__"

src/cmd/compile/internal/gc/phi.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414

1515
// This file contains the algorithm to place phi nodes in a function.
1616
// For small functions, we use Braun, Buchwald, Hack, Leißa, Mallon, and Zwinkau.
17-
// http://pp.info.uni-karlsruhe.de/uploads/publikationen/braun13cc.pdf
17+
// https://pp.info.uni-karlsruhe.de/uploads/publikationen/braun13cc.pdf
1818
// For large functions, we use Sreedhar & Gao: A Linear Time Algorithm for Placing Φ-Nodes.
1919
// http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.8.1979&rep=rep1&type=pdf
2020

src/cmd/compile/internal/ssa/sparsemap.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ package ssa
66

77
import "cmd/internal/src"
88

9-
// from http://research.swtch.com/sparse
9+
// from https://research.swtch.com/sparse
1010
// in turn, from Briggs and Torczon
1111

1212
type sparseEntry struct {

src/cmd/compile/internal/ssa/sparseset.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
package ssa
66

7-
// from http://research.swtch.com/sparse
7+
// from https://research.swtch.com/sparse
88
// in turn, from Briggs and Torczon
99

1010
type sparseSet struct {

src/cmd/dist/sys_windows.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ var (
1414
procGetSystemInfo = modkernel32.NewProc("GetSystemInfo")
1515
)
1616

17-
// see http://msdn.microsoft.com/en-us/library/windows/desktop/ms724958(v=vs.85).aspx
17+
// see https://msdn.microsoft.com/en-us/library/windows/desktop/ms724958(v=vs.85).aspx
1818
type systeminfo struct {
1919
wProcessorArchitecture uint16
2020
wReserved uint16

src/cmd/go/go_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2925,7 +2925,7 @@ func TestCgoPkgConfig(t *testing.T) {
29252925
// OpenBSD's pkg-config is strict about whitespace and only
29262926
// supports backslash-escaped whitespace. It does not support
29272927
// quotes, which the normal freedesktop.org pkg-config does
2928-
// support. See http://man.openbsd.org/pkg-config.1
2928+
// support. See https://man.openbsd.org/pkg-config.1
29292929
tg.tempFile("foo.pc", `
29302930
Name: foo
29312931
Description: The foo library

src/cmd/internal/obj/s390x/a.out.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ const (
150150
)
151151

152152
// LINUX for zSeries ELF Application Binary Interface Supplement
153-
// http://refspecs.linuxfoundation.org/ELF/zSeries/lzsabi0_zSeries/x1472.html
153+
// https://refspecs.linuxfoundation.org/ELF/zSeries/lzsabi0_zSeries/x1472.html
154154
var S390XDWARFRegisters = map[int16]int16{}
155155

156156
func init() {

src/cmd/link/internal/amd64/asm.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ func addpltsym(ctxt *ld.Link, s *sym.Symbol) {
617617
// so for now we'll just use non-lazy pointers,
618618
// which don't need to be told which library to use.
619619
//
620-
// http://networkpx.blogspot.com/2009/09/about-lcdyldinfoonly-command.html
620+
// https://networkpx.blogspot.com/2009/09/about-lcdyldinfoonly-command.html
621621
// has details about what we're avoiding.
622622

623623
addgotsym(ctxt, s)

src/cmd/link/internal/ld/lib.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1962,7 +1962,7 @@ func usage() {
19621962
type SymbolType int8
19631963

19641964
const (
1965-
// see also http://9p.io/magic/man2html/1/nm
1965+
// see also https://9p.io/magic/man2html/1/nm
19661966
TextSym SymbolType = 'T'
19671967
DataSym SymbolType = 'D'
19681968
BSSSym SymbolType = 'B'

src/cmd/link/internal/ld/macho.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ const (
143143
)
144144

145145
// Mach-O file writing
146-
// http://developer.apple.com/mac/library/DOCUMENTATION/DeveloperTools/Conceptual/MachORuntime/Reference/reference.html
146+
// https://developer.apple.com/mac/library/DOCUMENTATION/DeveloperTools/Conceptual/MachORuntime/Reference/reference.html
147147

148148
var machohdr MachoHdr
149149

src/cmd/link/internal/ld/pe.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ const (
116116
// license that can be found in the LICENSE file.
117117

118118
// PE (Portable Executable) file writing
119-
// http://www.microsoft.com/whdc/system/platform/firmware/PECOFF.mspx
119+
// https://www.microsoft.com/whdc/system/platform/firmware/PECOFF.mspx
120120

121121
// DOS stub that prints out
122122
// "This program cannot be run in DOS mode."

src/cmd/link/internal/loadelf/ldelf.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1048,7 +1048,7 @@ func readelfsym(arch *sys.Arch, syms *sym.Symbols, elfobj *ElfObj, i int, elfsym
10481048
// __i686.get_pc_thunk.bx is allowed to be duplicated, to
10491049
// workaround that we set dupok.
10501050
// TODO(minux): correctly handle __i686.get_pc_thunk.bx without
1051-
// set dupok generally. See http://codereview.appspot.com/5823055/
1051+
// set dupok generally. See https://golang.org/cl/5823055
10521052
// comment #5 for details.
10531053
if s != nil && elfsym.other == 2 {
10541054
s.Attr |= sym.AttrDuplicateOK | sym.AttrVisibilityHidden

src/cmd/link/internal/wasm/asm.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ func assignAddress(ctxt *ld.Link, sect *sym.Section, n int, s *sym.Symbol, va ui
8888
}
8989

9090
// asmb writes the final WebAssembly module binary.
91-
// Spec: http://webassembly.github.io/spec/core/binary/modules.html
91+
// Spec: https://webassembly.github.io/spec/core/binary/modules.html
9292
func asmb(ctxt *ld.Link) {
9393
if ctxt.Debugvlog != 0 {
9494
ctxt.Logf("%5.2f asmb\n", ld.Cputime())

src/compress/bzip2/bzip2.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ package bzip2
88
import "io"
99

1010
// There's no RFC for bzip2. I used the Wikipedia page for reference and a lot
11-
// of guessing: http://en.wikipedia.org/wiki/Bzip2
11+
// of guessing: https://en.wikipedia.org/wiki/Bzip2
1212
// The source code to pyflate was useful for debugging:
1313
// http://www.paul.sladen.org/projects/pyflate
1414

src/compress/flate/deflate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@ func (w *Writer) Write(data []byte) (n int, err error) {
720720
// In the terminology of the zlib library, Flush is equivalent to Z_SYNC_FLUSH.
721721
func (w *Writer) Flush() error {
722722
// For more about flushing:
723-
// http://www.bolet.org/~pornin/deflate-flush.html
723+
// https://www.bolet.org/~pornin/deflate-flush.html
724724
return w.d.syncFlush()
725725
}
726726

src/compress/lzw/reader_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ var lzwTests = []lzwTest{
6666
"\x54\x9e\x08\x29\xf2\x44\x8a\x93\x27\x54\x04",
6767
io.ErrUnexpectedEOF,
6868
},
69-
// This example comes from http://en.wikipedia.org/wiki/Graphics_Interchange_Format.
69+
// This example comes from https://en.wikipedia.org/wiki/Graphics_Interchange_Format.
7070
{
7171
"gif;LSB;8",
7272
"\x28\xff\xff\xff\x28\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff",

src/compress/zlib/reader_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ type zlibTest struct {
1919
}
2020

2121
// Compare-to-golden test data was generated by the ZLIB example program at
22-
// http://www.zlib.net/zpipe.c
22+
// https://www.zlib.net/zpipe.c
2323

2424
var zlibTests = []zlibTest{
2525
{

src/crypto/aes/aes_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ func TestTd(t *testing.T) {
122122
}
123123

124124
// Test vectors are from FIPS 197:
125-
// http://www.csrc.nist.gov/publications/fips/fips197/fips-197.pdf
125+
// https://csrc.nist.gov/publications/fips/fips197/fips-197.pdf
126126

127127
// Appendix A of FIPS 197: Key expansion examples
128128
type KeyTest struct {

src/crypto/aes/block.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
//
3232
// See FIPS 197 for specification, and see Daemen and Rijmen's Rijndael submission
3333
// for implementation details.
34-
// http://www.csrc.nist.gov/publications/fips/fips197/fips-197.pdf
35-
// http://csrc.nist.gov/archive/aes/rijndael/Rijndael-ammended.pdf
34+
// https://www.csrc.nist.gov/publications/fips/fips197/fips-197.pdf
35+
// https://csrc.nist.gov/archive/aes/rijndael/Rijndael-ammended.pdf
3636

3737
package aes
3838

src/crypto/aes/const.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ package aes
1515

1616
// This file contains AES constants - 8720 bytes of initialized data.
1717

18-
// http://www.csrc.nist.gov/publications/fips/fips197/fips-197.pdf
18+
// https://csrc.nist.gov/publications/fips/fips197/fips-197.pdf
1919

2020
// AES is based on the mathematical behavior of binary polynomials
2121
// (polynomials over GF(2)) modulo the irreducible polynomial x⁸ + x⁴ + x³ + x + 1.

src/crypto/cipher/cfb_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
)
1515

1616
// cfbTests contains the test vectors from
17-
// http://csrc.nist.gov/publications/nistpubs/800-38a/sp800-38a.pdf, section
17+
// https://csrc.nist.gov/publications/nistpubs/800-38a/sp800-38a.pdf, section
1818
// F.3.13.
1919
var cfbTests = []struct {
2020
key, iv, plaintext, ciphertext string

src/crypto/cipher/cipher.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
// Package cipher implements standard block cipher modes that can be wrapped
66
// around low-level block cipher implementations.
7-
// See http://csrc.nist.gov/groups/ST/toolkit/BCM/current_modes.html
7+
// See https://csrc.nist.gov/groups/ST/toolkit/BCM/current_modes.html
88
// and NIST Special Publication 800-38A.
99
package cipher
1010

src/crypto/cipher/gcm.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ type gcmFieldElement struct {
6363
}
6464

6565
// gcm represents a Galois Counter Mode with a specific key. See
66-
// http://csrc.nist.gov/groups/ST/toolkit/BCM/documents/proposedmodes/gcm/gcm-revised-spec.pdf
66+
// https://csrc.nist.gov/groups/ST/toolkit/BCM/documents/proposedmodes/gcm/gcm-revised-spec.pdf
6767
type gcm struct {
6868
cipher Block
6969
nonceSize int

src/crypto/ecdsa/ecdsa_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ func fromHex(s string) *big.Int {
213213

214214
func TestVectors(t *testing.T) {
215215
// This test runs the full set of NIST test vectors from
216-
// http://csrc.nist.gov/groups/STM/cavp/documents/dss/186-3ecdsatestvectors.zip
216+
// https://csrc.nist.gov/groups/STM/cavp/documents/dss/186-3ecdsatestvectors.zip
217217
//
218218
// The SigVer.rsp file has been edited to remove test vectors for
219219
// unsupported algorithms and has been compressed.

src/crypto/elliptic/elliptic.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import (
2020
)
2121

2222
// A Curve represents a short-form Weierstrass curve with a=-3.
23-
// See http://www.hyperelliptic.org/EFD/g1p/auto-shortw.html
23+
// See https://www.hyperelliptic.org/EFD/g1p/auto-shortw.html
2424
type Curve interface {
2525
// Params returns the parameters for the curve.
2626
Params() *CurveParams
@@ -108,7 +108,7 @@ func (curve *CurveParams) Add(x1, y1, x2, y2 *big.Int) (*big.Int, *big.Int) {
108108
// addJacobian takes two points in Jacobian coordinates, (x1, y1, z1) and
109109
// (x2, y2, z2) and returns their sum, also in Jacobian form.
110110
func (curve *CurveParams) addJacobian(x1, y1, z1, x2, y2, z2 *big.Int) (*big.Int, *big.Int, *big.Int) {
111-
// See http://hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-3.html#addition-add-2007-bl
111+
// See https://hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-3.html#addition-add-2007-bl
112112
x3, y3, z3 := new(big.Int), new(big.Int), new(big.Int)
113113
if z1.Sign() == 0 {
114114
x3.Set(x2)
@@ -191,7 +191,7 @@ func (curve *CurveParams) Double(x1, y1 *big.Int) (*big.Int, *big.Int) {
191191
// doubleJacobian takes a point in Jacobian coordinates, (x, y, z), and
192192
// returns its double, also in Jacobian form.
193193
func (curve *CurveParams) doubleJacobian(x, y, z *big.Int) (*big.Int, *big.Int, *big.Int) {
194-
// See http://hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-3.html#doubling-dbl-2001-b
194+
// See https://hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-3.html#doubling-dbl-2001-b
195195
delta := new(big.Int).Mul(z, z)
196196
delta.Mod(delta, curve.P)
197197
gamma := new(big.Int).Mul(y, y)

src/crypto/elliptic/p224.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ package elliptic
77
// This is a constant-time, 32-bit implementation of P224. See FIPS 186-3,
88
// section D.2.2.
99
//
10-
// See http://www.imperialviolet.org/2010/12/04/ecc.html ([1]) for background.
10+
// See https://www.imperialviolet.org/2010/12/04/ecc.html ([1]) for background.
1111

1212
import (
1313
"math/big"
@@ -503,7 +503,7 @@ func p224Contract(out, in *p224FieldElement) {
503503

504504
// p224AddJacobian computes *out = a+b where a != b.
505505
func p224AddJacobian(x3, y3, z3, x1, y1, z1, x2, y2, z2 *p224FieldElement) {
506-
// See http://hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-3.html#addition-p224Add-2007-bl
506+
// See https://hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-3.html#addition-p224Add-2007-bl
507507
var z1z1, z2z2, u1, u2, s1, s2, h, i, j, r, v p224FieldElement
508508
var c p224LargeFieldElement
509509

src/crypto/elliptic/p256.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -817,7 +817,7 @@ func p256Scalar8(out *[p256Limbs]uint32) {
817817

818818
// p256PointDouble sets {xOut,yOut,zOut} = 2*{x,y,z}.
819819
//
820-
// See http://www.hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-0.html#doubling-dbl-2009-l
820+
// See https://www.hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-0.html#doubling-dbl-2009-l
821821
func p256PointDouble(xOut, yOut, zOut, x, y, z *[p256Limbs]uint32) {
822822
var delta, gamma, alpha, beta, tmp, tmp2 [p256Limbs]uint32
823823

@@ -850,7 +850,7 @@ func p256PointDouble(xOut, yOut, zOut, x, y, z *[p256Limbs]uint32) {
850850
// p256PointAddMixed sets {xOut,yOut,zOut} = {x1,y1,z1} + {x2,y2,1}.
851851
// (i.e. the second point is affine.)
852852
//
853-
// See http://www.hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-0.html#addition-add-2007-bl
853+
// See https://www.hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-0.html#addition-add-2007-bl
854854
//
855855
// Note that this function does not handle P+P, infinity+P nor P+infinity
856856
// correctly.
@@ -886,7 +886,7 @@ func p256PointAddMixed(xOut, yOut, zOut, x1, y1, z1, x2, y2 *[p256Limbs]uint32)
886886

887887
// p256PointAdd sets {xOut,yOut,zOut} = {x1,y1,z1} + {x2,y2,z2}.
888888
//
889-
// See http://www.hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-0.html#addition-add-2007-bl
889+
// See https://www.hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-0.html#addition-add-2007-bl
890890
//
891891
// Note that this function does not handle P+P, infinity+P nor P+infinity
892892
// correctly.

src/crypto/elliptic/p256_amd64.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
// detail in:
88
// S.Gueron and V.Krasnov, "Fast prime field elliptic-curve cryptography with
99
// 256-bit primes"
10-
// http://link.springer.com/article/10.1007%2Fs13389-014-0090-x
10+
// https://link.springer.com/article/10.1007%2Fs13389-014-0090-x
1111
// https://eprint.iacr.org/2013/816.pdf
1212

1313
// +build amd64

src/crypto/elliptic/p256_asm_amd64.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// P256. The optimizations performed here are described in detail in:
77
// S.Gueron and V.Krasnov, "Fast prime field elliptic-curve cryptography with
88
// 256-bit primes"
9-
// http://link.springer.com/article/10.1007%2Fs13389-014-0090-x
9+
// https://link.springer.com/article/10.1007%2Fs13389-014-0090-x
1010
// https://eprint.iacr.org/2013/816.pdf
1111

1212
#include "textflag.h"

src/crypto/elliptic/p256_asm_s390x.s

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1733,9 +1733,9 @@ TEXT ·p256PointAddAffineAsm(SB), NOSPLIT, $0
17331733
#undef CAR2
17341734

17351735
// p256PointDoubleAsm(P3, P1 *p256Point)
1736-
// http://www.hyperelliptic.org/EFD/g1p/auto-shortw-jacobian.html#doubling-dbl-2007-bl
1737-
// http://www.hyperelliptic.org/EFD/g1p/auto-shortw.html
1738-
// http://www.hyperelliptic.org/EFD/g1p/auto-shortw-projective-3.html
1736+
// https://www.hyperelliptic.org/EFD/g1p/auto-shortw-jacobian.html#doubling-dbl-2007-bl
1737+
// https://www.hyperelliptic.org/EFD/g1p/auto-shortw.html
1738+
// https://www.hyperelliptic.org/EFD/g1p/auto-shortw-projective-3.html
17391739
#define P3ptr R1
17401740
#define P1ptr R2
17411741
#define CPOOL R4
@@ -1783,7 +1783,7 @@ TEXT ·p256PointAddAffineAsm(SB), NOSPLIT, $0
17831783
#define CAR1 V28
17841784
#define CAR2 V29
17851785
/*
1786-
* http://www.hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-3.html#doubling-dbl-2004-hmv
1786+
* https://www.hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-3.html#doubling-dbl-2004-hmv
17871787
* Cost: 4M + 4S + 1*half + 5add + 2*2 + 1*3.
17881788
* Source: 2004 Hankerson–Menezes–Vanstone, page 91.
17891789
* A = 3(X₁-Z₁²)×(X₁+Z₁²)
@@ -1995,7 +1995,7 @@ TEXT ·p256PointDoubleAsm(SB), NOSPLIT, $0
19951995
* Y₃ = D×(A×C² - X₃) - B×C³
19961996
* Z₃ = Z₁×Z₂×C
19971997
*
1998-
* Three-operand formula (adopted): http://www.hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-3.html#addition-add-1998-cmo-2
1998+
* Three-operand formula (adopted): https://www.hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-3.html#addition-add-1998-cmo-2
19991999
* Temp storage: T1,T2,U1,H,Z3=X3=Y3,S1,R
20002000
*
20012001
* T1 = Z1*Z1

src/crypto/hmac/hmac.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import (
2727
)
2828

2929
// FIPS 198-1:
30-
// http://csrc.nist.gov/publications/fips/fips198-1/FIPS-198-1_final.pdf
30+
// https://csrc.nist.gov/publications/fips/fips198-1/FIPS-198-1_final.pdf
3131

3232
// key is zero padded to the block size of the hash function
3333
// ipad = 0x36 byte repeated for key length

src/crypto/hmac/hmac_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ type hmacTest struct {
2525

2626
var hmacTests = []hmacTest{
2727
// Tests from US FIPS 198
28-
// http://csrc.nist.gov/publications/fips/fips198/fips-198a.pdf
28+
// https://csrc.nist.gov/publications/fips/fips198/fips-198a.pdf
2929
{
3030
sha1.New,
3131
[]byte{
@@ -205,7 +205,7 @@ var hmacTests = []hmacTest{
205205
sha256.BlockSize,
206206
},
207207

208-
// Tests from http://csrc.nist.gov/groups/ST/toolkit/examples.html
208+
// Tests from https://csrc.nist.gov/groups/ST/toolkit/examples.html
209209
// (truncated tag tests are left out)
210210
{
211211
sha1.New,

0 commit comments

Comments
 (0)