diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2020-08-28 10:05:14 -0700 |
---|---|---|
committer | Daniel P. Berrangé <berrange@redhat.com> | 2020-09-10 11:02:23 +0100 |
commit | 3eedf5cc9d45f94e2fd229f0a7aaca556a4ac734 (patch) | |
tree | 8295084987ae1c2929d684ce02a376ab8635939a /include/crypto/cipher.h | |
parent | 7b5dbfb777ff4894ebcd71f5014d26abeef916c6 (diff) |
crypto: Allocate QCryptoCipher with the subclass
Merge the allocation of "opaque" into the allocation of "cipher".
This is step one in reducing the indirection in these classes.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'include/crypto/cipher.h')
-rw-r--r-- | include/crypto/cipher.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/crypto/cipher.h b/include/crypto/cipher.h index cc57179a4d..083e12a7d9 100644 --- a/include/crypto/cipher.h +++ b/include/crypto/cipher.h @@ -80,7 +80,6 @@ typedef struct QCryptoCipherDriver QCryptoCipherDriver; struct QCryptoCipher { QCryptoCipherAlgorithm alg; QCryptoCipherMode mode; - void *opaque; const QCryptoCipherDriver *driver; }; |