Skip to content
Discussion options

You must be logged in to vote

I had a chat with a compatriot on the OS crypto team.

  • Right now, our (internal) company guidance is to use BCRYPT_USE_SYSTEM_PREFERRED_RNG, but they say that's probably just that no one remembered to update it, so they're looking to get it changed.
  • BCRYPT_USE_SYSTEM_PREFERRED_RNG requires hitting the registry, so using the pseudo-handle is better.
    • Previously we needed the code to work on Windows 7, so this wasn't really available to us.
  • ProcessPrng is OK (from their perspective), but that it should go through the API-set DLL, not directly to BCryptPrimitives. I don't see the API-set DLL (theoretically ext-ms-win-cng-rng-l1) on my computer, so it's probably one of those "if you referen…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@aloraman
Comment options

Answer selected by aloraman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants