type crypto/internal/fips140/ed25519.PrivateKey
28 uses
crypto/internal/fips140/ed25519 (current package)
cast.go#L15: func fipsPCT(k *PrivateKey) error {
cast.go#L23: func pairwiseTest(k *PrivateKey) error {
cast.go#L36: func signWithoutSelfTest(priv *PrivateKey, message []byte) []byte {
cast.go#L64: k := &PrivateKey{seed: seed}
ed25519.go#L28: type PrivateKey struct {
ed25519.go#L35: func (priv *PrivateKey) Bytes() []byte {
ed25519.go#L42: func (priv *PrivateKey) Seed() []byte {
ed25519.go#L47: func (priv *PrivateKey) PublicKey() []byte {
ed25519.go#L63: func GenerateKey() (*PrivateKey, error) {
ed25519.go#L64: priv := &PrivateKey{}
ed25519.go#L68: func generateKey(priv *PrivateKey) (*PrivateKey, error) {
ed25519.go#L79: func NewPrivateKeyFromSeed(seed []byte) (*PrivateKey, error) {
ed25519.go#L80: priv := &PrivateKey{}
ed25519.go#L84: func newPrivateKeyFromSeed(priv *PrivateKey, seed []byte) (*PrivateKey, error) {
ed25519.go#L98: func precomputePrivateKey(priv *PrivateKey) {
ed25519.go#L113: func NewPrivateKey(priv []byte) (*PrivateKey, error) {
ed25519.go#L114: p := &PrivateKey{}
ed25519.go#L118: func newPrivateKey(priv *PrivateKey, privBytes []byte) (*PrivateKey, error) {
ed25519.go#L179: func Sign(priv *PrivateKey, message []byte) []byte {
ed25519.go#L186: func sign(signature []byte, priv *PrivateKey, message []byte) []byte {
ed25519.go#L192: func SignPH(priv *PrivateKey, message []byte, context string) ([]byte, error) {
ed25519.go#L199: func signPH(signature []byte, priv *PrivateKey, message []byte, context string) ([]byte, error) {
ed25519.go#L211: func SignCtx(priv *PrivateKey, message []byte, context string) ([]byte, error) {
ed25519.go#L218: func signCtx(signature []byte, priv *PrivateKey, message []byte, context string) ([]byte, error) {
ed25519.go#L229: func signWithDom(signature []byte, priv *PrivateKey, message []byte, domPrefix, context string) []byte {