package curve25519

import "github.com/ProtonMail/go-crypto/openpgp/internal/ecc/curve25519"

Package curve25519 implements custom field operations without clamping for forwarding.

Index

Constants

const ParamSize = x25519lib.Size

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

Source Files

curve25519.go

Directories

PathSynopsis
openpgp/internal/ecc/curve25519/fieldPackage field implements fast arithmetic modulo 2^255-19.
Version
v1.2.0-proton
Published
Apr 11, 2025
Platform
js/wasm
Imports
5 packages
Last checked
53 minutes ago

Tools for package owners.