aboutsummaryrefslogtreecommitdiff
path: root/lib/std/crypto/argon2.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2023-10-22 12:16:35 -0700
committerAndrew Kelley <andrew@ziglang.org>2023-10-22 12:16:35 -0700
commit6f0198cadbe29294f2bf3153a27beebd64377566 (patch)
tree99e6a8657282d9ffe09944a52c78b7e5b6949071 /lib/std/crypto/argon2.zig
parent9f0359d78f9facc38418e32b0e8c1bf6f99f0d26 (diff)
downloadzig-6f0198cadbe29294f2bf3153a27beebd64377566.tar.gz
zig-6f0198cadbe29294f2bf3153a27beebd64377566.zip
Revert "Merge pull request #17637 from jacobly0/x86_64-test-std"
This reverts commit 0c99ba1eab63865592bb084feb271cd4e4b0357e, reversing changes made to 5f92b070bf284f1493b1b5d433dd3adde2f46727. This caused a CI failure when it landed in master branch due to a 128-bit `@byteSwap` in std.mem.
Diffstat (limited to 'lib/std/crypto/argon2.zig')
-rw-r--r--lib/std/crypto/argon2.zig14
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/std/crypto/argon2.zig b/lib/std/crypto/argon2.zig
index 05dd686aac..898bc24e6f 100644
--- a/lib/std/crypto/argon2.zig
+++ b/lib/std/crypto/argon2.zig
@@ -622,8 +622,6 @@ pub fn strVerify(
}
test "argon2d" {
- if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
-
const password = [_]u8{0x01} ** 32;
const salt = [_]u8{0x02} ** 16;
const secret = [_]u8{0x03} ** 8;
@@ -649,8 +647,6 @@ test "argon2d" {
}
test "argon2i" {
- if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
-
const password = [_]u8{0x01} ** 32;
const salt = [_]u8{0x02} ** 16;
const secret = [_]u8{0x03} ** 8;
@@ -676,8 +672,6 @@ test "argon2i" {
}
test "argon2id" {
- if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
-
const password = [_]u8{0x01} ** 32;
const salt = [_]u8{0x02} ** 16;
const secret = [_]u8{0x03} ** 8;
@@ -703,8 +697,6 @@ test "argon2id" {
}
test "kdf" {
- if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
-
const password = "password";
const salt = "somesalt";
@@ -904,8 +896,6 @@ test "kdf" {
}
test "phc format hasher" {
- if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
-
const allocator = std.testing.allocator;
const password = "testpass";
@@ -921,8 +911,6 @@ test "phc format hasher" {
}
test "password hash and password verify" {
- if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
-
const allocator = std.testing.allocator;
const password = "testpass";
@@ -936,8 +924,6 @@ test "password hash and password verify" {
}
test "kdf derived key length" {
- if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
-
const allocator = std.testing.allocator;
const password = "testpass";