'\" t .\" Title: kcapi_aead_stream_update_last .\" Author: .\" Generator: DocBook XSL Stylesheets vsnapshot .\" Date: November 2020 .\" Manual: Programming Interface .\" Source: libkcapi Manual 1.2.1 .\" Language: English .\" .TH "KCAPI_AEAD_STREAM_UP" "3" "November 2020" "libkcapi Manual 1\&.2\&.1" "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_update_last \- send last data for processing (stream) .SH "SYNOPSIS" .HP \w'int32_t\ kcapi_aead_stream_update_last('u .BI "int32_t kcapi_aead_stream_update_last(struct\ kcapi_handle\ *\ " "handle" ", struct\ iovec\ *\ " "iov" ", uint32_t\ " "iovlen" ");" .SH "ARGUMENTS" .PP \fIhandle\fR .RS 4 [in] cipher handle .RE .PP \fIiov\fR .RS 4 [in] scatter/gather list with data to be processed by the cipher operation\&. .RE .PP \fIiovlen\fR .RS 4 [in] number of scatter/gather list elements\&. .RE .SH "DESCRIPTION" .PP Using this function call, more plaintext for encryption or ciphertext for decryption can be submitted to the kernel\&. .PP This call is identical to the \fBkcapi_aead_stream_update\fR call with the exception that it marks the last data buffer before the cipher operation is triggered\&. Typically, the tag value is provided with this call\&. .SH "WARNING" .PP The memory referenced by \fIiov\fR is not accessed by the kernel during this call\&. The memory is first accessed when \fBkcapi_cipher_stream_op\fR is called\&. Thus, you MUST make sure that the referenced memory is still present at the time \fBkcapi_cipher_stream_op\fR is called\&. .PP \fIreturn\fR number of bytes sent to 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