diff options
| author | Yawning Angel <yawning@schwanenlied.me> | 2025-12-31 09:30:29 +0900 |
|---|---|---|
| committer | Yawning Angel <yawning@schwanenlied.me> | 2026-01-28 22:20:03 +0900 |
| commit | 429e8a46dba047833087f22bddd8d03519929258 (patch) | |
| tree | 1de7621ca0eded154f57b099c5f5067f6b7ee2d4 /tests | |
| parent | dbd69601e6c51603e39b295b6066bc5857d8d73e (diff) | |
core/crypto/ed25519: Cosmetic fixes (NFC)
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/core/crypto/test_core_crypto_edwards.odin | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/core/crypto/test_core_crypto_edwards.odin b/tests/core/crypto/test_core_crypto_edwards.odin index 61933c00f..a1307da24 100644 --- a/tests/core/crypto/test_core_crypto_edwards.odin +++ b/tests/core/crypto/test_core_crypto_edwards.odin @@ -10,7 +10,7 @@ import "core:crypto/x25519" import "core:crypto/x448" @(test) -test_sqrt_ratio_m1 :: proc(t: ^testing.T) { +test_edwards25519_sqrt_ratio_m1 :: proc(t: ^testing.T) { test_vectors := []struct { u: string, v: string, @@ -747,14 +747,14 @@ test_x448 :: proc(t: ^testing.T) { } } -@(private) +@(private="file") ge_str :: proc(ge: ^ristretto255.Group_Element) -> string { b: [ristretto255.ELEMENT_SIZE]byte ristretto255.ge_bytes(ge, b[:]) return string(hex.encode(b[:], context.temp_allocator)) } -@(private) +@(private="file") fe_str :: proc(fe: ^field.Tight_Field_Element) -> string { b: [32]byte field.fe_to_bytes(&b, fe) |