dav/crypto.h

changeset 10
e6d0fbe0ebd9
parent 5
88625853ae74
child 33
0bbbb0341606
--- 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;

mercurial