Searched refs:ibuf_seek (Results 1 – 7 of 7) sorted by relevance
| /openbsd/src/sbin/iked/ |
| D | ikev2_msg.c | 172 if ((ptr = ibuf_seek(msg->msg_data, msg->msg_offset, len)) == NULL || in ikev2_msg_copy() 281 if (buf == NULL || (hdr = ibuf_seek(msg->msg_data, in ikev2_msg_send() 557 if ((ptr = ibuf_seek(src, in ikev2_msg_integr() 631 integrdata = ibuf_seek(src, integroff, integrlen); in ikev2_msg_decrypt() 655 cipher_setiv(sa->sa_encr, ibuf_seek(src, ivoff, ivlen), ivlen); in ikev2_msg_decrypt() 663 integrdata = ibuf_seek(src, integroff, integrlen); in ikev2_msg_decrypt() 688 if (cipher_update(sa->sa_encr, ibuf_seek(src, encroff, encrlen), in ikev2_msg_decrypt() 694 ptr = ibuf_seek(out, outlen - 1, 1); in ikev2_msg_decrypt() 881 data = ibuf_seek(in, offset, 0); in ikev2_send_encrypted_fragments() 1171 (hdr = ibuf_seek(msg->msg_data, 0, sizeof(*hdr))) == NULL) in ikev2_msg_frompeer()
|
| D | ikev2_pld.c | 1068 if ((buf = ibuf_seek(msg->msg_data, offset + sizeof(n), left)) == NULL) in ikev2_pld_notify() 1715 memcpy(el->frag_data, ibuf_seek(e, 0, 0), elen); in ikev2_pld_ef() 1766 ptr = ibuf_seek(e, offset, el->frag_size); in ikev2_frags_reassemble() 2095 if ((eap = ibuf_seek(msg->msg_data, offset, eap_len)) == NULL) { in ikev2_pld_eap()
|
| D | crypto.c | 570 nonce = ibuf_new(ibuf_seek(encr->encr_key, in cipher_init()
|
| D | ikev2.c | 662 hdr = ibuf_seek(msg->msg_data, msg->msg_offset, sizeof(*hdr)); in ikev2_recv() 2343 if ((hdr = ibuf_seek(buf, 0, sizeof(*hdr))) == NULL) in ikev2_nat_detection() 5382 if ((hdr = ibuf_seek(msg->msg_data, 0, sizeof(*hdr))) == NULL) in ikev2_send_informational()
|
| /openbsd/src/lib/libutil/ |
| D | Symbols.map | 54 ibuf_seek;
|
| D | imsg.h | 80 void *ibuf_seek(struct ibuf *, size_t, size_t);
|
| D | imsg-buffer.c | 242 ibuf_seek(struct ibuf *buf, size_t pos, size_t len) in ibuf_seek() function 259 if ((b = ibuf_seek(buf, pos, len)) == NULL) in ibuf_set()
|