diff --git a/crypto/ecies/ecies.go b/crypto/ecies/ecies.go index 9f94047864..cee290b344 100644 --- a/crypto/ecies/ecies.go +++ b/crypto/ecies/ecies.go @@ -158,7 +158,7 @@ func concatKDF(hash hash.Hash, z, s1 []byte, kdLen int) []byte { return k[:kdLen] } -// roundup rounds size up to the nearest multiple of blocksize. +// roundup rounds size up to the next multiple of blocksize. func roundup(size, blocksize int) int { return size + blocksize - (size % blocksize) }