Skip to content

Commit

Permalink
Update deprecation comments for Ed25519 functions
Browse files Browse the repository at this point in the history
  • Loading branch information
gdams authored Dec 18, 2024
1 parent a4fea14 commit 5fd8a4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ed25519.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ func GenerateKeyEd25519() (*PrivateKeyEd25519, error) {
return priv, nil
}

// Deprecated: NewPrivateKeyEd25119 has been deprecated in favor of NewPrivateKeyEd25519.
// Deprecated: use NewPrivateKeyEd25519 instead.
func NewPrivateKeyEd25119(priv []byte) (*PrivateKeyEd25519, error) {
return NewPrivateKeyEd25519(priv)
}
Expand All @@ -120,7 +120,7 @@ func NewPrivateKeyEd25519(priv []byte) (*PrivateKeyEd25519, error) {
return NewPrivateKeyEd25519FromSeed(priv[:seedSizeEd25519])
}

// Deprecated: NewPublicKeyEd25119 has been deprecated in favor of NewPublicKeyEd25519.
// Deprecated: use NewPublicKeyEd25519 instead.
func NewPublicKeyEd25119(pub []byte) (*PublicKeyEd25519, error) {
return NewPublicKeyEd25519(pub)
}
Expand Down

0 comments on commit 5fd8a4c

Please sign in to comment.