diff -r 6aec77cfa95b -r e6d0fbe0ebd9 dav/crypto.h --- a/dav/crypto.h Mon Aug 12 16:32:30 2013 +0200 +++ b/dav/crypto.h Mon Aug 12 19:50:14 2013 +0200 @@ -41,10 +41,16 @@ EVP_CIPHER_CTX ctx; void *stream; dav_write_func write; + Key *key; + int init; + unsigned char ivtmp[16]; + size_t ivpos; } AESDecrypter; typedef struct { EVP_CIPHER_CTX ctx; + void *iv; + size_t ivlen; void *stream; dav_read_func read; char *tmp;