Skip to content

Commit 1fbbd62

Browse files
committed
crypto: add import comments.
Change-Id: I33240faf1b8620d0cd600de661928d8e422ebdbc Reviewed-on: https://go-review.googlesource.com/1235 Reviewed-by: Andrew Gerrand <[email protected]>
1 parent 731db29 commit 1fbbd62

File tree

33 files changed

+33
-33
lines changed

33 files changed

+33
-33
lines changed

bcrypt/bcrypt.go

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

55
// Package bcrypt implements Provos and Mazières's bcrypt adaptive hashing
66
// algorithm. See http://www.usenix.org/event/usenix99/provos/provos.pdf
7-
package bcrypt
7+
package bcrypt // import "golang.org/x/crypto/bcrypt"
88

99
// The code is a port of Provos and Mazières's C implementation.
1010
import (

blowfish/cipher.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// license that can be found in the LICENSE file.
44

55
// Package blowfish implements Bruce Schneier's Blowfish encryption algorithm.
6-
package blowfish
6+
package blowfish // import "golang.org/x/crypto/blowfish"
77

88
// The code is a port of Bruce Schneier's C implementation.
99
// See http://www.schneier.com/blowfish.html.

bn256/bn256.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
// Barreto-Naehrig curve as described in
1515
// http://cryptojedi.org/papers/dclxvi-20100714.pdf. Its output is compatible
1616
// with the implementation described in that paper.
17-
package bn256
17+
package bn256 // import "golang.org/x/crypto/bn256"
1818

1919
import (
2020
"crypto/rand"

cast5/cast5.go

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

55
// Package cast5 implements CAST5, as defined in RFC 2144. CAST5 is a common
66
// OpenPGP cipher.
7-
package cast5
7+
package cast5 // import "golang.org/x/crypto/cast5"
88

99
import "errors"
1010

curve25519/doc.go

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

55
// Package curve25519 provides an implementation of scalar multiplication on
66
// the elliptic curve known as curve25519. See http://cr.yp.to/ecdh.html
7-
package curve25519
7+
package curve25519 // import "golang.org/x/crypto/curve25519"
88

99
// basePoint is the x coordinate of the generator of the curve.
1010
var basePoint = [32]byte{9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}

hkdf/hkdf.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// strong secret keys.
1111
//
1212
// RFC 5869: https://tools.ietf.org/html/rfc5869
13-
package hkdf
13+
package hkdf // import "golang.org/x/crypto/hkdf"
1414

1515
import (
1616
"crypto/hmac"

md4/md4.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// license that can be found in the LICENSE file.
44

55
// Package md4 implements the MD4 hash algorithm as defined in RFC 1320.
6-
package md4
6+
package md4 // import "golang.org/x/crypto/md4"
77

88
import (
99
"crypto"

nacl/box/box.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ negligible risk of collision.
1515
1616
This package is interoperable with NaCl: http://nacl.cr.yp.to/box.html.
1717
*/
18-
package box
18+
package box // import "golang.org/x/crypto/nacl/box"
1919

2020
import (
2121
"golang.org/x/crypto/curve25519"

nacl/secretbox/secretbox.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ negligible risk of collision.
1515
1616
This package is interoperable with NaCl: http://nacl.cr.yp.to/secretbox.html.
1717
*/
18-
package secretbox
18+
package secretbox // import "golang.org/x/crypto/nacl/secretbox"
1919

2020
import (
2121
"golang.org/x/crypto/poly1305"

ocsp/ocsp.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Package ocsp parses OCSP responses as specified in RFC 2560. OCSP responses
66
// are signed messages attesting to the validity of a certificate for a small
77
// period of time. This is used to manage revocation for X.509 certificates.
8-
package ocsp
8+
package ocsp // import "golang.org/x/crypto/ocsp"
99

1010
import (
1111
"crypto"

0 commit comments

Comments
 (0)