| /f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | crypto_os.c | 202 uint8_t *ivbuf, in freebsd_crypt_uio_debug_log() argument 218 ivbuf, (unsigned int)datalen, (unsigned int)auth_len); in freebsd_crypt_uio_debug_log() 326 uint8_t *ivbuf, in freebsd_crypt_uio() argument 336 key, ivbuf, datalen, auth_len); in freebsd_crypt_uio() 365 bcopy(ivbuf, crp->crp_iv, ZIO_DATA_IV_LEN); in freebsd_crypt_uio() 496 uint8_t *ivbuf, in freebsd_crypt_uio() argument 508 key, ivbuf, datalen, auth_len); in freebsd_crypt_uio() 596 bcopy(ivbuf, enc_desc->crd_iv, ZIO_DATA_IV_LEN); in freebsd_crypt_uio()
|
| H A D | zio_crypt.c | 406 uint64_t crypt, crypto_key_t *key, uint8_t *ivbuf, uint_t datalen, in zio_do_crypt_uio_opencrypto() argument 418 ret = freebsd_crypt_uio(encrypt, sess, ci, uio, key, ivbuf, in zio_do_crypt_uio_opencrypto() 618 zio_crypt_generate_iv(uint8_t *ivbuf) in zio_crypt_generate_iv() argument 623 ret = random_get_pseudo_bytes(ivbuf, ZIO_DATA_IV_LEN); in zio_crypt_generate_iv() 630 bzero(ivbuf, ZIO_DATA_IV_LEN); in zio_crypt_generate_iv() 652 uint_t datalen, uint8_t *ivbuf, uint8_t *salt) in zio_crypt_generate_iv_salt_dedup() argument 663 bcopy(digestbuf + ZIO_DATA_SALT_LEN, ivbuf, ZIO_DATA_IV_LEN); in zio_crypt_generate_iv_salt_dedup()
|
| /f-stack/freebsd/contrib/openzfs/include/sys/ |
| H A D | zio_crypt.h | 131 int zio_crypt_generate_iv(uint8_t *ivbuf); 133 uint_t datalen, uint8_t *ivbuf, uint8_t *salt);
|
| /f-stack/dpdk/lib/librte_ipsec/ |
| H A D | esp_outb.c | 458 uint64_t ivbuf[num][IPSEC_MAX_IV_QWORD]; in cpu_outb_pkt_prepare() local 476 gen_iv(ivbuf[k], sqc); in cpu_outb_pkt_prepare() 479 rc = prepare(sa, sqc, ivbuf[k], mb[i], &icv, sa->sqh_len); in cpu_outb_pkt_prepare() 488 ivbuf[k]); in cpu_outb_pkt_prepare() 491 iv[k].va = ivbuf[k]; in cpu_outb_pkt_prepare()
|
| H A D | esp_inb.c | 702 uint64_t ivbuf[num][IPSEC_MAX_IV_QWORD]; in cpu_inb_pkt_prepare() local 720 l4ofs + k, rc, ivbuf[k]); in cpu_inb_pkt_prepare() 723 iv[k].va = ivbuf[k]; in cpu_inb_pkt_prepare()
|
| /f-stack/freebsd/contrib/openzfs/module/os/linux/zfs/ |
| H A D | zio_crypt.c | 378 crypto_ctx_template_t tmpl, uint8_t *ivbuf, uint_t datalen, in zio_do_crypt_uio() argument 423 ccmp.nonce = ivbuf; in zio_do_crypt_uio() 434 gcmp.pIv = ivbuf; in zio_do_crypt_uio() 654 zio_crypt_generate_iv(uint8_t *ivbuf) in zio_crypt_generate_iv() argument 659 ret = random_get_pseudo_bytes(ivbuf, ZIO_DATA_IV_LEN); in zio_crypt_generate_iv() 666 bzero(ivbuf, ZIO_DATA_IV_LEN); in zio_crypt_generate_iv() 718 uint_t datalen, uint8_t *ivbuf, uint8_t *salt) in zio_crypt_generate_iv_salt_dedup() argument 729 bcopy(digestbuf + ZIO_DATA_SALT_LEN, ivbuf, ZIO_DATA_IV_LEN); in zio_crypt_generate_iv_salt_dedup()
|
| /f-stack/dpdk/drivers/crypto/bcmfs/ |
| H A D | bcmfs_sym_engine.c | 948 bcmfs_crypto_ccm_update_iv(uint8_t *ivbuf, in bcmfs_crypto_ccm_update_iv() argument 961 L = ((ivbuf[0] & CCM_B0_L_PRIME) >> in bcmfs_crypto_ccm_update_iv() 966 memmove(ivbuf, &ivbuf[1], *ivlen); in bcmfs_crypto_ccm_update_iv()
|