> Well, the heap will simply not be traversed and therefore not be used
> to add entropy.  However, there's the rest...  So yeah, it means less
> entropy, but at that point what can you do?  Or is there another to
> traverse the heap (or parts of it) on NT?

There is no method on NT to support the Heap walking functions, and
functions such as GetCursorInfo() were only added at SP4 or SP5.

But once again Peter Gutmann tells us what to do.  On NT he suggests
using the NetAPI32 library.

  LPBYTE outbuf;
  if (NetStatisticsGet( NULL, SERVICE_WORKSTATION, 0, 0, &outbuf) == 0) {
      RAND_add( outbuf, sizeof(STAT_WORKSTATION_0), 0);
      NetApiBufferFree(outbuf);
  }
  if (NetStatisticsGet( NULL, SERVICE_SERVER, 0, 0, &outbuf) == 0) {
    RAND_add( outbuf, sizeof(STAT_SERVER_0), 0);
    NetApiBufferFree(outbuf);
  }

and reading system performance statistics from the registry.

  ReqQueryValueEx( HKEY_PERFORMANCE_DATA, "Global", NULL, NULL,
      buffer, &length);
  RAND_add( buffer, length, 0);






                  Jeffrey Altman * Sr.Software Designer
                 The Kermit Project * Columbia University
               612 West 115th St * New York, NY * 10025 * USA
     http://www.kermit-project.org/ * [EMAIL PROTECTED]


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to