--- 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