Lines Matching refs:lastp
59 uint8_t *lastp; in cbc_encrypt_contiguous_blocks() local
76 lastp = (uint8_t *)ctx->cbc_iv; in cbc_encrypt_contiguous_blocks()
101 xor_block(lastp, blockp); in cbc_encrypt_contiguous_blocks()
105 lastp = blockp; in cbc_encrypt_contiguous_blocks()
119 xor_block(blockp, lastp); in cbc_encrypt_contiguous_blocks()
120 encrypt(ctx->cbc_keysched, lastp, lastp); in cbc_encrypt_contiguous_blocks()
132 copy_block(lastp, out_data_1); in cbc_encrypt_contiguous_blocks()
134 bcopy(lastp, out_data_1, in cbc_encrypt_contiguous_blocks()
137 bcopy(lastp + out_data_1_len, in cbc_encrypt_contiguous_blocks()
196 uint8_t *lastp; in cbc_decrypt_contiguous_blocks() local
213 lastp = ctx->cbc_lastp; in cbc_decrypt_contiguous_blocks()
234 copy_block(blockp, (uint8_t *)OTHER((uint64_t *)lastp, ctx)); in cbc_decrypt_contiguous_blocks()
248 xor_block(lastp, blockp); in cbc_decrypt_contiguous_blocks()
251 lastp = (uint8_t *)OTHER((uint64_t *)lastp, ctx); 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()