go.crypto/poly1305: enable AMD64 assembly

This change alters the assembly to use FSUBD instructions such that
6l will actually emit the correct FSUBRD instructions and enables
the assembly code.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/6514044
This commit is contained in:
Adam Langley
2012-09-14 17:00:38 -04:00
parent 591d65c664
commit 9c0a3ae199
3 changed files with 17 additions and 15 deletions
+2
View File
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build !amd64
package poly1305
// Based on original, public domain implementation from NaCl by D. J.