test: Ensure 8MiB of stack size for key generation

This commit ensures that the call to `StaticKEM::keygen` has a stack of
8MiB.

Especially on Darwin system, this commit is necessary in order to
prevent a stack overflow, as this system only provides stack sizes of
roughly 500KB which is way to small for a Classic McEliece key.

Fixes #118
This commit is contained in:
Emil Engler
2023-09-14 13:27:31 +02:00
committed by Karolin Varner
parent d2d72143b5
commit b7a76849b7
3 changed files with 29 additions and 1 deletions

View File

@@ -36,6 +36,7 @@ anyhow = "1.0.71"
[dev-dependencies]
criterion = "0.4.0"
test_bin = "0.4.0"
stacker = "0.1.15"
[features]
default = ["log", "env_logger"]