Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kCipherStream.h
Go to the documentation of this file.
1
10 #ifndef K_API_CIPHER_STREAM_H
11 #define K_API_CIPHER_STREAM_H
12
13 #include <kApi/kApiDef.h>
14 #include <kApi/Crypto/kCipherStream.x.h>
15
25 //typedef kStream kCipherStream; --forward-declared in kFsDef.x.h
26
37 kFx(kStatus) kCipherStream_Construct(kCipherStream *cipherStream, kStream stream, kCipher cipher, kAlloc allocator);
38
59 kFx(kStatus) kCipherStream_FlushFinal(kCipherStream cipherStream);
60
61 #endif
kCipher
Abstract base class for symmetric-key encryption classes.
kAlloc
Abstract base class for memory allocator types.
kCipherStream::kCipherStream_Construct
kStatus kCipherStream_Construct(kCipherStream *cipherStream, kStream stream, kCipher cipher, kAlloc allocator)
Constructs a kCipherStream object.
kCipherStream::kCipherStream_FlushFinal
kStatus kCipherStream_FlushFinal(kCipherStream cipherStream)
Flushes any pending data, adding padding if needed.
kCipherStream
Supports streaming encryption or decryption.
kApiDef.h
Core Zen type declarations.
kStream
Represents an I/O stream.
kStatus
Represents an error code.