]> Cypherpunks.ru repositories - gogost.git/blobdiff - gost341194/hash.go
Use more modern Go version
[gogost.git] / gost341194 / hash.go
index 492f4dc0e82f8949ae1875a3bdd1340fc1c5097f..0c3ae1a8583deb2ba97f8cdd9c78b7d38256356d 100644 (file)
@@ -1,5 +1,5 @@
 // GoGOST -- Pure Go GOST cryptographic functions library
-// Copyright (C) 2015-2021 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
@@ -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 {