Home
last modified time | relevance | path

Searched refs:DRBG_MAGIC (Results 1 – 2 of 2) sorted by relevance

/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DCryptRand.c415 pAssert(drbgState->magic == DRBG_MAGIC); in DRBG_Update()
460 pAssert((drbgState != NULL) && (drbgState->magic == DRBG_MAGIC)); in DRBG_Reseed()
658 if(drbgState->magic == DRBG_MAGIC) in DRBG_AdditionalData()
692 drbgState->magic = DRBG_MAGIC; in DRBG_InstantiateSeeded()
734 if(go.drbgState.magic == DRBG_MAGIC) in CryptRandStartup()
849 else if(state->drbg.magic == DRBG_MAGIC) in DRBG_Generate()
932 drbgState->magic = DRBG_MAGIC; in DRBG_Instantiate()
952 if((drbgState == NULL) || (drbgState->magic != DRBG_MAGIC)) in DRBG_Uninstantiate()
/external/ms-tpm-20-ref/TPMCmd/tpm/include/
DCryptRand.h145 #define DRBG_MAGIC ((UINT32) 0x47425244) // "DRBG" backwards so that it displays macro