summaryrefslogtreecommitdiffstats
path: root/crypto/cipherpriv.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/cipherpriv.h')
-rw-r--r--crypto/cipherpriv.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/crypto/cipherpriv.h b/crypto/cipherpriv.h
index 0823239f41..396527857d 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,
@@ -43,14 +41,12 @@ struct QCryptoCipherDriver {
#include "afalgpriv.h"
-extern QCryptoAFAlg *
+extern QCryptoCipher *
qcrypto_afalg_cipher_ctx_new(QCryptoCipherAlgorithm alg,
QCryptoCipherMode mode,
const uint8_t *key,
size_t nkey, Error **errp);
-extern struct QCryptoCipherDriver qcrypto_cipher_afalg_driver;
-
#endif
#endif