Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kCipherStream_Construct | ( | kCipherStream * | cipherStream,
|  | kStream | stream,
|  | kCipher | cipher,
|  | kAlloc | allocator
| ) |  |

Constructs a kCipherStream object.

Parameters

  cipherStream | Destination for the constructed object handle.
  stream | Stream used for the underlying read/write functions.
  cipher | Cipher used for encryption and/or decryption.
  allocator | Memory allocator (or kNULL for default).

Returns
  Operation status.