mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-27 05:20:50 +00:00
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>
This commit is contained in:
parent
d6f77401be
commit
954721ffa8
@ -17,8 +17,6 @@
|
|||||||
|
|
||||||
#include "qapi/qapi-types-crypto.h"
|
#include "qapi/qapi-types-crypto.h"
|
||||||
|
|
||||||
typedef struct QCryptoCipherDriver QCryptoCipherDriver;
|
|
||||||
|
|
||||||
struct QCryptoCipherDriver {
|
struct QCryptoCipherDriver {
|
||||||
int (*cipher_encrypt)(QCryptoCipher *cipher,
|
int (*cipher_encrypt)(QCryptoCipher *cipher,
|
||||||
const void *in,
|
const void *in,
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
#include "qapi/qapi-types-crypto.h"
|
#include "qapi/qapi-types-crypto.h"
|
||||||
|
|
||||||
typedef struct QCryptoCipher QCryptoCipher;
|
typedef struct QCryptoCipher QCryptoCipher;
|
||||||
|
typedef struct QCryptoCipherDriver QCryptoCipherDriver;
|
||||||
|
|
||||||
/* See also "QCryptoCipherAlgorithm" and "QCryptoCipherMode"
|
/* See also "QCryptoCipherAlgorithm" and "QCryptoCipherMode"
|
||||||
* enums defined in qapi/crypto.json */
|
* enums defined in qapi/crypto.json */
|
||||||
|
Loading…
Reference in New Issue
Block a user