mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
crypto: fix typo in ecdsa comment
This commit is contained in:
parent
fcb088cb6a
commit
def25b9189
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue