]> Cypherpunks.ru repositories - gogost.git/blobdiff - gost341194/hash.go
Download link for 5.14.1 release
[gogost.git] / gost341194 / hash.go
index e386ddd207e0ef1637e9faffff7db6976f991488..ab96829fd168d93a7af70cdc66a7d192aa761e79 100644 (file)
@@ -1,5 +1,5 @@
 // GoGOST -- Pure Go GOST cryptographic functions library
-// Copyright (C) 2015-2019 Sergey Matveev <stargrave@stargrave.org>
+// Copyright (C) 2015-2024 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
@@ -21,7 +21,7 @@ import (
        "encoding/binary"
        "math/big"
 
-       "go.cypherpunks.ru/gogost/v4/gost28147"
+       "go.cypherpunks.ru/gogost/v5/gost28147"
 )
 
 const (
@@ -131,7 +131,6 @@ func blockXor(dst, a, b *[BlockSize]byte) {
        for i := 0; i < BlockSize; i++ {
                dst[i] = a[i] ^ b[i]
        }
-       return
 }
 
 func (h *Hash) step(hin, m [BlockSize]byte) [BlockSize]byte {