package curve25519
import "github.com/ProtonMail/go-crypto/openpgp/internal/ecc/curve25519"
Package curve25519 implements custom field operations without clamping for forwarding.
Index ¶
- Constants
- func DeriveProxyParam(recipientSecretByte, forwardeeSecretByte []byte) (proxyParam []byte, err error)
- func ProxyTransform(ephemeral, proxyParam []byte) ([]byte, error)
- func ScalarMult(dst *[32]byte, scalar, point []byte) error
Constants ¶
Functions ¶
func DeriveProxyParam ¶
func DeriveProxyParam(recipientSecretByte, forwardeeSecretByte []byte) (proxyParam []byte, err error)
func ProxyTransform ¶
func ScalarMult ¶
Source Files ¶
Directories ¶
| Path | Synopsis |
|---|---|
| openpgp/internal/ecc/curve25519/field | Package field implements fast arithmetic modulo 2^255-19. |
- Version
- v1.1.0-alpha.2-proton
- Published
- Mar 14, 2024
- Platform
- js/wasm
- Imports
- 5 packages
- Last checked
- 9 minutes ago –
Tools for package owners.