diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2026-02-12 18:26:39 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-12 18:26:39 +0100 |
| commit | c9f53fdfd70f9b90c9dfca9d01af482ce121d7c4 (patch) | |
| tree | b2a725d684c4da52757591c864828554a919db8d /core/crypto/ristretto255 | |
| parent | 1159110e735ba84d651f4bbc4e9883fd83e9eddc (diff) | |
| parent | c0300a33039ab003cbf105c082fe43de4b17ab96 (diff) | |
Merge pull request #6264 from Kelimion/mem_to_runtime
Replace trivial `core:mem` imports with `base:runtime`.
Diffstat (limited to 'core/crypto/ristretto255')
| -rw-r--r-- | core/crypto/ristretto255/ristretto255.odin | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/crypto/ristretto255/ristretto255.odin b/core/crypto/ristretto255/ristretto255.odin index 78bf45c28..3724aee7a 100644 --- a/core/crypto/ristretto255/ristretto255.odin +++ b/core/crypto/ristretto255/ristretto255.odin @@ -6,9 +6,9 @@ See: */ package ristretto255 +import "core:crypto" import grp "core:crypto/_edwards25519" import field "core:crypto/_fiat/field_curve25519" -import "core:mem" // ELEMENT_SIZE is the size of a byte-encoded ristretto255 group element. ELEMENT_SIZE :: 32 @@ -71,7 +71,7 @@ Group_Element :: struct { // ge_clear clears ge to the uninitialized state. ge_clear :: proc "contextless" (ge: ^Group_Element) { - mem.zero_explicit(ge, size_of(Group_Element)) + crypto.zero_explicit(ge, size_of(Group_Element)) } // ge_set sets `ge = a`. |