Skip to content

Add refactored crypto tests#355

Merged
bigbrett merged 5 commits into
wolfSSL:mainfrom
padelsbach:test-refactor-add-crypto
Jun 8, 2026
Merged

Add refactored crypto tests#355
bigbrett merged 5 commits into
wolfSSL:mainfrom
padelsbach:test-refactor-add-crypto

Conversation

@padelsbach

Copy link
Copy Markdown
Contributor

No description provided.

@padelsbach
padelsbach force-pushed the test-refactor-add-crypto branch 9 times, most recently from 3d82ef0 to 5702deb Compare May 14, 2026 21:02

@wolfSSL-Fenrir-bot wolfSSL-Fenrir-bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fenrir Automated Review — PR #355

No scan targets match the changed files in this PR. Review skipped.

@padelsbach
padelsbach force-pushed the test-refactor-add-crypto branch from 5702deb to 243a219 Compare May 15, 2026 18:33
@padelsbach
padelsbach marked this pull request as ready for review May 15, 2026 19:12

@bigbrett bigbrett left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@padelsbach realizing we need a way to iterate over devIds for the DMA-capable algos. Any ideas for how to do this cleanly? Look at how we currently do it in crypto tests with the global devIds array - that solution is def janky but there are some logical groupings of crypto tests that should be run identically just with multiple devIds.

Do we group these on a per-algo level? That way the high level test function signatures remain the same, but then the cmac test (for example) would internally run its core logic for every devId in a loop?

@bigbrett bigbrett assigned padelsbach and unassigned wolfSSL-Bot May 19, 2026
@padelsbach
padelsbach force-pushed the test-refactor-add-crypto branch 2 times, most recently from 44a3a5c to e84d260 Compare May 28, 2026 17:10
@padelsbach
padelsbach force-pushed the test-refactor-add-crypto branch from e84d260 to f30527e Compare May 29, 2026 23:06
@padelsbach padelsbach assigned bigbrett and unassigned padelsbach May 29, 2026

@wolfSSL-Fenrir-bot wolfSSL-Fenrir-bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fenrir Automated Review — PR #355

No scan targets match the changed files in this PR. Review skipped.

@bigbrett bigbrett left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@padelsbach looks good.

Just for tracking, this is largely incomplete as we still need coverage of RSA async, CMAC async + DMA-async, Curve25519 SharedSecretCacheKey, ECC SharedSecretCacheKey, ML-DSA 65/87 and ML-KEM in its entirety.

@bigbrett
bigbrett merged commit b199251 into wolfSSL:main Jun 8, 2026
108 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants