From def25b918914405ced7f0c7eb66f8f086e878eb0 Mon Sep 17 00:00:00 2001 From: David Rubin Date: Mon, 4 Aug 2025 15:37:57 -0700 Subject: [PATCH] crypto: fix typo in ecdsa comment --- lib/std/crypto/ecdsa.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/crypto/ecdsa.zig b/lib/std/crypto/ecdsa.zig index 9763989919..831c101970 100644 --- a/lib/std/crypto/ecdsa.zig +++ b/lib/std/crypto/ecdsa.zig @@ -57,7 +57,7 @@ pub fn Ecdsa(comptime Curve: type, comptime Hash: type) type { pub const PublicKey = struct { /// Length (in bytes) of a compressed sec1-encoded key. pub const compressed_sec1_encoded_length = 1 + Curve.Fe.encoded_length; - /// Length (in bytes) of a compressed sec1-encoded key. + /// Length (in bytes) of an uncompressed sec1-encoded key. pub const uncompressed_sec1_encoded_length = 1 + 2 * Curve.Fe.encoded_length; p: Curve,