diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2020-11-16 13:39:31 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-16 13:39:31 -0800 |
| commit | ba967ae9a1eada3a08803470f557bafcfb69151e (patch) | |
| tree | 34ea140e3b9ee6ceec225e20c2dc483feb75dc81 /lib/std/crypto.zig | |
| parent | 8f47e8feb60e60cc85674a9eef281197ed8a7c27 (diff) | |
| parent | 7f9e3e419c24ba51e80a4c41bcbefc820f7e0a88 (diff) | |
| download | zig-ba967ae9a1eada3a08803470f557bafcfb69151e.tar.gz zig-ba967ae9a1eada3a08803470f557bafcfb69151e.zip | |
Merge pull request #7002 from jedisct1/timingSafeEqlMinimal
Add mem.timingSafeEql() for constant-time array comparison
Diffstat (limited to 'lib/std/crypto.zig')
| -rw-r--r-- | lib/std/crypto.zig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/std/crypto.zig b/lib/std/crypto.zig index c2a6fb6730..a30ec9728e 100644 --- a/lib/std/crypto.zig +++ b/lib/std/crypto.zig @@ -130,6 +130,8 @@ pub const nacl = struct { pub const SealedBox = salsa20.SealedBox; }; +pub const utils = @import("crypto/utils.zig"); + const std = @import("std.zig"); pub const randomBytes = std.os.getrandom; |
