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/sm3/sm3.odin | |
| parent | af80dfe9953cae85b37ec9c0e80e278976f1aff9 (diff) | |
Remove `core:mem` import from `core:crypto`.
Diffstat (limited to 'core/crypto/sm3/sm3.odin')
| -rw-r--r-- | core/crypto/sm3/sm3.odin | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/crypto/sm3/sm3.odin b/core/crypto/sm3/sm3.odin index 186331d92..ac38ca417 100644 --- a/core/crypto/sm3/sm3.odin +++ b/core/crypto/sm3/sm3.odin @@ -14,9 +14,9 @@ package sm3 zhibog, dotbmp: Initial implementation. */ +import "core:crypto" import "core:encoding/endian" import "core:math/bits" -import "core:mem" // DIGEST_SIZE is the SM3 digest size in bytes. DIGEST_SIZE :: 32 @@ -126,7 +126,7 @@ reset :: proc(ctx: ^Context) { return } - mem.zero_explicit(ctx, size_of(ctx^)) + crypto.zero_explicit(ctx, size_of(ctx^)) } /* |