diff options
| author | Timon Kruiper <timonkruiper@gmail.com> | 2020-04-21 18:42:21 +0200 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-04-24 15:28:55 -0400 |
| commit | c829f2f7b7c5bdd13d3c39ae2960ed108393a210 (patch) | |
| tree | f93b1df14908722f4e587f438102813067e3a4c6 /lib/std/crypto | |
| parent | a9eb4a6740e0bb00e1984de3768a7de6001c25dd (diff) | |
| download | zig-c829f2f7b7c5bdd13d3c39ae2960ed108393a210.tar.gz zig-c829f2f7b7c5bdd13d3c39ae2960ed108393a210.zip | |
Add mips support to standard library
Diffstat (limited to 'lib/std/crypto')
| -rw-r--r-- | lib/std/crypto/gimli.zig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/std/crypto/gimli.zig b/lib/std/crypto/gimli.zig index be789d8953..2bfbfe32f0 100644 --- a/lib/std/crypto/gimli.zig +++ b/lib/std/crypto/gimli.zig @@ -162,6 +162,9 @@ pub fn hash(out: []u8, in: []const u8) void { } test "hash" { + // https://github.com/ziglang/zig/issues/5127 + if (std.Target.current.cpu.arch == .mips) return error.SkipZigTest; + // a test vector (30) from NIST KAT submission. var msg: [58 / 2]u8 = undefined; try std.fmt.hexToBytes(&msg, "000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C"); @@ -307,6 +310,9 @@ pub const Aead = struct { }; test "cipher" { + // https://github.com/ziglang/zig/issues/5127 + if (std.Target.current.cpu.arch == .mips) return error.SkipZigTest; + var key: [32]u8 = undefined; try std.fmt.hexToBytes(&key, "000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F"); var nonce: [16]u8 = undefined; |
