Golang Curve448

Yawning Angel 01b048fb03 Update LICENSE.txt per upstream. 6 months ago
LICENSE.txt 01b048fb03 Update LICENSE.txt per upstream. 6 months ago
README.md a56d952fa9 IETF draft was ratified, no functional changes. 1 year ago
x448.go 01b048fb03 Update LICENSE.txt per upstream. 6 months ago
x448_ref.go 01b048fb03 Update LICENSE.txt per upstream. 6 months ago
x448_test.go 1bb92bdf56 Whoops, disable running the full test due to timeouts. 2 years ago

README.md

x448 - curve448 ECDH

Yawning Angel (yawning at schwanenlied dot me)

A straight forward port of Michael Hamburg's x448 code to Go lang.

See: https://www.rfc-editor.org/rfc/rfc7748.txt

If you're familiar with how to use golang.org/x/crypto/curve25519, you will be right at home with using x448, since the functions are the same. Generate a random secret key, ScalarBaseMult() to get the public key, etc etc etc.

Both routines return 0 on success, -1 on failure which MUST be checked, and the handshake aborted on failure.