curve25519

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2018 License: GPL-3.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 https://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