authorgravatar for david@vortan.devDavid Rubin <david@vortan.dev> 2025-08-04 15:37:57-07:00
committergravatar for mlugg@mlugg.co.ukMatthew Lugg <mlugg@mlugg.co.uk> 2025-08-05 07:51:39+01:00
logdef25b918914405ced7f0c7eb66f8f086e878eb0
tree61d2dd5050e3164eeb51e3ee4d134e0e0f3eb4d3
parentfcb088cb6abf8a0a20de2650491c2d9a4b1ba399

crypto: fix typo in ecdsa comment


1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/crypto/ecdsa.zig+1-1
...@@ -57,7 +57,7 @@ pub fn Ecdsa(comptime Curve: type, comptime Hash: type) type {...@@ -57,7 +57,7 @@ pub fn Ecdsa(comptime Curve: type, comptime Hash: type) type {
57 pub const PublicKey = struct {57 pub const PublicKey = struct {
58 /// Length (in bytes) of a compressed sec1-encoded key.58 /// Length (in bytes) of a compressed sec1-encoded key.
59 pub const compressed_sec1_encoded_length = 1 + Curve.Fe.encoded_length;59 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.
61 pub const uncompressed_sec1_encoded_length = 1 + 2 * Curve.Fe.encoded_length;61 pub const uncompressed_sec1_encoded_length = 1 + 2 * Curve.Fe.encoded_length;
6262
63 p: Curve,63 p: Curve,