Lines Matching refs:memcpy
209 memcpy(tmp->v + prime->l - pub->l, pub->v, pub->l);
357 memcpy(*dhgrp, g, sizeof(*g));
503 memcpy(p, iph2->dhgxy->v, iph2->dhgxy->l);
510 memcpy(p, (sa_dir == INBOUND_SA ? &pr->spi : &pr->spi_p),
515 memcpy(p, bp->v, bp->l);
519 memcpy(p, bp->v, bp->l);
598 memcpy(seed->v, prev->v, prev->l);
599 memcpy(seed->v + prev->l, buf->v, buf->l);
629 memcpy(res->v + l, this->v, this->l);
708 memcpy(p, s->v, s->l);
754 memcpy(buf->v + 1, (char *)&msgid, sizeof(msgid));
756 memcpy(buf->v + 1 + sizeof(u_int32_t), body->v, body->l);
809 memcpy(buf->v, (char *)&msgid, sizeof(msgid));
812 memcpy(p, body->v, body->l);
886 memcpy(p, bp->v, bp->l);
890 memcpy(p, bp->v, bp->l);
900 memcpy(p, bp2, bl);
910 memcpy(p, bp2, bl);
914 memcpy(p, bp->v, bp->l);
918 memcpy(p, bp->v, bp->l);
925 memcpy(p, bp->v, bp->l);
928 memcpy(p, gsstokens->v, gsstokens->l);
1028 memcpy(p, bp->v, bp->l);
1032 memcpy(p, bp->v, bp->l);
1065 memcpy(p, bp->v, bp->l);
1068 memcpy(p, &iph1->index.i_ck, sizeof(cookie_t));
1070 memcpy(p, &iph1->index.r_ck, sizeof(cookie_t));
1073 memcpy(p, iph1->sa->v, iph1->sa->l);
1077 memcpy(p, bp->v, bp->l);
1158 memcpy(p, bp->v, bp->l);
1162 memcpy(p, bp->v, bp->l);
1187 memcpy(p, bp->v, bp->l);
1191 memcpy(p, bp->v, bp->l);
1194 memcpy(p, &iph1->index.i_ck, sizeof(cookie_t));
1196 memcpy(p, &iph1->index.r_ck, sizeof(cookie_t));
1199 memcpy(p, iph1->sa->v, iph1->sa->l);
1203 memcpy(p, bp->v, bp->l);
1730 memcpy((*certpl)->pl->v + 1, cert->v, cert->l);
2344 memcpy(new->pl->v, gen + 1, new->pl->l);
2536 memcpy(p, bp->v, bp->l);
2542 memcpy(p, bp->v, bp->l);
2577 memcpy(p, bp->v, bp->l);
2583 memcpy(p, bp->v, bp->l);
2652 memcpy(p, iph1->dhgxy->v, iph1->dhgxy->l);
2654 memcpy(p, (caddr_t)&iph1->index.i_ck, sizeof(cookie_t));
2656 memcpy(p, (caddr_t)&iph1->index.r_ck, sizeof(cookie_t));
2679 memcpy(p, iph1->skeyid_d->v, iph1->skeyid_d->l);
2681 memcpy(p, iph1->dhgxy->v, iph1->dhgxy->l);
2683 memcpy(p, (caddr_t)&iph1->index.i_ck, sizeof(cookie_t));
2685 memcpy(p, (caddr_t)&iph1->index.r_ck, sizeof(cookie_t));
2708 memcpy(p, iph1->skeyid_a->v, iph1->skeyid_a->l);
2710 memcpy(p, iph1->dhgxy->v, iph1->dhgxy->l);
2712 memcpy(p, (caddr_t)&iph1->index.i_ck, sizeof(cookie_t));
2714 memcpy(p, (caddr_t)&iph1->index.r_ck, sizeof(cookie_t));
2778 memcpy(iph1->key->v, iph1->skeyid_e->v, iph1->key->l);
2825 memcpy(p, res->v, cplen);
2837 memcpy(buf->v, res->v, res->l);
2931 memcpy(p, bp->v, bp->l);
2935 memcpy(p, bp->v, bp->l);
3016 memcpy(p, iph1->ivm->iv->v, iph1->ivm->iv->l);
3019 memcpy(p, &msgid, sizeof(msgid));
3112 memcpy(ivep->v, (caddr_t)&msg->v[msg->l - blen], blen);
3129 memcpy(buf->v, pl, len);
3182 memcpy(buf->v, msg->v, sizeof(struct isakmp));
3183 memcpy(buf->v + sizeof(struct isakmp), new->v, new->l);
3254 memcpy(buf->v, pl, len);
3283 memcpy(ivp->v, (caddr_t)&new->v[new->l - blen], blen);
3296 memcpy(buf->v, msg->v, sizeof(struct isakmp));
3297 memcpy(buf->v + sizeof(struct isakmp), new->v, new->l);