zig/lib/std/crypto/25519
Frank Denis 65e7ede499 crypto.Ed25519.KeyPair: return an error rather than assert
When runtime safety is turned on, `Ed25519.fromSecretKey()` can
currently hit an assertion if the format of the secret key is
invalid.

Return an error instead, so that applications can recover.
2025-02-21 22:45:38 +01:00
..
curve25519.zig crypto.edwards25519: add the ability to check for group membership (#20175) 2024-06-04 10:11:05 +02:00
ed25519.zig crypto.Ed25519.KeyPair: return an error rather than assert 2025-02-21 22:45:38 +01:00
edwards25519.zig crypto.edwards25519: add the ability to check for group membership (#20175) 2024-06-04 10:11:05 +02:00
field.zig std: update for new CallingConvention 2024-10-19 19:15:23 +01:00
ristretto255.zig x86_64: pass more tests 2023-10-25 04:28:30 -04:00
scalar.zig std.builtin.Endian: make the tags lower case 2023-10-31 21:37:35 -04:00
x25519.zig std.crypto: make the key pair API creation consistent (#21955) 2024-11-19 18:05:09 +01:00