Commit 858c6c9
committed
SecurityReview FND 40.2 + 36.1 + 6.4 + 10.1 + 15.1 + 26.7 + 11.3 + 43.2 + 20.1: integrity, PCT, zeroize, CMAC/SHAKE/AES-KW CASTs, DH PCT + configurable DRBG_SHA512_SEED_LEN, ML-DSA sign privateKeyReadEnable parity, FIPS CAST benchmark deliverable, RSA 1024 removed from FIPS RsaSizeCheck
20.1 (Medium): RsaSizeCheck FIPS branch in wolfcrypt/src/rsa.c no longer
accepts 1024-bit RSA. FIPS 186-5 sec 5.1 lists only 2048/3072/4096 as
Approved. NIST SP 800-131Ar2 sec 4 Table 2 disallowed 1024-bit RSA
keygen effective 2014-01-01. Outer wc_MakeRsaKey_fips wrapper already
gated on WC_RSA_FIPS_GEN_MIN, but RsaSizeCheck itself was reachable by
library-internal paths that bypass the wrapper - removing the case
closes the defense-in-depth gap.1 parent d00a137 commit 858c6c9
12 files changed
Lines changed: 525 additions & 15 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