mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 12:59:04 +00:00
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>
This commit is contained in:
parent
f7dddd4c81
commit
4d5fb62a82
@ -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" {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user