5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-12-30 19:45:40 +00:00
matterbridge/vendor/filippo.io/edwards25519
2022-03-20 14:57:48 +01:00
..
field Add dependencies/vendor (whatsapp) 2022-03-20 14:57:48 +01:00
doc.go Add dependencies/vendor (whatsapp) 2022-03-20 14:57:48 +01:00
edwards25519.go Add dependencies/vendor (whatsapp) 2022-03-20 14:57:48 +01:00
extra.go Add dependencies/vendor (whatsapp) 2022-03-20 14:57:48 +01:00
LICENSE Add dependencies/vendor (whatsapp) 2022-03-20 14:57:48 +01:00
README.md Add dependencies/vendor (whatsapp) 2022-03-20 14:57:48 +01:00
scalar.go Add dependencies/vendor (whatsapp) 2022-03-20 14:57:48 +01:00
scalarmult.go Add dependencies/vendor (whatsapp) 2022-03-20 14:57:48 +01:00
tables.go Add dependencies/vendor (whatsapp) 2022-03-20 14:57:48 +01:00

filippo.io/edwards25519

import "filippo.io/edwards25519"

This library implements the edwards25519 elliptic curve, exposing the necessary APIs to build a wide array of higher-level primitives. Read the docs at pkg.go.dev/filippo.io/edwards25519.

The code is originally derived from Adam Langley's internal implementation in the Go standard library, and includes George Tankersley's performance improvements. It was then further developed by Henry de Valence for use in ristretto255.

Most users don't need this package, and should instead use crypto/ed25519 for signatures, golang.org/x/crypto/curve25519 for Diffie-Hellman, or github.com/gtank/ristretto255 for prime order group logic. However, for anyone currently using a fork of crypto/ed25519/internal/edwards25519 or github.com/agl/edwards25519, this package should be a safer, faster, and more powerful alternative.

Since this package is meant to curb proliferation of edwards25519 implementations in the Go ecosystem, it welcomes requests for new APIs or reviewable performance improvements.