Skip to content

Commit 71e31b7

Browse files
authored
Merge branch 'main' into fix/f_4041
2 parents 7c443cc + aa52e32 commit 71e31b7

90 files changed

Lines changed: 15173 additions & 2804 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/build-and-test-refactor.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ jobs:
5353
- name: Build and test refactor DMA ASAN LMS verify-only XMSS full
5454
run: cd test-refactor/posix && make clean && make -j DMA=1 ASAN=1 LMS_VERIFY_ONLY=1 WOLFSSL_DIR=../../wolfssl && make run
5555

56+
# Build and test with ML-DSA in verify-only mode
57+
- name: Build and test refactor DMA ASAN MLDSA verify-only
58+
run: cd test-refactor/posix && make clean && make -j DMA=1 ASAN=1 MLDSA_VERIFY_ONLY=1 WOLFSSL_DIR=../../wolfssl && make run
59+
5660
# Build and test ASAN build, with wolfCrypt tests enabled.
5761
- name: Build and test refactor ASAN TESTWOLFCRYPT
5862
run: cd test-refactor/posix && make clean && make -j ASAN=1 TESTWOLFCRYPT=1 WOLFSSL_DIR=../../wolfssl && make run
@@ -73,6 +77,19 @@ jobs:
7377
- name: Build and test refactor ASAN SHE
7478
run: cd test-refactor/posix && make clean && make -j SHE=1 ASAN=1 WOLFSSL_DIR=../../wolfssl && make run
7579

80+
# Build and test with per-client crypto affinity enabled (runs the crypto
81+
# affinity unit test, gated behind WOLFHSM_CFG_CRYPTO_AFFINITY)
82+
- name: Build and test refactor CRYPTO_AFFINITY ASAN
83+
run: cd test-refactor/posix && make clean && make -j CRYPTO_AFFINITY=1 ASAN=1 WOLFSSL_DIR=../../wolfssl && make run
84+
85+
# Build and test crypto affinity alongside DMA (exercises HW-devId path)
86+
- name: Build and test refactor CRYPTO_AFFINITY DMA ASAN
87+
run: cd test-refactor/posix && make clean && make -j CRYPTO_AFFINITY=1 DMA=1 ASAN=1 WOLFSSL_DIR=../../wolfssl && make run
88+
89+
# Build and test with global SHE keys (all SHE slots shared across clients)
90+
- name: Build and test refactor ASAN SHE_GLOBAL
91+
run: cd test-refactor/posix && make clean && make -j SHE_GLOBAL=1 ASAN=1 WOLFSSL_DIR=../../wolfssl && make run
92+
7693
# Build and test with DEBUG=1
7794
- name: Build and test refactor with DEBUG
7895
run: cd test-refactor/posix && make clean && make -j DEBUG=1 WOLFSSL_DIR=../../wolfssl && make run
@@ -85,6 +102,10 @@ jobs:
85102
- name: Build and test refactor with THREADSAFE and everything
86103
run: cd test-refactor/posix && make clean && make -j THREADSAFE=1 DMA=1 SHE=1 ASAN=1 WOLFSSL_DIR=../../wolfssl && make run
87104

105+
# Same, with global SHE keys
106+
- name: Build and test refactor with THREADSAFE and everything and SHE_GLOBAL
107+
run: cd test-refactor/posix && make clean && make -j THREADSAFE=1 DMA=1 SHE_GLOBAL=1 ASAN=1 WOLFSSL_DIR=../../wolfssl && make run
108+
88109
# Build and test in multithreaded mode with everything enabled and wolfCrypt tests
89110
- name: Build and test refactor with THREADSAFE and TESTWOLFCRYPT and everything
90111
run: cd test-refactor/posix && make clean && make -j THREADSAFE=1 TESTWOLFCRYPT=1 DMA=1 SHE=1 ASAN=1 WOLFSSL_DIR=../../wolfssl && make run

.github/workflows/build-and-test.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ jobs:
5353
- name: Build and test DMA ASAN LMS verify-only XMSS full
5454
run: cd test && make clean && make -j DMA=1 ASAN=1 LMS_VERIFY_ONLY=1 WOLFSSL_DIR=../wolfssl && make run
5555

56+
# Build and test with ML-DSA in verify-only mode
57+
- name: Build and test DMA ASAN MLDSA verify-only
58+
run: cd test && make clean && make -j DMA=1 ASAN=1 MLDSA_VERIFY_ONLY=1 WOLFSSL_DIR=../wolfssl && make run
59+
5660
# Build and test ASAN build, with wolfCrypt tests enabled.
5761
- name: Build and test ASAN TESTWOLFCRYPT
5862
run: cd test && make clean && make -j ASAN=1 TESTWOLFCRYPT=1 WOLFSSL_DIR=../wolfssl && make run
@@ -73,6 +77,10 @@ jobs:
7377
- name: Build and test ASAN SHE
7478
run: cd test && make clean && make -j SHE=1 ASAN=1 WOLFSSL_DIR=../wolfssl && make run
7579

80+
# Build and test with global SHE keys (all SHE slots shared across clients)
81+
- name: Build and test ASAN SHE_GLOBAL
82+
run: cd test && make clean && make -j SHE_GLOBAL=1 ASAN=1 WOLFSSL_DIR=../wolfssl && make run
83+
7684
# Build and test with per-client crypto affinity enabled (runs the crypto
7785
# affinity unit test, gated behind WOLFHSM_CFG_CRYPTO_AFFINITY)
7886
- name: Build and test CRYPTO_AFFINITY ASAN
@@ -94,6 +102,10 @@ jobs:
94102
- name: Build and test with THREADSAFE and everything
95103
run: cd test && make clean && make -j THREADSAFE=1 DMA=1 SHE=1 ASAN=1 WOLFSSL_DIR=../wolfssl && make run
96104

105+
# Same, with global SHE keys
106+
- name: Build and test with THREADSAFE and everything and SHE_GLOBAL
107+
run: cd test && make clean && make -j THREADSAFE=1 DMA=1 SHE_GLOBAL=1 ASAN=1 WOLFSSL_DIR=../wolfssl && make run
108+
97109
# Build and test in multithreaded mode with everything enabled and wolfCrypt tests
98110
- name: Build and test with THREADSAFE and TESTWOLFCRYPT and everything
99111
run: cd test && make clean && make -j THREADSAFE=1 TESTWOLFCRYPT=1 DMA=1 SHE=1 ASAN=1 WOLFSSL_DIR=../wolfssl && make run

benchmark/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,5 +192,4 @@ typedef enum BenchModuleIdx {
192192

193193
## Notes
194194

195-
- Ensure the `MAX_BENCH_OPS` value in `wh_bench_ops.h` is large enough to accommodate all benchmark modules
196195
- For throughput calculations, you need to specify the data size using `wh_Bench_SetDataSize()`

0 commit comments

Comments
 (0)