]> Cypherpunks.ru repositories - gogost.git/commitdiff
Add Size constant to hash modules
authorSergey Matveev <stargrave@stargrave.org>
Tue, 15 Nov 2016 18:37:47 +0000 (21:37 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Tue, 15 Nov 2016 18:37:47 +0000 (21:37 +0300)
src/cypherpunks.ru/gogost/gost34112012/hash.go
src/cypherpunks.ru/gogost/gost341194/hash.go

index 7289c400985fc4da3da52c79c56cbf0988170e01..8f8c77e90ed9ea8b445c80b5215c38d1b5474c54 100644 (file)
@@ -24,6 +24,7 @@ import (
 
 const (
        BlockSize = 64
+       Size = 64
 )
 
 var (
index c20970e834f8d552bee830a9b1e7bcf42e123089..ebbbca5460708d1bd07ee372dfe43b7558f44260 100644 (file)
@@ -27,6 +27,7 @@ import (
 
 const (
        BlockSize = 32
+       Size      = 32
 )
 
 var (