Home
last modified time | relevance | path

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

/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DCryptRand.c187 int toFill = DRBG_IV_SIZE_BYTES - dfState->contents; in DfUpdate()
198 pAssert(dfState->contents <= DRBG_IV_SIZE_BYTES); in DfUpdate()
200 if(dfState->contents == DRBG_IV_SIZE_BYTES) in DfUpdate()
219 while(dfState->contents < DRBG_IV_SIZE_BYTES) in DfEnd()
311 BYTE *ivP = ((BYTE *)iv) + DRBG_IV_SIZE_BYTES; in IncrementIv()
334 UINT32 temp[DRBG_IV_SIZE_BYTES / sizeof(UINT32)]; in EncryptDRBG()
361 i = MIN(dOutBytes, DRBG_IV_SIZE_BYTES); in EncryptDRBG()
368 for(; dOutBytes >= DRBG_IV_SIZE_BYTES; in EncryptDRBG()
369 dOut = &dOut[DRBG_IV_SIZE_BYTES], dOutBytes -= DRBG_IV_SIZE_BYTES) in EncryptDRBG()
379 BYTE temp[DRBG_IV_SIZE_BYTES]; in EncryptDRBG()
[all …]
/external/ms-tpm-20-ref/TPMCmd/tpm/include/
DCryptRand.h86 #define DRBG_IV_SIZE_BYTES (DRBG_IV_SIZE_WORDS * RADIX_BYTES) macro
89 #define DRBG_SEED_SIZE_BYTES (DRBG_KEY_SIZE_BYTES + DRBG_IV_SIZE_BYTES)
100 BYTE bytes[DRBG_IV_SIZE_BYTES];