Re: What seeds CeGenRandom?
From: bsqr_TSAT (TSatagaj)
Date: 08/27/04
- Next message: Bruce Eitman \(eMVP\): "Re: CreateFile on a device driver"
- Previous message: sienaman: "CreateFile on a device driver"
- In reply to: George McCollister: "Re: What seeds CeGenRandom?"
- Next in thread: Don Dumitru [MSFT]: "Re: What seeds CeGenRandom?"
- Reply: Don Dumitru [MSFT]: "Re: What seeds CeGenRandom?"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 27 Aug 2004 13:19:07 -0700
Thanks for the post George.
We're trying to generate a random # very early in a very deterministic boot
process. Right now, the cryptography services aren't available.
CeGenRandom seems to work (whereas Random doesn't), but I would like to know
exactly what is being used to generate the number.
"George McCollister" <georgem@novatech-llc.com> wrote in message
news:%23OAkuVFjEHA.3944@tk2msftngp13.phx.gbl...
> bsqr_TSAT wrote:
> > Does anyone know what seeds the CeGenRandom() function?
> >
> >
>
> Do you not have access to CryptGenRandom? CryptGenRandom is FIPS 140-1
> approved (at least in Windows 2000). The Windows 2000 version of the
> function (which hopefully isn't too different from the CE version) seeds
> from 100+ different inputs including: QueryPerformanceCounter, internal
> CPU counters, current time, process information like idle process time,
> io read transfer count, etc....
>
> I would suspect that CeGenRandom uses a similar (but probably much
> smaller) list of inputs. Its probably suitable for nearly everything
> except encryption purposes.
>
> Regards,
> George McCollister
> NovaTech LLC
- Next message: Bruce Eitman \(eMVP\): "Re: CreateFile on a device driver"
- Previous message: sienaman: "CreateFile on a device driver"
- In reply to: George McCollister: "Re: What seeds CeGenRandom?"
- Next in thread: Don Dumitru [MSFT]: "Re: What seeds CeGenRandom?"
- Reply: Don Dumitru [MSFT]: "Re: What seeds CeGenRandom?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|