Searched refs:cState (Results 1 – 1 of 1) sorted by relevance
63 tpmCmacState_t *cState = &state->state.cmac; in CryptCmacStart() local69 cState->symAlg = def->algorithm; in CryptCmacStart()70 cState->keySizeBits = def->keyBits.sym; in CryptCmacStart()71 cState->iv.t.size = CryptGetSymmetricBlockSize(def->algorithm, in CryptCmacStart()73 MemoryCopy2B(&cState->symKey.b, key, sizeof(cState->symKey.t.buffer)); in CryptCmacStart()78 return cState->iv.t.size; in CryptCmacStart()136 tpmCmacState_t *cState = &state->cmac; in CryptCmacEnd() local139 TPM_ALG_ID algorithm = cState->symAlg; in CryptCmacEnd()140 BYTE *key = cState->symKey.t.buffer; in CryptCmacEnd()141 UINT16 keySizeInBits = cState->keySizeBits; in CryptCmacEnd()[all …]