aboutsummaryrefslogtreecommitdiff
path: root/crypto/cipherpriv.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 /crypto/cipherpriv.h
parentd6f77401be1dd2f34d862724fbe128a2349d379b (diff)
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 'crypto/cipherpriv.h')
-rw-r--r--crypto/cipherpriv.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/crypto/cipherpriv.h b/crypto/cipherpriv.h
index 0823239f41..9228c9fc3a 100644
--- a/crypto/cipherpriv.h
+++ b/crypto/cipherpriv.h
@@ -17,8 +17,6 @@
#include "qapi/qapi-types-crypto.h"
-typedef struct QCryptoCipherDriver QCryptoCipherDriver;
-
struct QCryptoCipherDriver {
int (*cipher_encrypt)(QCryptoCipher *cipher,
const void *in,