Skip to content

Commit def25b9

Browse files
Rexicon226mlugg
authored andcommitted
crypto: fix typo in ecdsa comment
1 parent fcb088c commit def25b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/std/crypto/ecdsa.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ pub fn Ecdsa(comptime Curve: type, comptime Hash: type) type {
5757
pub const PublicKey = struct {
5858
/// Length (in bytes) of a compressed sec1-encoded key.
5959
pub const compressed_sec1_encoded_length = 1 + Curve.Fe.encoded_length;
60-
/// Length (in bytes) of a compressed sec1-encoded key.
60+
/// Length (in bytes) of an uncompressed sec1-encoded key.
6161
pub const uncompressed_sec1_encoded_length = 1 + 2 * Curve.Fe.encoded_length;
6262

6363
p: Curve,

0 commit comments

Comments
 (0)