aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/ecies
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-01-07 01:44:35 +0800
committerPéter Szilágyi <peterke@gmail.com>2017-01-07 01:44:35 +0800
commit18c77744ff4ad0bc385a4c8b50d28c2a6fde8e00 (patch)
treef346aa2c1de4c873ba7d7bf847225b2c319c5694 /crypto/ecies
parentac93a6ff6cd1200ab0fb67a5bd0c02cb70646632 (diff)
downloadgo-tangerine-18c77744ff4ad0bc385a4c8b50d28c2a6fde8e00.tar
go-tangerine-18c77744ff4ad0bc385a4c8b50d28c2a6fde8e00.tar.gz
go-tangerine-18c77744ff4ad0bc385a4c8b50d28c2a6fde8e00.tar.bz2
go-tangerine-18c77744ff4ad0bc385a4c8b50d28c2a6fde8e00.tar.lz
go-tangerine-18c77744ff4ad0bc385a4c8b50d28c2a6fde8e00.tar.xz
go-tangerine-18c77744ff4ad0bc385a4c8b50d28c2a6fde8e00.tar.zst
go-tangerine-18c77744ff4ad0bc385a4c8b50d28c2a6fde8e00.zip
all: fix spelling errors
Diffstat (limited to 'crypto/ecies')
-rw-r--r--crypto/ecies/ecies.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/ecies/ecies.go b/crypto/ecies/ecies.go
index b1a716c00..2a16f20a2 100644
--- a/crypto/ecies/ecies.go
+++ b/crypto/ecies/ecies.go
@@ -93,7 +93,7 @@ func ImportECDSA(prv *ecdsa.PrivateKey) *PrivateKey {
}
// Generate an elliptic curve public / private keypair. If params is nil,
-// the recommended default paramters for the key will be chosen.
+// the recommended default parameters for the key will be chosen.
func GenerateKey(rand io.Reader, curve elliptic.Curve, params *ECIESParams) (prv *PrivateKey, err error) {
pb, x, y, err := elliptic.GenerateKey(curve, rand)
if err != nil {