diff options
author | Cedric BAIL <cedric.bail@samsung.com> | 2015-03-17 08:50:00 +0100 |
---|---|---|
committer | Cedric BAIL <cedric@osg.samsung.com> | 2015-03-17 09:58:17 +0100 |
commit | 2e34d835d66f8062422008ccef8f5ac91ad1597c (patch) | |
tree | c4a8481a1de34c3e50d07cacd31069f893a67757 /src/lib/emile/Emile.h | |
parent | cc88832353f01b754fcb199c28f7baa20679bdb9 (diff) |
emile: expose cipher/uncipher block logic.
Diffstat (limited to 'src/lib/emile/Emile.h')
-rw-r--r-- | src/lib/emile/Emile.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/emile/Emile.h b/src/lib/emile/Emile.h index b0ab0efa64..28f84aa53c 100644 --- a/src/lib/emile/Emile.h +++ b/src/lib/emile/Emile.h | |||
@@ -27,6 +27,8 @@ | |||
27 | #ifndef EMILE_H_ | 27 | #ifndef EMILE_H_ |
28 | #define EMILE_H_ | 28 | #define EMILE_H_ |
29 | 29 | ||
30 | #include <Eina.h> | ||
31 | |||
30 | #ifdef EAPI | 32 | #ifdef EAPI |
31 | # undef EAPI | 33 | # undef EAPI |
32 | #endif /* ifdef EAPI */ | 34 | #endif /* ifdef EAPI */ |
@@ -104,6 +106,12 @@ EAPI int emile_shutdown(void); | |||
104 | * @} | 106 | * @} |
105 | */ | 107 | */ |
106 | 108 | ||
109 | EAPI Eina_Binbuf *emile_binbuf_cipher(const Eina_Binbuf *in, | ||
110 | const char *key, unsigned int length); | ||
111 | |||
112 | EAPI Eina_Binbuf *emile_binbuf_decipher(const Eina_Binbuf *in, | ||
113 | const char *key, unsigned int length); | ||
114 | |||
107 | #ifdef __cplusplus | 115 | #ifdef __cplusplus |
108 | } | 116 | } |
109 | #endif /* ifdef __cplusplus */ | 117 | #endif /* ifdef __cplusplus */ |