Commit 4d5fb62a82

Eric Joldasov <bratishkaerik@getgoogleoff.me>
2023-06-04 20:10:11
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 <bratishkaerik@getgoogleoff.me>
1 parent f7dddd4
Changed files (1)
lib
std
crypto
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" {