commit | c2843e01d9a2bc60bb26ad24e09734fdc2d9ec58 | [log] [tgz] |
---|---|---|
author | Andreas Auernhammer <aead@mail.de> | Fri May 04 00:15:25 2018 +0200 |
committer | Filippo Valsorda <filippo@golang.org> | Fri Mar 08 22:17:18 2019 +0000 |
tree | d41806a610c69a58549ca5307591595d891b448c | |
parent | 8dd112bcdc25174059e45e07517d9fc663123347 [diff] |
poly1305: implement a subset of the hash.Hash interface This CL adds the poly1305.MAC type which implements a subset of the hash.Hash interface. With MAC it is possible to compute an authentication tag of data without copying it into a single byte slice. This commit modifies the reference/generic and the AMD64 assembler but not the ARM/s390x implementation to support an io.Writer interface. Updates golang/go#25219 Change-Id: I7ee5a9eadd43387cf3cd887d734c625575eee47d Reviewed-on: https://go-review.googlesource.com/c/crypto/+/111335 Run-TryBot: Filippo Valsorda <filippo@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Filippo Valsorda <filippo@golang.org>
This repository holds supplementary Go cryptography libraries.
The easiest way to install is to run go get -u golang.org/x/crypto/...
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/crypto
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the crypto repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/crypto:” in the subject line, so it is easy to find.
Note that contributions to the cryptography package receive additional scrutiny due to their sensitive nature. Patches may take longer than normal to receive feedback.