summaryrefslogtreecommitdiffstats
path: root/include/crypto
diff options
context:
space:
mode:
authorRichard Henderson2020-08-28 19:05:12 +0200
committerDaniel P. Berrangé2020-09-10 12:02:23 +0200
commit954721ffa8c755ecd8552525b2a2f47da6c9d9f3 (patch)
tree7d162ed6ea2e588b3adac306acd6bff7869cda03 /include/crypto
parentcrypto/nettle: Fix xts_encrypt arguments (diff)
downloadqemu-954721ffa8c755ecd8552525b2a2f47da6c9d9f3.tar.gz
qemu-954721ffa8c755ecd8552525b2a2f47da6c9d9f3.tar.xz
qemu-954721ffa8c755ecd8552525b2a2f47da6c9d9f3.zip
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')
-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 5928e5ecc7..8a42a683a4 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 */