Lines Matching refs:bcopy
152 bcopy(datap, in gcm_mode_encrypt_contiguous_blocks()
172 bcopy(datap, &((uint8_t *)ctx->gcm_remainder) in gcm_mode_encrypt_contiguous_blocks()
199 bcopy(blockp, ctx->gcm_copy_to, in gcm_mode_encrypt_contiguous_blocks()
201 bcopy(blockp + ctx->gcm_remainder_len, datap, in gcm_mode_encrypt_contiguous_blocks()
212 bcopy(lastp, out_data_1, out_data_1_len); in gcm_mode_encrypt_contiguous_blocks()
214 bcopy(lastp + out_data_1_len, in gcm_mode_encrypt_contiguous_blocks()
238 bcopy(datap, ctx->gcm_remainder, remainder); in gcm_mode_encrypt_contiguous_blocks()
354 bcopy(datap, (uint8_t *)ctx->gcm_tmp, ctx->gcm_remainder_len); in gcm_decrypt_incomplete_block()
387 bcopy(ctx->gcm_pt_buf, new, ctx->gcm_pt_buf_len); in gcm_mode_decrypt_contiguous_blocks()
391 bcopy(ctx->gcm_pt_buf, new, ctx->gcm_pt_buf_len); in gcm_mode_decrypt_contiguous_blocks()
399 bcopy(data, &ctx->gcm_pt_buf[ctx->gcm_processed_data_len], in gcm_mode_decrypt_contiguous_blocks()
431 bcopy(blockp, ctx->gcm_remainder, remainder); in gcm_decrypt_final()
527 bcopy(iv, cb, 12); in gcm_format_initial_blocks()
539 bcopy(&(iv[processed]), cb, remainder); in gcm_format_initial_blocks()
595 bcopy(&(auth_data[processed]), authp, remainder); in gcm_init()