Golang poly1305-donna-32.

Yawning Angel dfc796fe73 Add the CC0 boilerplate. 2 years ago
.gitignore 04ade7ff3c Add a .gitignore. 2 years ago
README.md d999746350 Carve off the implementation into a separate file. 2 years ago
poly1305.go dfc796fe73 Add the CC0 boilerplate. 2 years ago
poly1305_32.go dfc796fe73 Add the CC0 boilerplate. 2 years ago
poly1305_test.go dfc796fe73 Add the CC0 boilerplate. 2 years ago

README.md

poly1305: Go Poly1305

Yawning Angel (yawning at schwanenlied dot me)

Poly1305 implements the Poly1305 MAC algorithm, exposing a saner interface than the one provided by golang.org/x/crypto/poly1305. In particular it exposes a object that implements a hash.Hash interface.

The implementation is based on the Public Domain poly1305-donna by Andrew Moon.

Implementation 64 byte 1024 byte
go.crypto (ref) 94.51 MB/s 187.67 MB/s
go.crypto (amd64) 540.68 MB/s 909.97 MB/s
go poly1305-donna-32 425.40 MB/s 715.23 MB/s

Note: All numbers on a i5-4250U, and to be taken with a huge grain of salt.