From 4d5fb62a82065e84c6df6bb1bf911c561cdd51e0 Mon Sep 17 00:00:00 2001 From: Eric Joldasov Date: Mon, 5 Jun 2023 00:10:11 +0600 Subject: [PATCH] std.crypto.sign.Ed25519: remove `sign`, `verify`, `key_blinding.sign`, and `key_blinding.unblindPublicKey` (deprecated in 0.10) Followup to 9c0d975a099387cd2b47e527892e71ae1601eaf4. Signed-off-by: Eric Joldasov --- lib/std/crypto/25519/ed25519.zig | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/std/crypto/25519/ed25519.zig b/lib/std/crypto/25519/ed25519.zig index 6b9c1028b6..fc123386f8 100644 --- a/lib/std/crypto/25519/ed25519.zig +++ b/lib/std/crypto/25519/ed25519.zig @@ -480,13 +480,7 @@ pub const Ed25519 = struct { hx.final(&blind_h); return blind_h; } - - pub const sign = @compileError("deprecated; use BlindKeyPair.sign instead"); - pub const unblindPublicKey = @compileError("deprecated; use BlindPublicKey.unblind instead"); }; - - pub const sign = @compileError("deprecated; use KeyPair.sign instead"); - pub const verify = @compileError("deprecated; use PublicKey.verify instead"); }; test "ed25519 key pair creation" {