| /f-stack/freebsd/contrib/openzfs/module/icp/algs/skein/ |
| H A D | skein.c | 226 bcopy(ctx->X, X, sizeof (X)); in Skein_256_Final() 243 bcopy(X, ctx->X, sizeof (X)); in Skein_256_Final() 462 bcopy(ctx->X, X, sizeof (X)); in Skein_512_Final() 479 bcopy(X, ctx->X, sizeof (X)); in Skein_512_Final() 695 bcopy(ctx->X, X, sizeof (X)); in Skein1024_Final() 712 bcopy(X, ctx->X, sizeof (X)); in Skein1024_Final() 803 bcopy(ctx->X, X, sizeof (X)); in Skein_256_Output() 820 bcopy(X, ctx->X, sizeof (X)); in Skein_256_Output() 843 bcopy(ctx->X, X, sizeof (X)); in Skein_512_Output() 860 bcopy(X, ctx->X, sizeof (X)); in Skein_512_Output() [all …]
|
| /f-stack/freebsd/contrib/openzfs/module/icp/algs/modes/ |
| H A D | ccm.c | 62 bcopy(datap, in ccm_mode_encrypt_contiguous_blocks() 137 bcopy(lastp + out_data_1_len, in ccm_mode_encrypt_contiguous_blocks() 284 bcopy(ccm_mac_p, out_data_2, in ccm_encrypt_final() 294 bcopy(ccm_mac_p, in ccm_encrypt_final() 297 bcopy(ccm_mac_p + len_not_used, in ccm_encrypt_final() 376 bcopy(datap, tmp + pm_len, length); in ccm_mode_decrypt_contiguous_blocks() 429 bcopy(datap, in ccm_mode_decrypt_contiguous_blocks() 546 bcopy(pt, macp, mac_remain); in ccm_decrypt_final() 658 bcopy(nonce, &(b0[1]), nonceSize); in ccm_format_initial_blocks() 677 bcopy(nonce, &(cb[1]), nonceSize); in ccm_format_initial_blocks() [all …]
|
| H A D | cbc.c | 54 bcopy(datap, in cbc_encrypt_contiguous_blocks() 73 bcopy(datap, &((uint8_t *)ctx->cbc_remainder) in cbc_encrypt_contiguous_blocks() 94 bcopy(lastp, out_data_1, out_data_1_len); in cbc_encrypt_contiguous_blocks() 96 bcopy(lastp + out_data_1_len, in cbc_encrypt_contiguous_blocks() 116 bcopy(datap, ctx->cbc_remainder, remainder); in cbc_encrypt_contiguous_blocks() 161 bcopy(datap, in cbc_decrypt_contiguous_blocks() 180 bcopy(datap, &((uint8_t *)ctx->cbc_remainder) in cbc_decrypt_contiguous_blocks() 207 bcopy(blockp, out_data_1, out_data_1_len); in cbc_decrypt_contiguous_blocks() 209 bcopy(blockp + out_data_1_len, out_data_2, in cbc_decrypt_contiguous_blocks() 228 bcopy(datap, ctx->cbc_remainder, remainder); in cbc_decrypt_contiguous_blocks()
|
| H A D | ecb.c | 52 bcopy(datap, in ecb_cipher_contiguous_blocks() 71 bcopy(datap, &((uint8_t *)ctx->ecb_remainder) in ecb_cipher_contiguous_blocks() 84 bcopy(lastp, out_data_1, out_data_1_len); in ecb_cipher_contiguous_blocks() 86 bcopy(lastp + out_data_1_len, out_data_2, in ecb_cipher_contiguous_blocks() 104 bcopy(datap, ctx->ecb_remainder, remainder); in ecb_cipher_contiguous_blocks()
|
| H A D | ctr.c | 55 bcopy(datap, in ctr_mode_contiguous_blocks() 74 bcopy(datap, &((uint8_t *)ctx->ctr_remainder) in ctr_mode_contiguous_blocks() 117 bcopy(lastp, out_data_1, out_data_1_len); in ctr_mode_contiguous_blocks() 119 bcopy(lastp + out_data_1_len, out_data_2, in ctr_mode_contiguous_blocks() 137 bcopy(datap, ctx->ctr_remainder, remainder); in ctr_mode_contiguous_blocks() 179 bcopy(p, out_data_1, out_data_1_len); in ctr_mode_final() 181 bcopy((uint8_t *)p + out_data_1_len, in ctr_mode_final()
|
| /f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | zio_crypt.c | 540 bcopy(src, dst, keydata_len); in zio_crypt_key_unwrap() 544 bcopy(src, dst, SHA512_HMAC_KEYLEN); in zio_crypt_key_unwrap() 694 bcopy(iv, &val64, sizeof (uint64_t)); in zio_crypt_encode_params_bp() 728 bcopy(&val64, iv, sizeof (uint64_t)); in zio_crypt_decode_params_bp() 958 bcopy(&bab, *aadp, bab_len); in zio_crypt_bp_do_aad_updates() 1276 bcopy(src, dst, datalen); in zio_crypt_init_uios_zil() 1341 bcopy(slrp, dlrp, sizeof (lr_t)); in zio_crypt_init_uios_zil() 1342 bcopy(slrp, aadp, sizeof (lr_t)); in zio_crypt_init_uios_zil() 1431 bcopy(src, dst, datalen); in zio_crypt_init_uios_dnode() 1492 bcopy(dnp, aadp, crypt_len); in zio_crypt_init_uios_dnode() [all …]
|
| /f-stack/freebsd/crypto/aesni/ |
| H A D | aesni_ccm.c | 109 bcopy(nonce, byte_ptr + 1, nonce_len); in cbc_mac_start() 161 bcopy(auth_ptr, &byte_ptr[auth_amt], copy_amt); in cbc_mac_start() 171 bcopy(auth_ptr, &staging_block, copy_amt); in cbc_mac_start() 244 bcopy(nonce, &byte_ptr[1], nlen); in AES_CCM_encrypt() 249 bcopy(&s0, &s_x, sizeof(s0)); in AES_CCM_encrypt() 257 bcopy(in+total, &staging_block, copy_amt); in AES_CCM_encrypt() 272 bcopy(&staging_block, out+total, copy_amt); in AES_CCM_encrypt() 280 bcopy(&staging_block, tag, tag_length); in AES_CCM_encrypt() 332 bcopy(in+total, &staging_block, copy_amt); in decrypt_loop() 356 bcopy(&staging_block, out+total, copy_amt); in decrypt_loop() [all …]
|
| /f-stack/freebsd/contrib/openzfs/module/os/linux/zfs/ |
| H A D | zio_crypt.c | 757 bcopy(salt, &val64, sizeof (uint64_t)); in zio_crypt_encode_params_bp() 760 bcopy(iv, &val64, sizeof (uint64_t)); in zio_crypt_encode_params_bp() 791 bcopy(&val64, salt, sizeof (uint64_t)); in zio_crypt_decode_params_bp() 794 bcopy(&val64, iv, sizeof (uint64_t)); in zio_crypt_decode_params_bp() 814 bcopy(mac, &val64, sizeof (uint64_t)); in zio_crypt_encode_mac_bp() 841 bcopy(&val64, mac, sizeof (uint64_t)); in zio_crypt_decode_mac_bp() 1038 bcopy(&bab, *aadp, bab_len); in zio_crypt_bp_do_aad_updates() 1465 bcopy(src, dst, sizeof (zil_chain_t)); in zio_crypt_init_uios_zil() 1487 bcopy(slrp, dlrp, sizeof (lr_t)); in zio_crypt_init_uios_zil() 1488 bcopy(slrp, aadp, sizeof (lr_t)); in zio_crypt_init_uios_zil() [all …]
|
| /f-stack/freebsd/contrib/openzfs/lib/libspl/include/sys/ |
| H A D | vtoc.h | 151 bcopy(extv.v_volume, v.v_volume, LEN_DKL_VVOL); \ 163 bcopy(extv.v_asciilabel, v.v_asciilabel, LEN_DKL_ASCII); \ 174 bcopy(v.v_volume, extv.v_volume, LEN_DKL_VVOL); \ 188 bcopy(v.v_asciilabel, extv.v_asciilabel, LEN_DKL_ASCII); \ 221 bcopy(v32.v_volume, v.v_volume, LEN_DKL_VVOL); \ 235 bcopy(v32.v_asciilabel, v.v_asciilabel, LEN_DKL_ASCII); \ 246 bcopy(v32.v_volume, extv.v_volume, LEN_DKL_VVOL); \ 259 bcopy(v32.v_asciilabel, extv.v_asciilabel, LEN_DKL_ASCII); \ 271 bcopy(v.v_volume, v32.v_volume, LEN_DKL_VVOL); \ 289 bcopy(v.v_asciilabel, v32.v_asciilabel, LEN_DKL_ASCII); \ [all …]
|
| /f-stack/freebsd/netinet6/ |
| H A D | in6_jail.c | 111 bcopy(ppr->pr_ip6, newip6, in prison_restrict_ip6() 121 bcopy(ppr->pr_ip6, pr->pr_ip6, in prison_restrict_ip6() 136 bcopy(pr->pr_ip6 + 1, pr->pr_ip6, in prison_restrict_ip6() 149 bcopy(pr->pr_ip6 + ii + 1, pr->pr_ip6 + ii, in prison_restrict_ip6() 198 bcopy(&pr->pr_ip6[0], ia6, sizeof(struct in6_addr)); in prison_get_ip6() 234 bcopy(&lia6, ia6, sizeof(struct in6_addr)); in prison_saddrsel_ip6() 301 bcopy(&pr->pr_ip6[0], ia6, sizeof(struct in6_addr)); in prison_local_ip6() 308 bcopy(&pr->pr_ip6[0], ia6, sizeof(struct in6_addr)); in prison_local_ip6() 344 bcopy(&pr->pr_ip6[0], ia6, sizeof(struct in6_addr)); in prison_remote_ip6()
|
| H A D | in6_ifattach.c | 143 bcopy(digest, &in6->s6_addr[8], 8); in get_rand_ifid() 169 bcopy(&val32, seed + sizeof(val32) * i, sizeof(val32)); in generate_tmp_ifid() 172 bcopy(seed0, seed, 8); in generate_tmp_ifid() 176 bcopy(seed1, &seed[8], 8); in generate_tmp_ifid() 198 bcopy(digest, ret, 8); in generate_tmp_ifid() 220 bcopy(&digest[8], seed0, 8); in generate_tmp_ifid() 299 bcopy(addr, &in6->s6_addr[8], 8); in in6_get_hw_ifid() 325 bcopy(addr + 12, &in6->s6_addr[8], 8); in in6_get_hw_ifid() 640 bcopy(digest, &in6->s6_addr8[13], 3); in in6_nigroup0() 818 bcopy(baseid, ndi->randomseed1, sizeof(ndi->randomseed1)); in in6_get_tmpifid() [all …]
|
| H A D | in6_rss.c | 76 bcopy(src, &data[datalen], sizeof(*src)); in rss_hash_ip6_2tuple() 78 bcopy(dst, &data[datalen], sizeof(*dst)); in rss_hash_ip6_2tuple() 95 bcopy(src, &data[datalen], sizeof(*src)); in rss_hash_ip6_4tuple() 97 bcopy(dst, &data[datalen], sizeof(*dst)); in rss_hash_ip6_4tuple() 99 bcopy(&srcport, &data[datalen], sizeof(srcport)); in rss_hash_ip6_4tuple() 101 bcopy(&dstport, &data[datalen], sizeof(dstport)); in rss_hash_ip6_4tuple()
|
| /f-stack/freebsd/vm/ |
| H A D | redzone.c | 78 bcopy(naddr - REDZONE_CHSIZE - sizeof(u_long), &nsize, sizeof(nsize)); in redzone_get_size() 112 bcopy(&st, haddr, sizeof(st)); in redzone_setup() 114 bcopy(&nsize, haddr, sizeof(nsize)); in redzone_setup() 139 bcopy(haddr, &ast, sizeof(ast)); in redzone_check() 141 bcopy(haddr, &nsize, sizeof(nsize)); in redzone_check()
|
| /f-stack/freebsd/opencrypto/ |
| H A D | cbc_mac.c | 119 bcopy(nonce, b0 + 1, nonceLen); in AES_CBC_MAC_Reinit() 134 bcopy(&sizeVal, ctx->staging_block, sizeof(sizeVal)); in AES_CBC_MAC_Reinit() 140 bcopy(&sizeVal, ctx->staging_block+2, sizeof(sizeVal)); in AES_CBC_MAC_Reinit() 146 bcopy(&sizeVal, ctx->staging_block+2, sizeof(sizeVal)); in AES_CBC_MAC_Reinit() 193 bcopy(ptr, ctx->staging_block + ctx->blockIndex, in AES_CBC_MAC_Update() 239 bcopy(data, ptr, copy_amt); in AES_CBC_MAC_Update() 274 bcopy(ctx->nonce, s0 + 1, ctx->nonceLength); in AES_CBC_MAC_Final()
|
| /f-stack/freebsd/netinet/ |
| H A D | in_rss.c | 75 bcopy(&src, &data[datalen], sizeof(src)); in rss_hash_ip4_2tuple() 77 bcopy(&dst, &data[datalen], sizeof(dst)); in rss_hash_ip4_2tuple() 94 bcopy(&src, &data[datalen], sizeof(src)); in rss_hash_ip4_4tuple() 96 bcopy(&dst, &data[datalen], sizeof(dst)); in rss_hash_ip4_4tuple() 98 bcopy(&srcport, &data[datalen], sizeof(srcport)); in rss_hash_ip4_4tuple() 100 bcopy(&dstport, &data[datalen], sizeof(dstport)); in rss_hash_ip4_4tuple()
|
| /f-stack/freebsd/netgraph/ |
| H A D | ng_ether_echo.c | 125 bcopy(eh->ether_dhost, &tmpaddr, ETHER_ADDR_LEN); in ngee_rcvdata() 126 bcopy(eh->ether_shost, eh->ether_dhost, ETHER_ADDR_LEN); in ngee_rcvdata() 127 bcopy(&tmpaddr, eh->ether_shost, ETHER_ADDR_LEN); in ngee_rcvdata()
|
| /f-stack/freebsd/contrib/openzfs/module/zfs/ |
| H A D | zfs_log.c | 176 bcopy(&xoap->xoa_projid, scanstamp, sizeof (uint64_t)); in zfs_log_xvattr() 216 bcopy((void *)zdomain->z_domain, start, in zfs_log_fuid_domains() 394 bcopy(vsecp->vsa_aclentp, end, aclsize); in zfs_log_create() 406 bcopy(name, end, namesize); in zfs_log_create() 428 bcopy(name, (char *)(lr + 1), namesize); in zfs_log_remove() 464 bcopy(name, (char *)(lr + 1), namesize); in zfs_log_link() 495 bcopy(name, (char *)(lr + 1), namesize); in zfs_log_symlink() 496 bcopy(link, (char *)(lr + 1) + namesize, linksize); in zfs_log_symlink() 520 bcopy(sname, (char *)(lr + 1), snamesize); in zfs_log_rename() 521 bcopy(dname, (char *)(lr + 1) + snamesize, dnamesize); in zfs_log_rename() [all …]
|
| /f-stack/freebsd/netpfil/ipfw/pmod/ |
| H A D | tcpmod.c | 99 bcopy(cp + 2, &oldmss, sizeof(oldmss)); in tcpmod_setmss() 103 bcopy(&mss, cp + 2, sizeof(mss)); in tcpmod_setmss() 107 bcopy(&tcp->th_sum, &csum, sizeof(csum)); in tcpmod_setmss() 109 bcopy(&csum, &tcp->th_sum, sizeof(csum)); in tcpmod_setmss()
|
| /f-stack/freebsd/i386/i386/ |
| H A D | vm_machdep.c | 183 bcopy(td1->td_pcb, pcb2, sizeof(*pcb2)); in cpu_fork() 187 bcopy(get_pcb_user_save_td(td1), get_pcb_user_save_pcb(pcb2), in cpu_fork() 192 bcopy(&p1->p_md, mdp2, sizeof(*mdp2)); in cpu_fork() 203 bcopy(td1->td_frame, td2->td_frame, sizeof(struct trapframe)); in cpu_fork() 436 bcopy(td0->td_pcb, pcb2, sizeof(*pcb2)); in cpu_copy_thread() 440 bcopy(get_pcb_user_save_td(td0), pcb2->pcb_save, in cpu_copy_thread() 446 bcopy(td0->td_frame, td->td_frame, sizeof(struct trapframe)); in cpu_copy_thread()
|
| /f-stack/freebsd/amd64/amd64/ |
| H A D | vm_machdep.c | 176 bcopy(td1->td_pcb, pcb2, sizeof(*pcb2)); in cpu_fork() 180 bcopy(get_pcb_user_save_td(td1), get_pcb_user_save_pcb(pcb2), in cpu_fork() 185 bcopy(&p1->p_md, mdp2, sizeof(*mdp2)); in cpu_fork() 193 bcopy(td1->td_frame, td2->td_frame, sizeof(struct trapframe)); in cpu_fork() 246 bcopy(&mdp1->md_ldt_sd, &mdp2->md_ldt_sd, sizeof(struct in cpu_fork() 572 bcopy(td0->td_pcb, pcb2, sizeof(*pcb2)); in cpu_copy_thread() 576 bcopy(get_pcb_user_save_td(td0), pcb2->pcb_save, in cpu_copy_thread() 583 bcopy(td0->td_frame, td->td_frame, sizeof(struct trapframe)); in cpu_copy_thread()
|
| /f-stack/freebsd/net/ |
| H A D | if_fwsubr.c | 170 bcopy(ar_tpa(ah), ar_tha(ah), ah->ar_pln); in firewire_output() 200 bcopy(destfw, h.firewire_dhost, 8); in firewire_output() 202 bcopy(&firewire_broadcastaddr, h.firewire_dhost, 8); in firewire_output() 203 bcopy(&fc->fc_hwaddr, h.firewire_shost, 8); in firewire_output() 576 bcopy(mtag + 1, h.firewire_shost, 8); in firewire_input() 578 bcopy(&firewire_broadcastaddr, h.firewire_dhost, 8); in firewire_input() 579 bcopy(&fc->fc_hwaddr, h.firewire_dhost, 8); in firewire_input() 619 bcopy(ar_tha(ah), ar_tpa(ah), ah->ar_pln); in firewire_input() 665 bcopy(&IFP2FWC(ifp)->fc_hwaddr, &ifr->ifr_addr.sa_data[0], in firewire_ioctl() 768 bcopy(llc, LLADDR(sdl), ifp->if_addrlen); in firewire_ifattach()
|
| /f-stack/freebsd/ddb/ |
| H A D | db_input.c | 247 bcopy(db_lhistory + db_lhistcur * db_lhistlsize, 257 bcopy(db_lhistory + db_lhistcur * db_lhistlsize, 353 bcopy(db_lhistory + db_lhistlsize, db_lhistory, 357 bcopy(lstart, db_lhistory + db_lhistidx * db_lhistlsize,
|
| /f-stack/freebsd/arm/arm/ |
| H A D | vm_machdep.c | 119 bcopy(td1->td_pcb, pcb2, sizeof(*pcb2)); in cpu_fork() 123 bcopy(&td1->td_proc->p_md, mdp2, sizeof(*mdp2)); in cpu_fork() 208 bcopy(td0->td_frame, td->td_frame, sizeof(struct trapframe)); in cpu_copy_thread() 209 bcopy(td0->td_pcb, td->td_pcb, sizeof(struct pcb)); in cpu_copy_thread()
|
| /f-stack/freebsd/contrib/openzfs/module/zcommon/ |
| H A D | zfs_uio.c | 106 bcopy(p, iov->iov_base + skip, cnt); in uiomove_iov() 108 bcopy(iov->iov_base + skip, p, cnt); in uiomove_iov() 141 bcopy(p, paddr + bv->bv_offset + skip, cnt); in uiomove_bvec() 143 bcopy(paddr + bv->bv_offset + skip, p, cnt); in uiomove_bvec() 245 bcopy(uio, &uio_copy, sizeof (struct uio)); in uiocopy()
|
| /f-stack/freebsd/netgraph/atm/ |
| H A D | ngatmbase.c | 104 bcopy(m->b_rptr, b + lead, len); in uni_msg_extend() 126 bcopy(buf, m->b_wptr, size); in uni_msg_append() 150 bcopy(hdr, m0->m_data, hdrlen); in uni_msg_pack_mbuf() 162 bcopy(msg->b_rptr, m0->m_data, n); in uni_msg_pack_mbuf() 183 bcopy(msg->b_rptr, m->m_data, n); in uni_msg_pack_mbuf() 440 bcopy(p1, m->b_wptr, n); in _uni_msg_build()
|