Lines Matching refs:req_iov
377 struct hwaes_iov req_iov = {0}; in hwaes_crypt() local
394 hwaes_set_iov_helper(&req, sizeof(req), &req_iov); in hwaes_crypt()
395 hwaes_set_iov_helper(&cmd_header, sizeof(cmd_header), &req_iov); in hwaes_crypt()
398 &req_iov); in hwaes_crypt()
400 hwaes_set_iov_arg_in(&args->key, &cmd_header.key, &req_iov); in hwaes_crypt()
401 hwaes_set_iov_arg_in(&args->iv, &cmd_header.iv, &req_iov); in hwaes_crypt()
406 hwaes_pad_iov_helper(padd_buf, HWAES_TEXT_IN_BUF_ALIGNMENT, &req_iov); in hwaes_crypt()
408 hwaes_set_iov_arg_in(&args->aad, &cmd_header.aad, &req_iov); in hwaes_crypt()
412 hwaes_pad_iov_helper(padd_buf, HWAES_TEXT_IN_BUF_ALIGNMENT, &req_iov); in hwaes_crypt()
414 hwaes_set_iov_arg_in(&args->text_in, &cmd_header.text_in, &req_iov); in hwaes_crypt()
415 hwaes_set_iov_arg_in(&args->tag_in, &cmd_header.tag_in, &req_iov); in hwaes_crypt()
426 rc = hwaes_send_req(session, &req_iov, &shm); in hwaes_crypt()