Home
last modified time | relevance | path

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

/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DCryptRand.c118 PDF_STATE dfState in DfCompute() argument
128 pIv = (crypt_uword_t *)&dfState->iv[iv].words[0]; in DfCompute()
131 temp[i] ^= pIv[i] ^ dfState->buf.words[i]; in DfCompute()
133 DRBG_ENCRYPT(&dfState->keySchedule, &temp, pIv); in DfCompute()
136 dfState->buf.words[i] = 0; in DfCompute()
137 dfState->contents = 0; in DfCompute()
145 PDF_STATE dfState, in DfStart() argument
161 memset(dfState, 0, sizeof(DF_STATE)); in DfStart()
162 DRBG_ENCRYPT_SETUP(&dfKey[0], DRBG_KEY_SIZE_BITS, &dfState->keySchedule); in DfStart()
165 ((BYTE *)&dfState->iv[i])[3] = (BYTE)i; in DfStart()
[all …]