X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=src%2Fcypherpunks.ru%2Fgogost%2Fgost34112012256%2Fhash.go;h=6399ad5b8cbc5a8dc01a9622d5c3d3ed2fae0abe;hb=1486845463092bbcca3ed55f61e96edf926e9116;hp=c5d655fa883b33ca12283c0d52febae7485a79f0;hpb=0ccfdcc0f43ab56a10773cb0a774ba84aae752b1;p=gogost.git diff --git a/src/cypherpunks.ru/gogost/gost34112012256/hash.go b/src/cypherpunks.ru/gogost/gost34112012256/hash.go index c5d655f..6399ad5 100644 --- a/src/cypherpunks.ru/gogost/gost34112012256/hash.go +++ b/src/cypherpunks.ru/gogost/gost34112012256/hash.go @@ -29,6 +29,12 @@ const ( Size = 32 ) +/* +func init() { + crypto.RegisterHash(crypto.GOSTR34112012256, New) +} +*/ + func New() hash.Hash { return gost34112012.New(32) }