crypto/ecies: fix typo in comment

This commit is contained in:
Felix Lange 2020-04-02 21:33:13 +02:00 committed by GitHub
parent 15c72be0e3
commit d23792f333
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 {