Commit ca1fc3827e

Frank Denis <124872+jedisct1@users.noreply.github.com>
2025-03-29 15:52:34
crypto.ecdsa: fix EcdsaP384Sha3_384 constant name (#23403)
Spotted by @deatil -- Thanks!
1 parent 6e8493d
Changed files (1)
lib
std
crypto
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.