X-Git-Url: http://www.git.cypherpunks.ru/?p=gogost.git;a=blobdiff_plain;f=gost34112012256%2Fesptree.go;h=93b9f224c78f097e4b925a6e571b8da5c4a97377;hp=4f708ebe4757b7553c7356adf7af4e9207997c11;hb=0a90036399035f4b8f3815019b4f33ac7e77d955;hpb=719ab7991e1d715b6b6c488c65704e09dac1d57b diff --git a/gost34112012256/esptree.go b/gost34112012256/esptree.go index 4f708eb..93b9f22 100644 --- a/gost34112012256/esptree.go +++ b/gost34112012256/esptree.go @@ -32,7 +32,7 @@ func NewESPTree(keyRoot []byte) *ESPTree { keyRoot: key, key: make([]byte, Size), } - t.isPrev[0] += 1 // invalidate cache + t.isPrev[0]++ // invalidate cache t.DeriveCached([]byte{0x00, 0x00, 0x00, 0x00, 0x00}) return t }