zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit ca1fc3827e349cae1050a2f9e6e71a2996e4241b (tree)
parent 6e8493daa3c4c4dc2d6430d5379b058f6b65f297
Author: Frank Denis <124872+jedisct1@users.noreply.github.com>
Date:   Sat, 29 Mar 2025 15:52:34 +0100

crypto.ecdsa: fix EcdsaP384Sha3_384 constant name (#23403)

Spotted by @deatil -- Thanks!
Diffstat:
Mlib/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 @@ -19,7 +19,7 @@ pub const EcdsaP256Sha3_256 = Ecdsa(crypto.ecc.P256, crypto.hash.sha3.Sha3_256); /// ECDSA over P-384 with SHA-384. pub const EcdsaP384Sha384 = Ecdsa(crypto.ecc.P384, crypto.hash.sha2.Sha384); /// ECDSA over P-384 with SHA3-384. -pub const EcdsaP256Sha3_384 = Ecdsa(crypto.ecc.P384, crypto.hash.sha3.Sha3_384); +pub const EcdsaP384Sha3_384 = Ecdsa(crypto.ecc.P384, crypto.hash.sha3.Sha3_384); /// ECDSA over Secp256k1 with SHA-256. pub const EcdsaSecp256k1Sha256 = Ecdsa(crypto.ecc.Secp256k1, crypto.hash.sha2.Sha256); /// ECDSA over Secp256k1 with SHA-256(SHA-256()) -- The Bitcoin signature system.