Searched refs:drbgDefault (Results 1 – 2 of 2) sorted by relevance
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/ |
D | CryptRand.c | 579 DRBG_Reseed(&drbgDefault, &tmpBuf, in CryptRandomStir() 581 drbgDefault.reseedCounter = 1; in CryptRandomStir() 597 memset(drbgDefault.seed.bytes, 0, sizeof(drbgDefault.seed.bytes)); in CryptRandomStir() 598 memcpy(drbgDefault.seed.bytes, additionalData, in CryptRandomStir() 599 MIN(additionalDataSize, sizeof(drbgDefault.seed.bytes))); in CryptRandomStir() 601 drbgDefault.reseedCounter = 1; in CryptRandomStir() 615 return DRBG_Generate((RAND_STATE *)&drbgDefault, buffer, randomSize); in CryptRandomGenerate() 730 return DRBG_Instantiate(&drbgDefault, 0, NULL); in CryptRandStartup() 774 state = (RAND_STATE *)&drbgDefault; in DRBG_Generate() 857 if(drbgState == &drbgDefault) in DRBG_Generate()
|
/external/ms-tpm-20-ref/TPMCmd/tpm/include/ |
D | Global.h | 896 # define drbgDefault go.drbgState macro
|