Home | History | Annotate | Download | only in tpm2

Lines Matching refs:entropy

25 //     This function is called to initialize the random number generator. It collects entropy from the platform to
32 BYTE entropy[MAX_RNG_ENTROPY_SIZE];
34 // Initialize the entropy source
37 // Collect entropy until we have enough
42 returnedSize = _plat__GetEntropy(&entropy[entropySize],
45 // Got some entropy on the last call and did not get an error
48 // Seed OpenSSL with entropy
49 RAND_seed(entropy, entropySize);
84 // This function is called to add external entropy to the OpenSSL() random number generator.
89 BYTE *entropy
94 RAND_add((const void *)entropy, (int) entropySize, 0.0);