14 #define P6ENTROPY_H__ 1
104 #define IF_p6IEntropySource {0xef8e24a5,0x62e2,0x4b79,{0xb8,0xd5,0x1d,0x60,0x84,0xdb,0x69,0x9d}}
107 #define COMP_p6EntropySource {0x565BCB1A,0x8FF8,0x422C,{0xA1,0xCE,0xEC,0xA0,0xA1,0x3B,0xD7,0x90}}
P6UINT32 P6ENTROPYFLAGS
P6ENTROPYFLAGS.
virtual P6R::P6ERR fillBuffer(P6CHAR *pEntropy, P6UINT32 &bufSize)=0
This method fills the provided buffer with the entropy source to be used directly to seed a random nu...
The base interface all [p6]COM components must derive from and implement.
const P6ENTROPYFLAGS P6ENTROPY_HIGH
const P6ENTROPYFLAGS P6ENTROPY_NOFLAGS
const P6ENTROPYFLAGS P6ENTROPY_QUALITYMASK
const P6ENTROPYFLAGS P6ENTROPY_LOW
This is a plugin interface for the customer of the ICrypto interface to enhance the built in entropy ...
virtual P6R::P6ERR initialize(P6ENTROPYFLAGS flags)=0
This method initializes the entropy source for use and must be called before any other method...
P6COM definitions and interfaces.
virtual P6R::P6ERR getQuality(P6ENTROPYFLAGS *pQuality)=0
Returns the quality of the entropy provided by the source accoring to the initialization flags used w...
char P6CHAR
Narrow character type.