Lines Matching refs:blockp

51 	uint8_t *blockp;  in cbc_encrypt_contiguous_blocks()  local
84 blockp = (uint8_t *)ctx->cbc_remainder; in cbc_encrypt_contiguous_blocks()
86 blockp = datap; in cbc_encrypt_contiguous_blocks()
94 xor_block(lastp, blockp); in cbc_encrypt_contiguous_blocks()
95 encrypt(ctx->cbc_keysched, blockp, blockp); in cbc_encrypt_contiguous_blocks()
97 ctx->cbc_lastp = blockp; in cbc_encrypt_contiguous_blocks()
98 lastp = blockp; in cbc_encrypt_contiguous_blocks()
101 bcopy(blockp, ctx->cbc_copy_to, in cbc_encrypt_contiguous_blocks()
103 bcopy(blockp + ctx->cbc_remainder_len, datap, in cbc_encrypt_contiguous_blocks()
111 xor_block(blockp, lastp); in cbc_encrypt_contiguous_blocks()
178 uint8_t *blockp; in cbc_decrypt_contiguous_blocks() local
211 blockp = (uint8_t *)ctx->cbc_remainder; in cbc_decrypt_contiguous_blocks()
213 blockp = datap; in cbc_decrypt_contiguous_blocks()
217 copy_block(blockp, (uint8_t *)OTHER((uint64_t *)lastp, ctx)); in cbc_decrypt_contiguous_blocks()
220 decrypt(ctx->cbc_keysched, blockp, in cbc_decrypt_contiguous_blocks()
222 blockp = (uint8_t *)ctx->cbc_remainder; in cbc_decrypt_contiguous_blocks()
224 decrypt(ctx->cbc_keysched, blockp, blockp); in cbc_decrypt_contiguous_blocks()
231 xor_block(lastp, blockp); in cbc_decrypt_contiguous_blocks()
240 bcopy(blockp, out_data_1, out_data_1_len); in cbc_decrypt_contiguous_blocks()
242 bcopy(blockp + out_data_1_len, out_data_2, in cbc_decrypt_contiguous_blocks()
251 bcopy(blockp, ctx->cbc_copy_to, ctx->cbc_remainder_len); in cbc_decrypt_contiguous_blocks()
252 bcopy(blockp + ctx->cbc_remainder_len, datap, need); in cbc_decrypt_contiguous_blocks()