// GoGOST -- Pure Go GOST cryptographic functions library
-// Copyright (C) 2015-2020 Sergey Matveev <stargrave@stargrave.org>
+// Copyright (C) 2015-2022 Sergey Matveev <stargrave@stargrave.org>
//
// 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
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
}