X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=gost34112012256%2Fesptree.go;h=f1f6c53912614685f32bd0ad1154196001211ebe;hb=HEAD;hp=204baca61634f3b123d3048ee951e689dc6bac2e;hpb=c40d1e5634cf6d540d908a57423f4b504e39f186;p=gogost.git diff --git a/gost34112012256/esptree.go b/gost34112012256/esptree.go index 204baca..da979db 100644 --- a/gost34112012256/esptree.go +++ b/gost34112012256/esptree.go @@ -1,5 +1,5 @@ // GoGOST -- Pure Go GOST cryptographic functions library -// Copyright (C) 2015-2020 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 @@ -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 }