aboutsummaryrefslogtreecommitdiff
path: root/core/crypto/_aes/ct64/api.odin
diff options
context:
space:
mode:
Diffstat (limited to 'core/crypto/_aes/ct64/api.odin')
-rw-r--r--core/crypto/_aes/ct64/api.odin7
1 files changed, 3 insertions, 4 deletions
diff --git a/core/crypto/_aes/ct64/api.odin b/core/crypto/_aes/ct64/api.odin
index f57a630b1..08acd37ed 100644
--- a/core/crypto/_aes/ct64/api.odin
+++ b/core/crypto/_aes/ct64/api.odin
@@ -1,7 +1,6 @@
package aes_ct64
-import "base:intrinsics"
-import "core:mem"
+import "core:crypto"
STRIDE :: 4
@@ -82,5 +81,5 @@ decrypt_blocks :: proc(ctx: ^Context, dst, src: [][]byte) {
// reset sanitizes the Context. The Context must be re-initialized to
// be used again.
reset :: proc(ctx: ^Context) {
- mem.zero_explicit(ctx, size_of(ctx))
-}
+ crypto.zero_explicit(ctx, size_of(ctx))
+} \ No newline at end of file