Searched refs:cipher_iovecs (Results 1 - 2 of 2) sorted by relevance

/freebsd-13-stable/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzio_crypt.c484 iovec_t plain_iovecs[2], cipher_iovecs[3]; local
504 cipher_iovecs[0].iov_base = keydata_out;
505 cipher_iovecs[0].iov_len = keydata_len;
506 cipher_iovecs[1].iov_base = hmac_keydata_out;
507 cipher_iovecs[1].iov_len = SHA512_HMAC_KEYLEN;
508 cipher_iovecs[2].iov_base = mac;
509 cipher_iovecs[2].iov_len = WRAPPING_MAC_LEN;
531 cuio.uio_iov = cipher_iovecs;
555 iovec_t plain_iovecs[2], cipher_iovecs[3]; local
572 cipher_iovecs[
1760 iovec_t *plain_iovecs = NULL, *cipher_iovecs = NULL; local
[all...]
/freebsd-13-stable/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzio_crypt.c1558 iovec_t *plain_iovecs = NULL, *cipher_iovecs = NULL; local
1561 cipher_iovecs = kmem_alloc(nr_cipher * sizeof (iovec_t),
1563 if (!cipher_iovecs) {
1567 bzero(cipher_iovecs, nr_cipher * sizeof (iovec_t));
1577 cipher_iovecs[0].iov_base = dst;
1578 cipher_iovecs[0].iov_len = datalen;
1581 GET_UIO_STRUCT(out_uio)->uio_iov = cipher_iovecs;
1589 if (cipher_iovecs != NULL)
1590 kmem_free(cipher_iovecs, nr_cipher * sizeof (iovec_t));

Completed in 111 milliseconds