package brainpool
import "github.com/ProtonMail/go-crypto/brainpool"
Package brainpool implements Brainpool elliptic curves. Implementation of rcurves is from github.com/ebfe/brainpool Note that these curves are implemented with naive, non-constant time operations and are likely not suitable for environments where timing attacks are a concern.
Index ¶
- func P256r1() elliptic.Curve
- func P256t1() elliptic.Curve
- func P384r1() elliptic.Curve
- func P384t1() elliptic.Curve
- func P512r1() elliptic.Curve
- func P512t1() elliptic.Curve
Functions ¶
func P256r1 ¶
P256r1 returns a Curve which implements Brainpool P256r1 (see RFC 5639, section 3.4)
func P256t1 ¶
P256t1 returns a Curve which implements Brainpool P256t1 (see RFC 5639, section 3.4)
func P384r1 ¶
P384r1 returns a Curve which implements Brainpool P384r1 (see RFC 5639, section 3.6)
func P384t1 ¶
P384t1 returns a Curve which implements Brainpool P384t1 (see RFC 5639, section 3.6)
func P512r1 ¶
P512r1 returns a Curve which implements Brainpool P512r1 (see RFC 5639, section 3.7)
func P512t1 ¶
P512t1 returns a Curve which implements Brainpool P512t1 (see RFC 5639, section 3.7)
Source Files ¶
- Version
- v1.3.0 (latest)
- Published
- May 22, 2025
- Platform
- linux/amd64
- Imports
- 3 packages
- Last checked
- 2 days ago –
Tools for package owners.