aboutsummaryrefslogtreecommitdiff
path: root/core/crypto/sha2/sha2.odin
diff options
context:
space:
mode:
authorJeroen van Rijn <Kelimion@users.noreply.github.com>2026-02-12 16:52:25 +0100
committerJeroen van Rijn <Kelimion@users.noreply.github.com>2026-02-12 16:52:25 +0100
commitcde6dc1f20cab725959713a24b87ef7e0bd35d24 (patch)
tree53dd113b0636110bf8f21350279e83b04c1e0075 /core/crypto/sha2/sha2.odin
parentaf80dfe9953cae85b37ec9c0e80e278976f1aff9 (diff)
Remove `core:mem` import from `core:crypto`.
Diffstat (limited to 'core/crypto/sha2/sha2.odin')
-rw-r--r--core/crypto/sha2/sha2.odin4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/crypto/sha2/sha2.odin b/core/crypto/sha2/sha2.odin
index 0b34cd6a1..36fa4aa02 100644
--- a/core/crypto/sha2/sha2.odin
+++ b/core/crypto/sha2/sha2.odin
@@ -15,9 +15,9 @@ package sha2
zhibog, dotbmp: Initial implementation.
*/
+@(require) import "core:crypto"
@(require) import "core:encoding/endian"
import "core:math/bits"
-@(require) import "core:mem"
// DIGEST_SIZE_224 is the SHA-224 digest size in bytes.
DIGEST_SIZE_224 :: 28
@@ -260,7 +260,7 @@ reset :: proc(ctx: ^$T) {
return
}
- mem.zero_explicit(ctx, size_of(ctx^))
+ crypto.zero_explicit(ctx, size_of(ctx^))
}
/*