x448

package module
v0.0.0-...-01b048f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 17, 2017 License: MIT Imports: 0 Imported by: 4

README

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.

Documentation

Overview

Package x448 provides an implementation of scalar multiplication on the elliptic curve known as curve448.

See https://tools.ietf.org/html/draft-irtf-cfrg-curves-11

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ScalarBaseMult

func ScalarBaseMult(out, scalar *[56]byte) int

func ScalarMult

func ScalarMult(out, scalar, base *[56]byte) int

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL