Home
last modified time | relevance | path

Searched refs:MEMCPY (Results 1 – 25 of 63) sorted by relevance

123

/minix/usr.bin/bdes/
H A Dbdes.c606 MEMCPY(BUFFER(ivec), BUFFER(msgbuf), 8); in cbcenc()
639 MEMCPY(BUFFER(ibuf), BUFFER(msgbuf), 8); in cbcdec()
643 MEMCPY(BUFFER(ivec), BUFFER(ibuf), 8); in cbcdec()
680 MEMCPY(BUFFER(ivec), BUFFER(encbuf), 8); in cbcauth()
726 MEMCPY(BUFFER(msgbuf), BUFFER(ivec), 8); in cfbenc()
741 MEMCPY(BUFFER(msgbuf), BUFFER(ivec), 8); in cfbenc()
770 MEMCPY(BUFFER(msgbuf), BUFFER(ivec), 8); in cfbdec()
816 MEMCPY(BUFFER(msgbuf), BUFFER(ivec), 8); in cfbaenc()
834 MEMCPY(BUFFER(msgbuf), BUFFER(ivec), 8); in cfbaenc()
928 MEMCPY(BUFFER(msgbuf), BUFFER(ivec), 8); in ofbenc()
[all …]
/minix/minix/lib/liblwip/dist/src/netif/ppp/
H A Dpppoe.c343 MEMCPY(&t, token, len); in pppoe_find_softc_by_hunique()
537 MEMCPY(sc->sc_hunique, hunique, hunique_len); in pppoe_disc_input()
791 MEMCPY(p, sc->sc_service_name, l1); in pppoe_send_padi()
802 MEMCPY(p, sc->sc_concentrator_name, l2); in pppoe_send_padi()
808 MEMCPY(p, &sc, sizeof sc); in pppoe_send_padi()
1007 MEMCPY(p, sc->sc_service_name, l1); in pppoe_send_padr()
1022 MEMCPY(p, &sc, sizeof sc); in pppoe_send_padr()
1081 MEMCPY(p, &sc, sizeof(sc)); in pppoe_send_pado()
1085 MEMCPY(p, sc->sc_hunique, sc->sc_hunique_len); in pppoe_send_pado()
1115 MEMCPY(p, sc->sc_service_name, l1); in pppoe_send_pads()
[all …]
H A Deap.c492 MEMCPY(dp, clear + 1, i); in eap_figure_next_state()
708 MEMCPY(outp, str, len); in eap_send_request()
740 MEMCPY(outp, ts->s.data, ts->s.len); in eap_send_request()
764 MEMCPY(outp, ts->B.data, ts->B.len); in eap_send_request()
784 MEMCPY(clear + 1, cp, j); in eap_send_request()
803 MEMCPY(clear, cp, i); in eap_send_request()
1039 MEMCPY(outp, str, lenstr); in eap_send_response()
1076 MEMCPY(outp, name, namelen); in eap_chap_response()
1119 MEMCPY(outp, str, lenstr);
1161 MEMCPY(outp, str, SHA_DIGESTSIZE);
[all …]
H A Dmagic.c176 MEMCPY(buf, tmp, n); in magic_random_bytes()
280 MEMCPY(buf, &new_rand, n); in magic_random_bytes()
H A Dvj.c400 MEMCPY(&cs->cs_ip, ip, hlen); in vj_compress_tcp()
433 MEMCPY(cp, new_seq, deltaS); in vj_compress_tcp()
443 MEMCPY(&cs->cs_ip, ip, hlen); in vj_compress_tcp()
486 MEMCPY(&cs->cs_ip, ip, hlen); in vj_uncompress_uncomp()
658 MEMCPY(q->payload, bufptr, q->len); in vj_uncompress_tcp()
683 MEMCPY(n0->payload, &cs->cs_ip, cs->cs_hlen); in vj_uncompress_tcp()
H A Dmppe.c78 MEMCPY(state->session_key, sha1_digest, state->keylen); in mppe_rekey()
102 MEMCPY(state->master_key, key, MPPE_MAX_KEY_LEN); in mppe_set_key()
119 MEMCPY(state->session_key, state->master_key, sizeof(state->master_key)); in mppe_init()
H A Dchap_ms.c439 MEMCPY(msg, inp, len); in chapms_handle_failure()
504 MEMCPY(ZPasswordHash, PasswordHash, MD4_SIGNATURE_SIZE); in ChallengeResponse()
554 MEMCPY(Challenge, sha1Hash, 8); in ChallengeHash()
888 MEMCPY(&response[MS_CHAP2_PEER_CHALLENGE], PeerChallenge, in ChapMS2()
H A Dupap.c551 MEMCPY(outp, pcb->upap.us_user, pcb->upap.us_userlen); in upap_sauthreq()
554 MEMCPY(outp, pcb->upap.us_passwd, pcb->upap.us_passwdlen); in upap_sauthreq()
588 MEMCPY(outp, msg, msglen); in upap_sresp()
/minix/common/lib/libc/arch/i386/string/
H A Dmemcpy.S52 #define MEMCPY macro
59 #if defined(MEMCPY) || defined(MEMMOVE)
83 #if defined(MEMCPY) || defined(MEMMOVE)
/minix/bin/ed/
H A Dcbc.c100 #define MEMCPY(dest,src,len) memcpy((dest),(src),(len)) macro
399 MEMCPY(BUFFER(ivec), BUFFER(msgbuf), 8); in cbc_encode()
412 (void)MEMCPY(BUFFER(msgbuf + n), BUFFER(pvec), 8 - n); in cbc_encode()
436 MEMCPY(BUFFER(inbuf), BUFFER(msgbuf), 8); in cbc_decode()
440 MEMCPY(BUFFER(ivec), BUFFER(inbuf), 8); in cbc_decode()
/minix/minix/lib/liblwip/dist/src/netif/
H A Dlowpan6.c358 MEMCPY(buffer + ieee_header_len + lowpan6_header_len, (u8_t*)p->payload + 16, 8); in lowpan6_frag()
361 MEMCPY(buffer + ieee_header_len + lowpan6_header_len, (u8_t*)p->payload + 22, 2); in lowpan6_frag()
369 MEMCPY(buffer + ieee_header_len + lowpan6_header_len, (u8_t*)p->payload + 8, 16); in lowpan6_frag()
409 MEMCPY(buffer + ieee_header_len + lowpan6_header_len, (u8_t*)p->payload + 24, 16); in lowpan6_frag()
754 MEMCPY(&ip6hdr->src.addr[0], lowpan6_buffer + lowpan6_offset, 16); in lowpan6_decompress()
759 MEMCPY(&ip6hdr->src.addr[2], lowpan6_buffer + lowpan6_offset, 8); in lowpan6_decompress()
808 MEMCPY(&ip6hdr->src.addr[2], lowpan6_buffer + lowpan6_offset, 8); in lowpan6_decompress()
837 MEMCPY(&ip6hdr->dest.addr[0], lowpan6_buffer + lowpan6_offset, 16); in lowpan6_decompress()
884 MEMCPY(&ip6hdr->dest.addr[0], lowpan6_buffer + lowpan6_offset, 16); in lowpan6_decompress()
887 MEMCPY(&ip6hdr->dest.addr[2], lowpan6_buffer + lowpan6_offset, 8); in lowpan6_decompress()
[all …]
/minix/external/bsd/nvi/dist/common/
H A Dmultibyte.h107 #define MEMCPY(p, t, len) memcpy(p, t, (len) * sizeof(*(p))) macro
113 ((void *)((char *)MEMCPY(p, t, len) + (len) * sizeof(*(p))))
H A Dlog4.c127 MEMCPY(&ep->lsn_cur, &ep->lsn_first, 1); in log_init()
128 MEMCPY(&ep->lsn_high, &ep->lsn_first, 1); in log_init()
224 MEMCPY(&ep->lsn_high, &ep->lsn_cur, 1); in log_cursor1()
/minix/minix/lib/liblwip/dist/src/apps/snmp/
H A Dsnmp_snmpv2_usm.c289 MEMCPY(value, cell_instance->reference.ptr, cell_instance->reference_len); in usmusertable_get_value()
293 MEMCPY(value, snmp_zero_dot_zero.id, snmp_zero_dot_zero.len * sizeof(u32_t)); in usmusertable_get_value()
301 MEMCPY(value, auth_algo->id, auth_algo->len * sizeof(u32_t)); in usmusertable_get_value()
314 MEMCPY(value, priv_algo->id, priv_algo->len * sizeof(u32_t)); in usmusertable_get_value()
H A Dsnmp_mib2_system.c244 MEMCPY(value, dev_enterprise_oid->id, dev_enterprise_oid->len * sizeof(u32_t)); in system_get_value()
277 MEMCPY(value, var, result); in system_get_value()
353 MEMCPY(var_wr, value, len); in system_set_value()
H A Dsnmp_mib2_interfaces.c172 MEMCPY(value, netif->name, value_len); in interfaces_Table_get_value()
188 MEMCPY(value, &netif->hwaddr, value_len); in interfaces_Table_get_value()
265 MEMCPY(value, snmp_zero_dot_zero.id, value_len); in interfaces_Table_get_value()
H A Dsnmp_snmpv2_framework.c51 MEMCPY(value, engineid, engineid_len); in snmpengine_scalars_get_value()
H A Dsnmpv3_mbedtls.c267 MEMCPY(password_buf + 16, engineID, engineLength); in snmpv3_password_to_key_md5()
320 MEMCPY(password_buf + 20, engineID, engineLength); in snmpv3_password_to_key_sha()
/minix/external/bsd/nvi/dist/ex/
H A Dex_argv.c77 MEMCPY(exp->args[exp->argsoff]->bp, cmd, cmdlen); in argv_exp0()
346 MEMCPY(p, exp->lastbcomm, tlen); in argv_fexp()
362 MEMCPY(p, wp, wlen); in argv_fexp()
377 MEMCPY(p, wp, wlen); in argv_fexp()
572 MEMCPY(n, wp, wlen); in argv_lexp()
578 MEMCPY(n, wp, wlen); in argv_lexp()
/minix/minix/lib/liblwip/dist/src/core/ipv6/
H A Dip6_frag.c165 MEMCPY(p->payload, ipr->orig_hdr, sizeof(iprh)); in ip6_reass_free_complete_datagram()
353 MEMCPY(&ipr->src, &ip6_current_header()->src, sizeof(ipr->src)); in ip6_reass()
354 MEMCPY(&ipr->dest, &ip6_current_header()->dest, sizeof(ipr->dest)); in ip6_reass()
507 MEMCPY(ipr->orig_hdr, p->payload, sizeof(*iprh)); in ip6_reass()
584 MEMCPY(p->payload, ipr->orig_hdr, IPV6_FRAG_REQROOM); in ip6_reass()
/minix/minix/lib/liblwip/dist/src/apps/netbiosns/
H A Dnetbiosns.c294MEMCPY( resp->resp_name.encname, netbios_name_hdr->encname, sizeof(netbios_name_hdr->encname)); in netbiosns_recv()
350 MEMCPY(netbiosns_local_name, hostname, copy_len + 1); in netbiosns_set_name()
/minix/external/bsd/llvm/dist/llvm/lib/Target/XCore/
H A DXCoreSelectionDAGInfo.cpp46 .setCallee(TLI.getLibcallCallingConv(RTLIB::MEMCPY), in EmitTargetCodeForMemcpy()
/minix/minix/lib/liblwip/dist/src/api/
H A Dnetdb.c208 MEMCPY(hostname, name, namelen); in lwip_gethostbyname_r()
403 MEMCPY(ai->ai_canonname, nodename, namelen); in lwip_getaddrinfo()
/minix/minix/lib/liblwip/dist/test/fuzz/
H A Dfuzz.c87 MEMCPY(q->payload, data, q->len); in input_pkt()
/minix/minix/lib/liblwip/dist/src/apps/httpd/
H A Dfs.c141 MEMCPY(buffer, (file->data + file->index), read); in fs_read_async()

123