#ifndef QCRYPTO_CIPHERPRIV_H
#define QCRYPTO_CIPHERPRIV_H
-#include "qapi-types.h"
-
-typedef struct QCryptoCipherDriver QCryptoCipherDriver;
+#include "qapi/qapi-types-crypto.h"
struct QCryptoCipherDriver {
int (*cipher_encrypt)(QCryptoCipher *cipher,
#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