Seems like the new way to build go packages does not include make files. I restructured the tree and get the following error:
$ go install crypto/threefish
$ go install crypto/skein
crypto/skein
../../../gopkg/src/crypto/skein/skein.go:94: cannot use h (type *Skein) as type hash.Hash in return argument:
*Skein does not implement hash.Hash (missing BlockSize method)
It looks pretty straight forward to add, but the go docs say:
// BlockSize returns the hash's underlying block size.
// The Write method must be able to accept any amount
// of data, but it may operate more efficiently if all writes
// are a multiple of the block size.
BlockSize() int
What value should blocksize be set to?
Seems like the new way to build go packages does not include make files. I restructured the tree and get the following error:
$ go install crypto/threefish
$ go install crypto/skein
crypto/skein
../../../gopkg/src/crypto/skein/skein.go:94: cannot use h (type *Skein) as type hash.Hash in return argument:
*Skein does not implement hash.Hash (missing BlockSize method)
It looks pretty straight forward to add, but the go docs say:
// BlockSize returns the hash's underlying block size.
// The Write method must be able to accept any amount
// of data, but it may operate more efficiently if all writes
// are a multiple of the block size.
BlockSize() int
What value should blocksize be set to?