Commit b767d25
crypto: add "none" random provider
In case of not using random-number needing feature, it makes sense to
skip RNG init too. This is especially helpful when QEMU is sandboxed in
Stubdomain under Xen, where there is very little entropy so initial
getrandom() call delays the startup several seconds. In that setup, no
random bytes are needed at all.
Signed-off-by: Marek Marczykowski-Górecki <[email protected]>
Signed-off-by: Daniel P. Berrangé <[email protected]>1 parent 7d3660e commit b767d25
3 files changed
+51
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
509 | 509 | | |
510 | 510 | | |
511 | 511 | | |
| 512 | + | |
512 | 513 | | |
513 | 514 | | |
514 | 515 | | |
| |||
1601 | 1602 | | |
1602 | 1603 | | |
1603 | 1604 | | |
| 1605 | + | |
| 1606 | + | |
| 1607 | + | |
| 1608 | + | |
1604 | 1609 | | |
1605 | 1610 | | |
1606 | 1611 | | |
| |||
1898 | 1903 | | |
1899 | 1904 | | |
1900 | 1905 | | |
| 1906 | + | |
1901 | 1907 | | |
1902 | 1908 | | |
1903 | 1909 | | |
| |||
6767 | 6773 | | |
6768 | 6774 | | |
6769 | 6775 | | |
| 6776 | + | |
6770 | 6777 | | |
6771 | 6778 | | |
6772 | 6779 | | |
| |||
7744 | 7751 | | |
7745 | 7752 | | |
7746 | 7753 | | |
| 7754 | + | |
| 7755 | + | |
| 7756 | + | |
| 7757 | + | |
7747 | 7758 | | |
7748 | 7759 | | |
7749 | 7760 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
| 39 | + | |
39 | 40 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
0 commit comments