Golang Curve448

Yawning Angel 6c2f60b02b First pass at making it go fast. 4 years ago
LICENSE.txt 93f5ae59ef Initial import. 4 years ago
README.md 93f5ae59ef Initial import. 4 years ago
x448.go 93f5ae59ef Initial import. 4 years ago
x448_ref.go 6c2f60b02b First pass at making it go fast. 4 years ago
x448_test.go 93f5ae59ef Initial import. 4 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://tools.ietf.org/html/draft-irtf-cfrg-curves-11

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.