Lines Matching defs:iovecs
433 iovec_t iovecs[4];
451 * We set iovecs[0] -- the authentication data -- below.
455 iovecs[1].iov_base = keydata_out;
456 iovecs[1].iov_len = keydata_len;
457 iovecs[2].iov_base = hmac_keydata_out;
458 iovecs[2].iov_len = SHA512_HMAC_KEYLEN;
459 iovecs[3].iov_base = mac;
460 iovecs[3].iov_len = WRAPPING_MAC_LEN;
478 iovecs[0].iov_base = aad;
479 iovecs[0].iov_len = aad_len;
482 GET_UIO_STRUCT(&cuio)->uio_iov = iovecs;
512 iovec_t iovecs[4];
526 * (dest). We set iovecs[0] -- the authentication data --
537 iovecs[1].iov_base = key->zk_master_keydata;
538 iovecs[1].iov_len = keydata_len;
539 iovecs[2].iov_base = key->zk_hmac_keydata;
540 iovecs[2].iov_len = SHA512_HMAC_KEYLEN;
541 iovecs[3].iov_base = mac;
542 iovecs[3].iov_len = WRAPPING_MAC_LEN;
556 iovecs[0].iov_base = aad;
557 iovecs[0].iov_len = aad_len;
559 GET_UIO_STRUCT(&cuio)->uio_iov = iovecs;
1277 * Calculate the number of encrypted iovecs we will need.
1280 /* We need at least two iovecs -- one for the AAD, one for the MAC. */
1317 * Loop over records again, filling in iovecs.
1440 * Count the number of iovecs we will need to do the encryption by
1444 /* We need at least two iovecs -- one for the AAD, one for the MAC. */