From d23792f333178d8a40c9156b3023cc357ef6c6cb Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Thu, 2 Apr 2020 21:33:13 +0200 Subject: [PATCH] crypto/ecies: fix typo in comment --- crypto/ecies/params.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crypto/ecies/params.go b/crypto/ecies/params.go index af34639dfa..d2db45c067 100644 --- a/crypto/ecies/params.go +++ b/crypto/ecies/params.go @@ -52,9 +52,9 @@ var ( ErrInvalidKeyLen = fmt.Errorf("ecies: invalid key size (> 256) in ECIESParams") ) -// Maximem key size is limited to prevent overflow of the counter -// in ConcatKDF. While the theoretical limit is much higher, no known -// cipher uses keys larger than 512 bytes. +// KeyLen is limited to prevent overflow of the counter +// in concatKDF. While the theoretical limit is much higher, +// no known cipher uses keys larger than 512 bytes. const maxKeyLen = 512 type ECIESParams struct {