HomeSort by: relevance | last modified time | path
    Searched refs:RtlGenRandom (Results 1 - 2 of 2) sorted by relevancy

  /src/sys/external/isc/libsodium/dist/src/libsodium/randombytes/sysrandom/
randombytes_sysrandom.c 34 /* `RtlGenRandom` is used over `CryptGenRandom` on Microsoft Windows based systems:
37 * - `RtlGenRandom` is thus called directly instead. A detailed explanation
40 * In spite of the disclaimer on the `RtlGenRandom` documentation page that was
50 # define RtlGenRandom SystemFunction036
54 BOOLEAN NTAPI RtlGenRandom(PVOID RandomBuffer, ULONG RandomBufferLength);
351 if (! RtlGenRandom((PVOID) buf, (ULONG) size)) {
  /src/sys/external/isc/libsodium/dist/src/libsodium/randombytes/salsa20/
randombytes_salsa20_random.c 44 # define RtlGenRandom SystemFunction036
48 BOOLEAN NTAPI RtlGenRandom(PVOID RandomBuffer, ULONG RandomBufferLength);
368 if (! RtlGenRandom((PVOID) m0, (ULONG) sizeof m0)) {

Completed in 31 milliseconds