Searched refs:cmacState (Results 1 – 2 of 2) sorted by relevance
97 tpmCmacState_t *cmacState = &state->cmac; in CryptCmacData() local98 TPM_ALG_ID algorithm = cmacState->symAlg; in CryptCmacData()99 BYTE *key = cmacState->symKey.t.buffer; in CryptCmacData()100 UINT16 keySizeInBits = cmacState->keySizeBits; in CryptCmacData()113 if(cmacState->bcount == cmacState->iv.t.size) in CryptCmacData()115 ENCRYPT(&keySchedule, cmacState->iv.t.buffer, cmacState->iv.t.buffer); in CryptCmacData()116 cmacState->bcount = 0; in CryptCmacData()118 for(;(size > 0) && (cmacState->bcount < cmacState->iv.t.size); in CryptCmacData()119 size--, cmacState->bcount++) in CryptCmacData()121 cmacState->iv.t.buffer[cmacState->bcount] ^= *buffer++; in CryptCmacData()
73 UINT32 cmacState = sizeof(tpmCmacState_t); in TpmSizeChecks() local77 NOT_REFERENCED(cmacState); in TpmSizeChecks()