commit | f4817d981bb690635456c5c1c6aa0585e5d45891 | [log] [tgz] |
---|---|---|
author | Filippo Valsorda <filippo@golang.org> | Thu Nov 07 16:07:46 2019 -0500 |
committer | Filippo Valsorda <filippo@golang.org> | Thu Nov 07 22:22:54 2019 +0000 |
tree | ef18b6a475a7486ef7184cb692d28e6e076d030a | |
parent | fe70532ba32e024e51cfd718fbd66067c012d234 [diff] |
curve25519: implement new X25519 API and deprecate ScalarMult const ScalarSize = 32 const PointSize = 32 var Basepoint []byte func X25519(scalar, point []byte) ([]byte, error) Fixes golang/go#32670 Change-Id: I6b08932e4123949355610b16b6053559b399516c Reviewed-on: https://go-review.googlesource.com/c/crypto/+/205157 Reviewed-by: Katie Hockman <katie@golang.org> Reviewed-by: Adam Langley <agl@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.