Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(491)

Unified Diff: curve25519/mont25519_amd64.go

Issue 7319045: code review 7319045: go.crypto/{curve25519,poly1305,salsa20/salsa}: add //go... (Closed)
Patch Set: diff -r 75e869cbf335 https://code.google.com/p/go.crypto Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | poly1305/sum_amd64.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: curve25519/mont25519_amd64.go
===================================================================
--- a/curve25519/mont25519_amd64.go
+++ b/curve25519/mont25519_amd64.go
@@ -9,10 +9,25 @@
// These functions are implemented in the .s files. The names of the functions
// in the rest of the file are also taken from the SUPERCOP sources to help
// people following along.
+
+//go:noescape
+
func cswap(inout *[5]uint64, v uint64)
+
+//go:noescape
+
func ladderstep(inout *[5][5]uint64)
+
+//go:noescape
+
func freeze(inout *[5]uint64)
+
+//go:noescape
+
func mul(dest, a, b *[5]uint64)
+
+//go:noescape
+
func square(out, in *[5]uint64)
// mladder uses a Montgomery ladder to calculate (xr/zr) *= s.
« no previous file with comments | « no previous file | poly1305/sum_amd64.go » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b