/freebsd/sys/opencrypto/ |
H A D | ktls_ocf.c | 345 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 D | cryptosoft.c | 145 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 D | cryptodev.c | 680 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 D | crypto.c | 1364 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 D | padlock_cipher.c | 168 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 D | padlock_hash.c | 292 error = crypto_apply(crp, crp->crp_payload_start, in padlock_authcompute()
|
/freebsd/sys/crypto/openssl/ |
H A D | ossl_chacha20.c | 81 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 D | ossl_aes.c | 118 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 D | ossl.c | 343 error = crypto_apply(crp, crp->crp_payload_start, in ossl_process_hash()
|
/freebsd/sys/crypto/blake2/ |
H A D | blake2_cryptodev.c | 282 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 D | t4_crypto.c | 525 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 D | aesni.c | 628 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 D | kcrypto_aes.c | 146 crp->crp_payload_start = skip; in aes_encrypt_1() 325 crp->crp_payload_start = skip; in aes_checksum()
|
/freebsd/sys/dev/glxsb/ |
H A D | glxsb_hash.c | 76 error = crypto_apply(crp, crp->crp_payload_start, in glxsb_authcompute()
|
H A D | glxsb.c | 669 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 D | g_eli_crypto.c | 84 crp->crp_payload_start = 0; in g_eli_crypto_cipher()
|
H A D | g_eli_integrity.c | 156 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 D | g_eli_privacy.c | 336 crp->crp_payload_start = 0; in g_eli_crypto_run()
|
/freebsd/sys/dev/sec/ |
H A D | sec.c | 1346 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 D | safe.c | 899 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 D | cesa.c | 612 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 D | xform_ipcomp.c | 252 crp->crp_payload_start = skip + hlen; in ipcomp_input() 491 crp->crp_payload_start = skip; in ipcomp_output()
|
H A D | xform_esp.c | 432 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 D | armv8_crypto.c | 330 crypto_cursor_advance(&fromc, crp->crp_payload_start); in armv8_crypto_cipher_process()
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | crypto_os.c | 366 crp->crp_payload_start = auth_len; in freebsd_crypt_uio()
|