'\" t .\" Title: kcapi_aead_stream_op .\" Author: .\" Generator: DocBook XSL Stylesheets vsnapshot .\" Date: April 2024 .\" Manual: Programming Interface .\" Source: libkcapi Manual 1.4.0 .\" Language: English .\" .TH "KCAPI_AEAD_STREAM_OP" "3" "April 2024" "libkcapi Manual 1\&.4\&.0" "Programming Interface" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" kcapi_aead_stream_op \- obtain processed data (stream) .SH "SYNOPSIS" .HP \w'ssize_t\ kcapi_aead_stream_op('u .BI "ssize_t kcapi_aead_stream_op(struct\ kcapi_handle\ *\ " "handle" ", struct\ iovec\ *\ " "iov" ", size_t\ " "iovlen" ");" .SH "ARGUMENTS" .PP \fIhandle\fR .RS 4 [in] cipher handle .RE .PP \fIiov\fR .RS 4 [out] scatter/gather list pointing to buffers to be filled with the resulting data from a cipher operation\&. .RE .PP \fIiovlen\fR .RS 4 [in] number of outiov scatter/gather list elements\&. .RE .SH "DESCRIPTION" .PP This function may cause the caller to sleep if the kernel buffer holding the data is empty\&. The process will be woken up once more data is sent by calling \fBkcapi_cipher_stream_update\fR\&. .PP Note, when supplying buffers that are not multiple of block size, the buffers will only be filled up to the maximum number of full block sizes that fit into the buffer\&. .PP \fIreturn\fR number of bytes obtained from the kernel upon success; a negative errno\-style error code if an error occurred .SH "AUTHOR" .PP \fBStephan Mueller\fR <\&smueller@chronox.de\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br