Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/crypto/blake2b #30315

Closed
danielhavir opened this issue Feb 19, 2019 · 1 comment
Closed

x/crypto/blake2b #30315

danielhavir opened this issue Feb 19, 2019 · 1 comment

Comments

@danielhavir
Copy link

What version of Go are you using (go version)?

$ go version
go version go1.11 darwin/amd64

Does this issue reproduce with the latest release?

Yes

What operating system and processor architecture are you using (go env)?

macOS HighSierra 10.13.6

go env Output
$ go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/daniel/Library/Caches/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
...

What did you do?

Use Blake2b as MAC:
https://play.golang.org/p/S0bPQfHgG5K

What did you expect to see?

Different tags for different messages with a single key.

What did you see instead?

Same tags for different messages with a single key

@gopherbot gopherbot added this to the Unreleased milestone Feb 19, 2019
@FiloSottile
Copy link
Contributor

Sum does not take the message as argument, it takes a slice to append the result to. See the hash.Hash docs.

@golang golang locked and limited conversation to collaborators Feb 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants