zig

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

commit 4d5fb62a82065e84c6df6bb1bf911c561cdd51e0 (tree)
parent f7dddd4c81a9531b78b4f03fd4536831978475eb
Author: Eric Joldasov <bratishkaerik@getgoogleoff.me>
Date:   Mon,  5 Jun 2023 00:10:11 +0600

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>

Diffstat:
Mlib/std/crypto/25519/ed25519.zig | 6------
1 file changed, 0 insertions(+), 6 deletions(-)

diff --git 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" {