Searched refs:crp_buf (Results 1 – 13 of 13) sorted by relevance
| /f-stack/freebsd/mips/nlm/dev/sec/ |
| H A D | nlmseclib.c | 113 switch (crp->crp_buf.cb_type) { in nlm_crypto_form_srcdst_segs() 118 m = crp->crp_buf.cb_mbuf; in nlm_crypto_form_srcdst_segs() 136 uio = crp->crp_buf.cb_uio; in nlm_crypto_form_srcdst_segs() 154 crp->crp_buf.cb_buf, crp->crp_buf.cb_buf_len); in nlm_crypto_form_srcdst_segs() 157 crp->crp_buf.cb_buf, crp->crp_buf.cb_buf_len); in nlm_crypto_form_srcdst_segs()
|
| H A D | nlmsec.c | 469 switch (crp->crp_buf.cb_type) { in xlp_get_nsegs() 474 m = crp->crp_buf.cb_mbuf; in xlp_get_nsegs() 487 uio = crp->crp_buf.cb_uio; in xlp_get_nsegs() 498 *nsegs = NLM_CRYPTO_NUM_SEGS_REQD(crp->crp_buf.cb_buf_len); in xlp_get_nsegs()
|
| /f-stack/freebsd/mips/cavium/cryptocteon/ |
| H A D | cryptocteon.c | 299 switch (crp->crp_buf.cb_type) { in cryptocteon_process() 304 m = crp->crp_buf.cb_mbuf; in cryptocteon_process() 314 m = crp->crp_buf.cb_mbuf; in cryptocteon_process() 318 uiop = crp->crp_buf.cb_uio; in cryptocteon_process() 343 switch (crp->crp_buf.cb_type) { in cryptocteon_process() 366 iovlen = crp->crp_buf.cb_buf_len; in cryptocteon_process() 367 od->octo_iov[0].iov_base = crp->crp_buf.cb_buf; in cryptocteon_process() 368 od->octo_iov[0].iov_len = crp->crp_buf.cb_buf_len; in cryptocteon_process()
|
| /f-stack/freebsd/opencrypto/ |
| H A D | criov.c | 600 cb = &crp->crp_buf; in crypto_copyback() 633 switch (crp->crp_buf.cb_type) { in crypto_copydata() 635 m_copydata(crp->crp_buf.cb_mbuf, off, size, dst); in crypto_copydata() 639 MPASS(size <= crp->crp_buf.cb_vm_page_len); in crypto_copydata() 640 MPASS(size + off <= crp->crp_buf.cb_vm_page_len + in crypto_copydata() 641 crp->crp_buf.cb_vm_page_offset); in crypto_copydata() 642 cvm_page_copydata(crp->crp_buf.cb_vm_page, in crypto_copydata() 643 off + crp->crp_buf.cb_vm_page_offset, size, dst); in crypto_copydata() 647 cuio_copydata(crp->crp_buf.cb_uio, off, size, dst); in crypto_copydata() 650 MPASS(off + size <= crp->crp_buf.cb_buf_len); in crypto_copydata() [all …]
|
| H A D | cryptodev.h | 474 struct crypto_buffer crp_buf; member 544 _crypto_use_buf(&crp->crp_buf, buf, len); in crypto_use_buf() 550 _crypto_use_mbuf(&crp->crp_buf, m); in crypto_use_mbuf() 556 _crypto_use_vmpage(&crp->crp_buf, pages, len, offset); in crypto_use_vmpage() 562 _crypto_use_uio(&crp->crp_buf, uio); in crypto_use_uio()
|
| H A D | cryptosoft.c | 154 crypto_cursor_init(&cc_in, &crp->crp_buf); in swcr_encdec() 415 crypto_cursor_init(&cc, &crp->crp_buf); in swcr_gmac() 517 crypto_cursor_init(&cc_in, &crp->crp_buf); in swcr_gcm() 543 crypto_cursor_init(&cc_in, &crp->crp_buf); in swcr_gcm() 608 crypto_cursor_init(&cc_in, &crp->crp_buf); in swcr_gcm() 761 crypto_cursor_init(&cc_in, &crp->crp_buf); in swcr_ccm() 832 crypto_cursor_init(&cc_in, &crp->crp_buf); in swcr_ccm() 938 switch (crp->crp_buf.cb_type) { in swcr_compdec() 941 m_adj(crp->crp_buf.cb_mbuf, adj); in swcr_compdec() 944 struct uio *uio = crp->crp_buf.cb_uio; in swcr_compdec() [all …]
|
| H A D | crypto.c | 1276 cb_sanity(&crp->crp_buf, "input"); in crp_sanity() 1277 ilen = crypto_buffer_len(&crp->crp_buf); in crp_sanity()
|
| /f-stack/freebsd/netipsec/ |
| H A D | xform_ipcomp.c | 292 m = crp->crp_buf.cb_mbuf; in ipcomp_input_cb() 536 m = crp->crp_buf.cb_mbuf; in ipcomp_output_cb()
|
| H A D | xform_ah.c | 698 m = crp->crp_buf.cb_mbuf; in ah_input_cb() 1082 m = crp->crp_buf.cb_mbuf; in ah_output_cb()
|
| H A D | xform_esp.c | 493 m = crp->crp_buf.cb_mbuf; in esp_input_cb() 978 m = crp->crp_buf.cb_mbuf; in esp_output_cb()
|
| /f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | crypto_os.c | 578 crp->crp_buf = (void*)data_uio; in freebsd_crypt_uio()
|
| /f-stack/freebsd/crypto/ccp/ |
| H A D | ccp.c | 554 error = ccp_populate_sglist(qp->cq_sg_crp, &crp->crp_buf); in ccp_process()
|
| /f-stack/freebsd/kern/ |
| H A D | subr_bus_dma.c | 701 return (bus_dmamap_load_crp_buffer(dmat, map, &crp->crp_buf, callback, in bus_dmamap_load_crp()
|