dav/crypto.h

changeset 39
3e55bed345f9
parent 33
0bbbb0341606
--- a/dav/crypto.h	Tue Sep 03 12:08:35 2013 +0200
+++ b/dav/crypto.h	Sat Sep 07 14:08:43 2013 +0200
@@ -32,6 +32,7 @@
 #include <libidav/webdav.h>
 #include "config.h"
 #include <openssl/evp.h>
+#include <ucx/string.h>
 
 #ifdef	__cplusplus
 extern "C" {
@@ -68,6 +69,9 @@
 size_t aes_read(void *buf, size_t s, size_t n, AESEncrypter *enc);
 void aes_encrypter_close(AESEncrypter *enc);
 
+char* aes_encrypt(char *in, Key *key);
+char* aes_decrypt(char *in, Key *key);
+
 #ifdef	__cplusplus
 }
 #endif

mercurial