Commit 6c583bb
committed
Support SecureRandom strong algorithms in FIPS mode
This change overrides the default jdk.security.strongAlgorithms configuration used by SecureRandom.getInstanceStrong() when it runs in FIPS mode.
A FIPS-compliant SecureRandom strong algorithm is configured so that SecureRandom.getInstanceStrong() works properly in FIPS mode, and the test java/security/SecureRandom/TestStrong.java passes successfully when FIPS mode is enabled.
Signed-off-by: Mohit Rajbhar <mohit.rajbhar@ibm.com>1 parent 4547500 commit 6c583bb
File tree
2 files changed
+11
-1
lines changed2 files changed
+11
-1
lines changedLines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
589 | 589 | | |
590 | 590 | | |
591 | 591 | | |
| 592 | + | |
592 | 593 | | |
593 | 594 | | |
594 | 595 | | |
| |||
783 | 784 | | |
784 | 785 | | |
785 | 786 | | |
| 787 | + | |
786 | 788 | | |
787 | 789 | | |
788 | 790 | | |
| |||
817 | 819 | | |
818 | 820 | | |
819 | 821 | | |
| 822 | + | |
820 | 823 | | |
821 | 824 | | |
822 | 825 | | |
| |||
1514 | 1517 | | |
1515 | 1518 | | |
1516 | 1519 | | |
| 1520 | + | |
| 1521 | + | |
| 1522 | + | |
1517 | 1523 | | |
1518 | 1524 | | |
1519 | 1525 | | |
| |||
1567 | 1573 | | |
1568 | 1574 | | |
1569 | 1575 | | |
| 1576 | + | |
| 1577 | + | |
1570 | 1578 | | |
1571 | 1579 | | |
1572 | 1580 | | |
| |||
1912 | 1920 | | |
1913 | 1921 | | |
1914 | 1922 | | |
| 1923 | + | |
1915 | 1924 | | |
1916 | 1925 | | |
1917 | 1926 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
215 | | - | |
| 215 | + | |
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
| |||
352 | 352 | | |
353 | 353 | | |
354 | 354 | | |
| 355 | + | |
355 | 356 | | |
356 | 357 | | |
357 | 358 | | |
| |||
0 commit comments