diff --git a/lib/std/crypto/ecdsa.zig b/lib/std/crypto/ecdsa.zig index 9763989919356a2529bb5daabf00c399a320a21d..831c101970639737d51a4bf7f13c41529a8aeb6e 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,