summaryrefslogtreecommitdiffstats
path: root/include/crypto/cipher.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/crypto/cipher.h')
-rw-r--r--include/crypto/cipher.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/crypto/cipher.h b/include/crypto/cipher.h
index 5928e5ecc7..083e12a7d9 100644
--- a/include/crypto/cipher.h
+++ b/include/crypto/cipher.h
@@ -24,6 +24,7 @@
#include "qapi/qapi-types-crypto.h"
typedef struct QCryptoCipher QCryptoCipher;
+typedef struct QCryptoCipherDriver QCryptoCipherDriver;
/* See also "QCryptoCipherAlgorithm" and "QCryptoCipherMode"
* enums defined in qapi/crypto.json */
@@ -79,8 +80,7 @@ typedef struct QCryptoCipher QCryptoCipher;
struct QCryptoCipher {
QCryptoCipherAlgorithm alg;
QCryptoCipherMode mode;
- void *opaque;
- void *driver;
+ const QCryptoCipherDriver *driver;
};
/**