diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2026-02-12 16:52:25 +0100 |
|---|---|---|
| committer | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2026-02-12 16:52:25 +0100 |
| commit | cde6dc1f20cab725959713a24b87ef7e0bd35d24 (patch) | |
| tree | 53dd113b0636110bf8f21350279e83b04c1e0075 /core/crypto/x448/x448.odin | |
| parent | af80dfe9953cae85b37ec9c0e80e278976f1aff9 (diff) | |
Remove `core:mem` import from `core:crypto`.
Diffstat (limited to 'core/crypto/x448/x448.odin')
| -rw-r--r-- | core/crypto/x448/x448.odin | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/crypto/x448/x448.odin b/core/crypto/x448/x448.odin index 75693e055..f2cbaadec 100644 --- a/core/crypto/x448/x448.odin +++ b/core/crypto/x448/x448.odin @@ -6,8 +6,8 @@ See: */ package x448 +import "core:crypto" import field "core:crypto/_fiat/field_curve448" -import "core:mem" // SCALAR_SIZE is the size of a X448 scalar (private key) in bytes. SCALAR_SIZE :: 56 @@ -143,8 +143,8 @@ scalarmult :: proc(dst, scalar, point: []byte) { _scalarmult(&d, &e, &p) copy_slice(dst, d[:]) - mem.zero_explicit(&e, size_of(e)) - mem.zero_explicit(&d, size_of(d)) + crypto.zero_explicit(&e, size_of(e)) + crypto.zero_explicit(&d, size_of(d)) } // scalarmult_basepoint "multiplies" the provided scalar with the X448 |