Lines Matching refs:cbc_lastp
104 ctx->cbc_lastp = blockp; in cbc_encrypt_contiguous_blocks()
173 if (ctx->cbc_lastp != NULL) { in cbc_encrypt_contiguous_blocks()
174 copy_block((uint8_t *)ctx->cbc_lastp, (uint8_t *)ctx->cbc_iv); in cbc_encrypt_contiguous_blocks()
175 ctx->cbc_lastp = (uint8_t *)ctx->cbc_iv; in cbc_encrypt_contiguous_blocks()
213 lastp = ctx->cbc_lastp; in cbc_decrypt_contiguous_blocks()
286 ctx->cbc_lastp = lastp; in cbc_decrypt_contiguous_blocks()
294 ctx->cbc_lastp = lastp; in cbc_decrypt_contiguous_blocks()
317 cbc_ctx->cbc_lastp = (uint8_t *)&cbc_ctx->cbc_iv[0]; in cbc_init_ctx()
389 cbc_ctx->cbc_lastp = (uint8_t *)&cbc_ctx->cbc_iv[0]; in cmac_init_ctx()
449 xor_block(cbc_ctx->cbc_lastp, M_last); in cmac_mode_final()
459 xor_block(cbc_ctx->cbc_lastp, M_last); in cmac_mode_final()