encrypt-params.h
1 
22 #ifndef NDN_ENCRYPT_PARAMS_H
23 #define NDN_ENCRYPT_PARAMS_H
24 
25 #include <ndn-cpp/c/encrypt/algo/encrypt-params-types.h>
26 #include "../../util/blob.h"
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 
36 static __inline void ndn_EncryptParams_initialize(struct ndn_EncryptParams *self)
37 {
38  self->algorithmType = (ndn_EncryptAlgorithmType)-1;
39  ndn_Blob_initialize(&self->initialVector, 0, 0);
40 }
41 
42 #ifdef __cplusplus
43 }
44 #endif
45 
46 #endif
An ndn_EncryptParams holds an algorithm type and other parameters used to encrypt and decrypt...
Definition: encrypt-params-types.h:44