1KCAPI_AEAD_STREAM_OP(3)      Programming Interface     KCAPI_AEAD_STREAM_OP(3)
2
3
4

NAME

6       kcapi_aead_stream_op - obtain processed data (stream)
7

SYNOPSIS

9       int32_t kcapi_aead_stream_op(struct kcapi_handle * handle,
10                                    struct iovec * iov, uint32_t iovlen);
11

ARGUMENTS

13       handle
14           [in] cipher handle
15
16       iov
17           [out] scatter/gather list pointing to buffers to be filled with the
18           resulting data from a cipher operation.
19
20       iovlen
21           [in] number of outiov scatter/gather list elements.
22

DESCRIPTION

24       This function may cause the caller to sleep if the kernel buffer
25       holding the data is empty. The process will be woken up once more data
26       is sent by calling kcapi_cipher_stream_update.
27
28       Note, when supplying buffers that are not multiple of block size, the
29       buffers will only be filled up to the maximum number of full block
30       sizes that fit into the buffer.
31
32       return number of bytes obtained from the kernel upon success; a
33       negative errno-style error code if an error occurred
34

AUTHOR

36       Stephan Mueller <smueller@chronox.de>
37           Author.
38
40libkcapi Manual 1.2.1             March 2021           KCAPI_AEAD_STREAM_OP(3)
Impressum