Files
rust/library/std/src
Dylan DPC c42df986da Rollup merge of #101325 - ChrisDenton:BCRYPT_RNG_ALG_HANDLE, r=thomcc
Windows RNG: Use `BCRYPT_RNG_ALG_HANDLE` by default

This only changes a small amount of actual code, the rest is documentation outlining the history of this module as I feel it will be relevant to any future issues that might crop up.

The code change is to use the `BCRYPT_RNG_ALG_HANDLE` [pseudo-handle](https://docs.microsoft.com/en-us/windows/win32/seccng/cng-algorithm-pseudo-handles) by default, which simply uses the default RNG. Previously we used `BCRYPT_USE_SYSTEM_PREFERRED_RNG` which has to load the system configuration and then find and load that RNG. I suspect this was the cause of failures on some systems (e.g. due to corrupted config). However, this is admittedly speculation as I can't reproduce the issue myself (and it does seem quite rare even in the wild). Still, removing a possible point of failure is likely worthwhile in any case.

r? libs
2022-09-03 10:33:06 +05:30
..
2022-08-22 13:28:25 -07:00
2022-08-01 20:10:40 +00:00
2022-07-18 15:06:07 +01:00
2022-08-18 18:07:39 -04:00
2022-05-27 07:36:17 -04:00
2022-08-18 18:07:39 -04:00
2022-06-26 16:31:29 +02:00
2022-05-24 19:41:40 -07:00
2022-08-25 07:42:07 +01:00
2022-08-31 18:24:55 +08:00