[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 3/7] crypto: Remove "qemu/osdep.h" in rsakey.h
From: |
Lei He |
Subject: |
[PATCH v2 3/7] crypto: Remove "qemu/osdep.h" in rsakey.h |
Date: |
Wed, 22 Jun 2022 17:15:45 +0800 |
Move 'include "qemu/osdep.h"' from rsakey.h to rsakey.c.
Signed-off-by: lei he <helei.sig11@bytedance.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
---
crypto/rsakey.c | 1 +
crypto/rsakey.h | 1 -
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/crypto/rsakey.c b/crypto/rsakey.c
index cc40e072f0..dcdbd9ec57 100644
--- a/crypto/rsakey.c
+++ b/crypto/rsakey.c
@@ -19,6 +19,7 @@
*
*/
+#include "qemu/osdep.h"
#include "rsakey.h"
void qcrypto_akcipher_rsakey_free(QCryptoAkCipherRSAKey *rsa_key)
diff --git a/crypto/rsakey.h b/crypto/rsakey.h
index 974b76f659..ba88974d12 100644
--- a/crypto/rsakey.h
+++ b/crypto/rsakey.h
@@ -22,7 +22,6 @@
#ifndef QCRYPTO_RSAKEY_H
#define QCRYPTO_RSAKEY_H
-#include "qemu/osdep.h"
#include "qemu/host-utils.h"
#include "crypto/akcipher.h"
--
2.11.0
- [PATCH v2 0/7] crypto: Introduce ECDSA algorithm, Lei He, 2022/06/22
- [PATCH v2 1/7] crypto: Introduce ECDSA algorithm API, Lei He, 2022/06/22
- [PATCH v2 5/7] crypto: Implement ECDSA algorithm by hogweed, Lei He, 2022/06/22
- [PATCH v2 4/7] crypto: Add ECDSA key parser, Lei He, 2022/06/22
- [PATCH v2 6/7] crypto: Implement ECDSA algorithm by gcrypt, Lei He, 2022/06/22
- [PATCH v2 3/7] crypto: Remove "qemu/osdep.h" in rsakey.h,
Lei He <=
- [PATCH v2 2/7] crypto: Support more ASN.1 types, Lei He, 2022/06/22
- [PATCH v2 7/7] crypto: Add test suite for ECDSA algorithm, Lei He, 2022/06/22
- PING: [PATCH v2 0/7] crypto: Introduce ECDSA algorithm, Lei He, 2022/06/30