X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=gost3410%2Futils.go;h=764c05b63cc852c5e4fcf9866bbea029aa2ec2e8;hb=HEAD;hp=c85dfa9d450559a7f4866ca39e5599ba3f54f584;hpb=6d9056bfe4a2d69469a1e70f3bf08f89b377b06e;p=gogost.git diff --git a/gost3410/utils.go b/gost3410/utils.go index c85dfa9..bab6e18 100644 --- a/gost3410/utils.go +++ b/gost3410/utils.go @@ -1,5 +1,5 @@ // GoGOST -- Pure Go GOST cryptographic functions library -// Copyright (C) 2015-2021 Sergey Matveev +// Copyright (C) 2015-2024 Sergey Matveev // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -33,7 +33,7 @@ func pad(d []byte, size int) []byte { return append(make([]byte, size-len(d)), d...) } -func PointSize(p *big.Int) int { +func pointSize(p *big.Int) int { if p.BitLen() > 256 { return 64 }