Skip to content

Commit 648d9e1

Browse files
committed
ed25519: update godoc for consts in crypto/ed25519
This is a follow-up to Change-Id: I860ed963a0660753d01c89014c21360b239a38ac (commit 20e1d8d), which dropped compatibility with go1.12, and made this package an alias / wrapper for crypto/ed25519 in stdlib. This patch updates their godoc to include a docs-link to the equivalent consts in stdlib. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent a1aeb9b commit 648d9e1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

ed25519/ed25519.go

+8
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,20 @@ import (
2323

2424
const (
2525
// PublicKeySize is the size, in bytes, of public keys as used in this package.
26+
//
27+
// This const is an alias for [crypto/ed25519.PublicKeySize].
2628
PublicKeySize = 32
2729
// PrivateKeySize is the size, in bytes, of private keys as used in this package.
30+
//
31+
// This const is an alias for [crypto/ed25519.PrivateKeySize].
2832
PrivateKeySize = 64
2933
// SignatureSize is the size, in bytes, of signatures generated and verified by this package.
34+
//
35+
// This const is an alias for [crypto/ed25519.SignatureSize].
3036
SignatureSize = 64
3137
// SeedSize is the size, in bytes, of private key seeds. These are the private key representations used by RFC 8032.
38+
//
39+
// This const is an alias for [crypto/ed25519.SeedSize].
3240
SeedSize = 32
3341
)
3442

0 commit comments

Comments
 (0)