Lines Matching defs:abStateX
33 /** The offset of the buffer into RTMD2ALTPRIVATECTX::abStateX. */
49 uint8_t abStateX[RTMD2_BLOCK_SIZE * 3];
93 RT_ZERO(pCtx->AltPrivate.abStateX);
103 * This will update the checksum as well as initializing abStateX.
114 pCtx->AltPrivate.abStateX[j + RTMD2_BLOCK_SIZE] = bIn;
115 pCtx->AltPrivate.abStateX[j + RTMD2_BLOCK_SIZE * 2] = bIn ^ pCtx->AltPrivate.abStateX[j];
134 pCtx->AltPrivate.abStateX[j + RTMD2_BLOCK_SIZE] = bIn;
135 pCtx->AltPrivate.abStateX[j + RTMD2_BLOCK_SIZE * 2] = bIn ^ pCtx->AltPrivate.abStateX[j];
141 * Initalizes the abStateX from a full buffer and update the checksum.
143 * The buffer is part of the abStateX structure (bytes 16 thru 31), so this
153 uint8_t bIn = pCtx->AltPrivate.abStateX[j + RTMD2_BLOCK_SIZE];
154 pCtx->AltPrivate.abStateX[j + RTMD2_BLOCK_SIZE * 2] = bIn ^ pCtx->AltPrivate.abStateX[j];
173 pCtx->AltPrivate.abStateX[k] = bT = pCtx->AltPrivate.abStateX[k] ^ g_PiSubst[bT];
192 memcpy(&pCtx->AltPrivate.abStateX[RTMD2_BUF_OFF + pCtx->AltPrivate.cbBuffer], pbBuf, cbMissing);
203 memcpy(&pCtx->AltPrivate.abStateX[RTMD2_BUF_OFF + pCtx->AltPrivate.cbBuffer], pbBuf, cbBuf);
226 memcpy(&pCtx->AltPrivate.abStateX[RTMD2_BUF_OFF], pbBuf, cbBuf);
242 memset(&pCtx->AltPrivate.abStateX[RTMD2_BUF_OFF + pCtx->AltPrivate.cbBuffer], cbPad, cbPad);
256 memcpy(pabDigest, pCtx->AltPrivate.abStateX, RTMD2_HASH_SIZE);