curve25519

package
v1.1.0-alpha.3-proton Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Overview

Package curve25519 implements custom field operations without clamping for forwarding.

Index

Constants

View Source
const ParamSize = x25519lib.Size

Variables

This section is empty.

Functions

func DeriveProxyParam

func DeriveProxyParam(recipientSecretByte, forwardeeSecretByte []byte) (proxyParam []byte, err error)

func ProxyTransform

func ProxyTransform(ephemeral, proxyParam []byte) ([]byte, error)

func ScalarMult

func ScalarMult(dst *[32]byte, scalar, point []byte) error

Types

This section is empty.

Directories

Path Synopsis
Package field implements fast arithmetic modulo 2^255-19.
Package field implements fast arithmetic modulo 2^255-19.

Jump to

Keyboard shortcuts

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