Synchronous Symmetric Cipher API - Stream

kcapi_cipher_stream_init_enc — start an encryption operation (stream)
kcapi_cipher_stream_init_dec — start a decryption operation (stream)
kcapi_cipher_stream_update — send more data for processing (stream)
kcapi_cipher_stream_update_last — send last data for processing (stream)
kcapi_cipher_stream_op — obtain processed data (stream)

The stream API requires that first the cipher operation type is set with the init call, followed by an arbitrary number and mix of the update and op calls.