Ordo  0.3.4
Symmetric Cryptography Library
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
enc_stream.h
Go to the documentation of this file.
1 /*===-- enc/enc_stream.h -------------------------------*- PUBLIC -*- H -*-===*/
9 /*===----------------------------------------------------------------------===*/
10 
11 #ifndef ORDO_ENC_STREAM_H
12 #define ORDO_ENC_STREAM_H
13 
15 #include "ordo/common/interface.h"
19 
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23 
24 /*===----------------------------------------------------------------------===*/
25 
26 #define enc_stream_init ordo_enc_stream_init
27 #define enc_stream_update ordo_enc_stream_update
28 #define enc_stream_final ordo_enc_stream_final
29 #define enc_stream_key_len ordo_enc_stream_key_len
30 #define enc_stream_bsize ordo_enc_stream_bsize
31 
32 /*===----------------------------------------------------------------------===*/
33 
34 #define ENC_STREAM_CTX STREAM_STATE
35 
45 #define ordo_enc_stream_init stream_init
46 
59 #define ordo_enc_stream_update stream_update
60 
65 #define ordo_enc_stream_final stream_final
66 
78 ORDO_PUBLIC
79 size_t enc_stream_key_len(prim_t cipher,
80  size_t key_len);
81 
88 #define ordo_enc_stream_bsize stream_bsize
89 
90 /*===----------------------------------------------------------------------===*/
91 
92 #ifdef __cplusplus
93 }
94 #endif
95 
96 #endif
int prim_t
Data type which holds a primitive identifier.
Definition: identification.h:58
Abstraction Layer.
ORDO_PUBLIC size_t enc_stream_key_len(prim_t cipher, size_t key_len)
Definition: enc_stream.c:11