| ... | ... | @@ -1,3 +1,4 @@ |
| 1 | const builtin = @import("builtin"); |
| 1 | 2 | const std = @import("std"); |
| 2 | 3 | const assert = std.debug.assert; |
| 3 | 4 | const math = std.math; |
| ... | ... | @@ -573,6 +574,8 @@ test "sha3-384 streaming" { |
| 573 | 574 | } |
| 574 | 575 | |
| 575 | 576 | test "sha3-512 single" { |
| 577 | if (builtin.cpu.has(.riscv, .v) and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/25083 |
| 578 | |
| 576 | 579 | const h1 = "a69f73cca23a9ac5c8b567dc185a756e97c982164fe25859e0d1dcc1475c80a615b2123af1f5f94c11e3e9402c3ac558f500199d95b6d3e301758586281dcd26"; |
| 577 | 580 | try htest.assertEqualHash(Sha3_512, h1, ""); |
| 578 | 581 | const h2 = "b751850b1a57168a5693cd924b6b096e08f621827444f70d884f5d0240d2712e10e116e9192af3c91a7ec57647e3934057340b4cf408d5a56592f8274eec53f0"; |