Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
555 changes: 0 additions & 555 deletions tests/ACVP_Vectors/ML-DSA-keyGen-FIPS204/internalProjection.json

This file was deleted.

3,897 changes: 0 additions & 3,897 deletions tests/ACVP_Vectors/ML-DSA-sigGen-FIPS204/internalProjection.json

This file was deleted.

2,199 changes: 0 additions & 2,199 deletions tests/ACVP_Vectors/ML-DSA-sigVer-FIPS204/internalProjection.json

This file was deleted.

1,530 changes: 0 additions & 1,530 deletions tests/ACVP_Vectors/ML-KEM-encapDecap-FIPS203/internalProjection.json

This file was deleted.

630 changes: 0 additions & 630 deletions tests/ACVP_Vectors/ML-KEM-keyGen-FIPS203/internalProjection.json

This file was deleted.

1,173 changes: 0 additions & 1,173 deletions tests/ACVP_Vectors/SLH-DSA-keyGen-FIPS205/internalProjection.json

This file was deleted.

7,113 changes: 0 additions & 7,113 deletions tests/ACVP_Vectors/SLH-DSA-sigGen-FIPS205/internalProjection.json

This file was deleted.

6,717 changes: 0 additions & 6,717 deletions tests/ACVP_Vectors/SLH-DSA-sigVer-FIPS205/internalProjection.json

This file was deleted.

25 changes: 0 additions & 25 deletions tests/ACVP_Vectors/fetch_values.sh

This file was deleted.

8 changes: 8 additions & 0 deletions tests/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,14 @@ def is_sig_stfl_enabled_by_name(name):
return True
return False

# TODO: this function needs a refactor because the scan logic currently applies
# re.findall to all args/kwargs in the wrapped function. If the function takes
# a non-string argument, re.findall will raise a TypeError, which is
# undesirable. It can also cause incorrect skipping if the wrapped function
# takes some string argument that unintentionally matches the regex.
# Instead, I prefer replacing this decorator with a regular function that returns
# a boolean indicating whether a KEM/SIG/STFL_SIG name matches the env var
# SKIP_ALGS, then let the caller decide whether to call pytest.skip.
def filtered_test(func):
funcname = func.__name__[len("test_"):]

Expand Down
Loading
Loading