Commit f1d3f27
committed
SecurityReview FND 40.2 + 36.1 + 6.4 + 10.1 + 15.1 + 26.7 + 11.3 + 43.2: integrity, PCT, zeroize, CMAC/SHAKE/AES-KW CASTs, DH PCT + configurable DRBG_SHA512_SEED_LEN, ML-DSA sign privateKeyReadEnable parity, FIPS CAST benchmark deliverable
fips_cast_bench.c now registers the default DRBG seed callback via
wc_SetSeed_Cb(WC_GENERATE_SEED_DEFAULT) under #ifdef WC_RNG_SEED_CB,
mirroring the pattern in benchmark.c and wolfcrypt/test/test.c. Without
it, wc_InitRng() called from inside the FIPS_CAST_ECC_PRIMITIVE_Z and
FIPS_CAST_ECDSA KATs returned -199 (RNG_FAILURE_E) and those CASTs
cascade-failed - this was the previously-flagged "wc_RunCast_fips chain
bug" tracked in the project memory file; with the seed-callback
registration the benchmark now reports clean for all 29 CASTs across both
default --enable-fips=v7 and CI-representative --enable-fips=ready
configurations.1 parent d00a137 commit f1d3f27
11 files changed
Lines changed: 517 additions & 13 deletions
File tree
- tests/api
- wolfcrypt
- benchmark
- src
- wolfssl/wolfcrypt
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
17 | 21 | | |
18 | 22 | | |
19 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
752 | 752 | | |
753 | 753 | | |
754 | 754 | | |
755 | | - | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
756 | 766 | | |
757 | 767 | | |
| 768 | + | |
758 | 769 | | |
759 | 770 | | |
760 | 771 | | |
| |||
1236 | 1247 | | |
1237 | 1248 | | |
1238 | 1249 | | |
| 1250 | + | |
| 1251 | + | |
| 1252 | + | |
| 1253 | + | |
| 1254 | + | |
| 1255 | + | |
1239 | 1256 | | |
1240 | 1257 | | |
1241 | 1258 | | |
| |||
1300 | 1317 | | |
1301 | 1318 | | |
1302 | 1319 | | |
| 1320 | + | |
| 1321 | + | |
1303 | 1322 | | |
1304 | 1323 | | |
1305 | 1324 | | |
| |||
0 commit comments