Home
last modified time | relevance | path

Searched refs:crp_payload_start (Results 1 – 25 of 34) sorted by relevance

12

/freebsd/sys/opencrypto/
H A Dktls_ocf.c345 crp->crp_payload_start = 0; in ktls_ocf_tls_cbc_encrypt()
372 crp->crp_payload_start = m->m_epg_hdrlen; in ktls_ocf_tls_cbc_encrypt()
467 crp.crp_payload_start = tls->params.tls_hlen; in ktls_ocf_tls_cbc_decrypt()
528 crp.crp_payload_start = 0; in ktls_ocf_tls_cbc_decrypt()
594 crp->crp_payload_start = m->m_epg_hdrlen; in ktls_ocf_tls12_aead_encrypt()
608 crp->crp_digest_start = crp->crp_payload_start + in ktls_ocf_tls12_aead_encrypt()
679 crp.crp_payload_start = tls->params.tls_hlen; in ktls_ocf_tls12_aead_decrypt()
681 crp.crp_digest_start = crp.crp_payload_start + crp.crp_payload_length; in ktls_ocf_tls12_aead_decrypt()
759 crp.crp_payload_start = tls->params.tls_hlen; in ktls_ocf_tls12_aead_recrypt()
818 crp->crp_payload_start in ktls_ocf_tls13_aead_encrypt()
[all...]
H A Dcryptosoft.c145 crypto_cursor_advance(&cc_in, crp->crp_payload_start); in swcr_encdec()
284 err = crypto_apply(crp, crp->crp_payload_start, in swcr_authcompute()
356 crypto_cursor_advance(&cc, crp->crp_payload_start); in swcr_gmac()
474 crypto_cursor_advance(&cc_in, crp->crp_payload_start); in swcr_gcm()
560 crypto_cursor_advance(&cc_in, crp->crp_payload_start); in swcr_gcm()
710 crypto_apply(crp, crp->crp_payload_start, crp->crp_payload_length, in swcr_ccm_cbc_mac()
804 crypto_cursor_advance(&cc_in, crp->crp_payload_start); in swcr_ccm()
895 crypto_cursor_advance(&cc_in, crp->crp_payload_start); in swcr_ccm()
1011 crypto_cursor_advance(&cc_in, crp->crp_payload_start); in swcr_chacha20_poly1305()
1069 crypto_apply(crp, crp->crp_payload_start, in swcr_chacha20_poly1305()
[all …]
H A Dcryptodev.c680 crp->crp_payload_start = 0; in cryptodev_op()
793 crp->crp_payload_start = cse->ivsize; in cryptodev_op()
839 cod->buf + crp->crp_payload_start, dst, in cryptodev_op()
917 crp->crp_payload_start = 0; in cryptodev_aead()
919 crp->crp_payload_start = caead->aadlen; in cryptodev_aead()
920 error = copyin(caead->src, cod->buf + crp->crp_payload_start, in cryptodev_aead()
931 crp->crp_digest_start = crp->crp_payload_start + caead->len; in cryptodev_aead()
959 crypto_use_buf(crp, cod->buf, crp->crp_payload_start + caead->len + in cryptodev_aead()
1042 cod->buf + crp->crp_payload_start, dst, in cryptodev_aead()
H A Dcrypto.c1364 KASSERT(crp->crp_payload_start == 0 || in crp_sanity()
1365 crp->crp_payload_start < ilen, in crp_sanity()
1367 KASSERT(crp->crp_payload_start + crp->crp_payload_length <= in crp_sanity()
/freebsd/sys/crypto/via/
H A Dpadlock_cipher.c168 addr = crypto_contiguous_subsegment(crp, crp->crp_payload_start, in padlock_cipher_alloc()
219 crypto_copydata(crp, crp->crp_payload_start, in padlock_cipher_process()
230 crypto_copyback(crp, crp->crp_payload_start, in padlock_cipher_process()
H A Dpadlock_hash.c292 error = crypto_apply(crp, crp->crp_payload_start, in padlock_authcompute()
/freebsd/sys/crypto/openssl/
H A Dossl_chacha20.c81 crypto_cursor_advance(&cc_in, crp->crp_payload_start); in ossl_chacha20()
209 crypto_cursor_advance(&cc_in, crp->crp_payload_start); in ossl_chacha20_poly1305_encrypt()
351 crypto_apply(crp, crp->crp_payload_start, crp->crp_payload_length, in ossl_chacha20_poly1305_decrypt()
378 crypto_cursor_advance(&cc_in, crp->crp_payload_start); in ossl_chacha20_poly1305_decrypt()
H A Dossl_aes.c118 crypto_cursor_advance(&cc_in, crp->crp_payload_start); in ossl_aes_cbc()
224 crypto_cursor_advance(&cc_in, crp->crp_payload_start); in ossl_aes_gcm()
H A Dossl.c343 error = crypto_apply(crp, crp->crp_payload_start, in ossl_process_hash()
/freebsd/sys/crypto/blake2/
H A Dblake2_cryptodev.c282 error = crypto_apply(crp, crp->crp_payload_start, in blake2_cipher_process()
299 error = crypto_apply(crp, crp->crp_payload_start, in blake2_cipher_process()
/freebsd/sys/dev/cxgbe/crypto/
H A Dt4_crypto.c525 crp->crp_payload_start, crp->crp_payload_length); in ccr_hash()
588 crypto_copydata(crp, crp->crp_payload_start, in ccr_hash()
653 crp->crp_payload_start, crp->crp_payload_length); in ccr_cipher()
679 crp->crp_payload_start, crp->crp_payload_length); in ccr_cipher()
769 crypto_copydata(crp, crp->crp_payload_start, in ccr_cipher()
883 crp->crp_payload_start, crp->crp_payload_length); in ccr_eta()
956 crp->crp_payload_start, crp->crp_payload_length); in ccr_eta()
1088 crypto_copydata(crp, crp->crp_payload_start, in ccr_eta()
1186 crp->crp_payload_start, crp->crp_payload_length); in ccr_gcm()
1246 crp->crp_payload_start, cr in ccr_gcm()
[all...]
/freebsd/sys/crypto/aesni/
H A Daesni.c628 buf = aesni_cipher_alloc(crp, crp->crp_payload_start, in aesni_cipher_crypt()
755 crp->crp_payload_output_start : crp->crp_payload_start, in aesni_cipher_crypt()
814 crypto_apply(crp, crp->crp_payload_start, in aesni_cipher_mac()
848 crypto_apply(crp, crp->crp_payload_start, in aesni_cipher_mac()
/freebsd/sys/kgssapi/krb5/
H A Dkcrypto_aes.c146 crp->crp_payload_start = skip; in aes_encrypt_1()
325 crp->crp_payload_start = skip; in aes_checksum()
/freebsd/sys/dev/glxsb/
H A Dglxsb_hash.c76 error = crypto_apply(crp, crp->crp_payload_start, in glxsb_authcompute()
H A Dglxsb.c669 crypto_copydata(crp, crp->crp_payload_start + offset, len, in glxsb_crypto_encdec()
681 crypto_copyback(crp, crp->crp_payload_start + offset, len, in glxsb_crypto_encdec()
/freebsd/sys/geom/eli/
H A Dg_eli_crypto.c84 crp->crp_payload_start = 0; in g_eli_crypto_cipher()
H A Dg_eli_integrity.c156 rel_sec = ((crp->crp_buf.cb_buf + crp->crp_payload_start) - in g_eli_auth_read_done()
561 crp->crp_payload_start = sc->sc_alen; in g_eli_auth_run()
H A Dg_eli_privacy.c336 crp->crp_payload_start = 0; in g_eli_crypto_run()
/freebsd/sys/dev/sec/
H A Dsec.c1346 error = sec_make_pointer(sc, desc, 3, crp, crp->crp_payload_start, in sec_build_common_ns_desc()
1352 error = sec_make_pointer(sc, desc, 4, crp, crp->crp_payload_start, in sec_build_common_ns_desc()
1409 error = sec_make_pointer(sc, desc, 4, crp, crp->crp_payload_start, in sec_build_common_s_desc()
1415 error = sec_make_pointer(sc, desc, 5, crp, crp->crp_payload_start, in sec_build_common_s_desc()
1565 error = sec_make_pointer(sc, desc, 3, crp, crp->crp_payload_start, in sec_mdeu_make_desc()
/freebsd/sys/dev/safe/
H A Dsafe.c899 crp->crp_payload_start) { in safe_process()
907 bypass = crp->crp_payload_start; in safe_process()
909 oplen = crp->crp_payload_start + crp->crp_payload_length; in safe_process()
916 crp->crp_payload_start, crp->crp_payload_length, in safe_process()
953 bypass = crp->crp_payload_start; in safe_process()
/freebsd/sys/dev/cesa/
H A Dcesa.c612 skip = crp->crp_payload_start; in cesa_create_chain_cb()
638 skip = crp->crp_payload_start; in cesa_create_chain_cb()
654 eskip = crp->crp_payload_start; in cesa_create_chain_cb()
1722 crp->crp_payload_start) { in cesa_process()
/freebsd/sys/netipsec/
H A Dxform_ipcomp.c252 crp->crp_payload_start = skip + hlen; in ipcomp_input()
491 crp->crp_payload_start = skip; in ipcomp_output()
H A Dxform_esp.c432 crp->crp_payload_start = skip + hlen; in esp_input()
887 crp->crp_payload_start = skip + hlen; in esp_output()
/freebsd/sys/crypto/armv8/
H A Darmv8_crypto.c330 crypto_cursor_advance(&fromc, crp->crp_payload_start); in armv8_crypto_cipher_process()
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dcrypto_os.c366 crp->crp_payload_start = auth_len; in freebsd_crypt_uio()

12