KCAPI_AKCIPHER_STREA(3) | Programming Interface | KCAPI_AKCIPHER_STREA(3) |
NAME¶
kcapi_akcipher_stream_init_vfy - start an signature verification operation (stream)
SYNOPSIS¶
ssize_t kcapi_akcipher_stream_init_vfy(struct kcapi_handle * handle, struct iovec * iov, size_t iovlen);
ARGUMENTS¶
handle
iov
iovlen
DESCRIPTION¶
A stream signature verification operation is started with this call. Multiple successive kcapi_akcipher_stream_update function calls can be invoked to send more plaintext data to be verified. The last invocation to supply data must be done with kcapi_akcipher_stream_update_last. The kernel buffers the input until kcapi_akcipher_stream_op picks up the verified data. Once plaintext is verified during the kcapi_cipher_stream_op it is removed from the kernel buffer.
The function calls of kcapi_akcipher_stream_update and kcapi_akcipher_stream_op can be mixed, even by multiple threads of an application.
return number of bytes sent to the kernel upon success; a negative errno-style error code if an error occurred
AUTHOR¶
Stephan Mueller <smueller@chronox.de>
COPYRIGHT¶
March 2023 | libkcapi Manual 1.4.0 |