commit 7857bbd116dd5c9cbfd9cc9fcf7908dbdd413970 (tree)
parent 1ac4c27d74c95e31477a03557ad3807fd2bed57d
Author: Alex Rønne Petersen <alex@alexrp.com>
Date: Fri, 19 Sep 2025 17:06:24 +0200
std.crypto.ascon: disable Ascon-AEAD128 test on RISC-V with V support
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/lib/std/crypto/ascon.zig b/lib/std/crypto/ascon.zig
@@ -966,6 +966,8 @@ test "Ascon-CXOF128 with customization" {
}
test "Ascon-AEAD128 round trip with various data sizes" {
+ if (builtin.cpu.has(.riscv, .v) and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest;
+
const key = [_]u8{ 0x01, 0x23, 0x45, 0x67, 0x89, 0xAB, 0xCD, 0xEF, 0xFE, 0xDC, 0xBA, 0x98, 0x76, 0x54, 0x32, 0x10 };
const nonce = [_]u8{ 0x00, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88, 0x99, 0xAA, 0xBB, 0xCC, 0xDD, 0xEE, 0xFF };