mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
crypto/ecies: fix typo in comment
This commit is contained in:
parent
15c72be0e3
commit
d23792f333
1 changed files with 3 additions and 3 deletions
|
|
@ -52,9 +52,9 @@ var (
|
||||||
ErrInvalidKeyLen = fmt.Errorf("ecies: invalid key size (> 256) in ECIESParams")
|
ErrInvalidKeyLen = fmt.Errorf("ecies: invalid key size (> 256) in ECIESParams")
|
||||||
)
|
)
|
||||||
|
|
||||||
// Maximem key size is limited to prevent overflow of the counter
|
// KeyLen is limited to prevent overflow of the counter
|
||||||
// in ConcatKDF. While the theoretical limit is much higher, no known
|
// in concatKDF. While the theoretical limit is much higher,
|
||||||
// cipher uses keys larger than 512 bytes.
|
// no known cipher uses keys larger than 512 bytes.
|
||||||
const maxKeyLen = 512
|
const maxKeyLen = 512
|
||||||
|
|
||||||
type ECIESParams struct {
|
type ECIESParams struct {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue