go.crypto/curve25519: add package.

This consists of ~2000 lines of amd64 assembly and a, much slower,
generic Go version in curve25519.go. The assembly has been ported from
djb's public domain sources and the only semantic alterations are to
deal with Go's split stacks.

R=rsc
CC=golang-dev
https://golang.org/cl/5786045
This commit is contained in:
Adam Langley
2012-03-12 10:59:04 -04:00
parent 36a967d321
commit 124e52db8d
10 changed files with 2343 additions and 0 deletions
File diff suppressed because it is too large Load Diff