// GoGOST -- Pure Go GOST cryptographic functions library
-// Copyright (C) 2015-2019 Sergey Matveev <stargrave@stargrave.org>
+// Copyright (C) 2015-2023 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
"encoding/binary"
"math/big"
- "go.cypherpunks.ru/gogost/v4/gost28147"
+ "go.cypherpunks.ru/gogost/v5/gost28147"
)
const (
for i := 0; i < BlockSize; i++ {
dst[i] = a[i] ^ b[i]
}
- return
}
func (h *Hash) step(hin, m [BlockSize]byte) [BlockSize]byte {