curve25519

package
Version: v0.0.0-...-8b1022e Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2016 License: Apache-2.0, BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Overview

Package curve25519 provides an implementation of scalar multiplication on the elliptic curve known as curve25519. See http://cr.yp.to/ecdh.html

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ScalarBaseMult

func ScalarBaseMult(dst, in *[32]byte)

ScalarBaseMult sets dst to the product in*base where dst and base are the x coordinates of group points, base is the standard generator and all values are in little-endian form.

func ScalarMult

func ScalarMult(dst, in, base *[32]byte)

ScalarMult sets dst to the product in*base where dst and base are the x coordinates of group points and all values are in little-endian form.

Types

This section is empty.

Jump to

Keyboard shortcuts

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