| ... | @@ -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; |
| 62 | | 62 | |
| 63 | p: Curve, | 63 | p: Curve, |