Lines Matching refs:lastp
52 uint8_t *lastp; in cbc_encrypt_contiguous_blocks() local
69 lastp = (uint8_t *)ctx->cbc_iv; in cbc_encrypt_contiguous_blocks()
94 xor_block(lastp, blockp); in cbc_encrypt_contiguous_blocks()
98 lastp = blockp; in cbc_encrypt_contiguous_blocks()
111 xor_block(blockp, lastp); in cbc_encrypt_contiguous_blocks()
112 encrypt(ctx->cbc_keysched, lastp, lastp); in cbc_encrypt_contiguous_blocks()
118 copy_block(lastp, out_data_1); in cbc_encrypt_contiguous_blocks()
120 bcopy(lastp, out_data_1, out_data_1_len); in cbc_encrypt_contiguous_blocks()
122 bcopy(lastp + out_data_1_len, in cbc_encrypt_contiguous_blocks()
179 uint8_t *lastp; in cbc_decrypt_contiguous_blocks() local
196 lastp = ctx->cbc_lastp; in cbc_decrypt_contiguous_blocks()
217 copy_block(blockp, (uint8_t *)OTHER((uint64_t *)lastp, ctx)); in cbc_decrypt_contiguous_blocks()
231 xor_block(lastp, blockp); in cbc_decrypt_contiguous_blocks()
234 lastp = (uint8_t *)OTHER((uint64_t *)lastp, ctx); in cbc_decrypt_contiguous_blocks()
269 ctx->cbc_lastp = lastp; in cbc_decrypt_contiguous_blocks()
277 ctx->cbc_lastp = lastp; in cbc_decrypt_contiguous_blocks()