aboutsummaryrefslogtreecommitdiff
path: root/include/crypto/cipher.h
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2020-08-28 10:05:12 -0700
committerDaniel P. Berrangé <berrange@redhat.com>2020-09-10 11:02:23 +0100
commit954721ffa8c755ecd8552525b2a2f47da6c9d9f3 (patch)
tree7d162ed6ea2e588b3adac306acd6bff7869cda03 /include/crypto/cipher.h
parentd6f77401be1dd2f34d862724fbe128a2349d379b (diff)
downloadqemu-954721ffa8c755ecd8552525b2a2f47da6c9d9f3.zip
qemu-954721ffa8c755ecd8552525b2a2f47da6c9d9f3.tar.gz
qemu-954721ffa8c755ecd8552525b2a2f47da6c9d9f3.tar.bz2
crypto: Move QCryptoCipherDriver typedef to crypto/cipher.h
Allow the use in QCryptoCipher to be properly typed with the opaque struct pointer. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'include/crypto/cipher.h')
-rw-r--r--include/crypto/cipher.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/crypto/cipher.h b/include/crypto/cipher.h
index 5928e5e..8a42a68 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 */