* [PATCH] qapi/crypto: Rename QCryptoAFAlg to QCryptoAFAlgo (addtl)
@ 2024-10-22 21:14 Cal Peake
2024-10-23 5:48 ` Markus Armbruster
0 siblings, 1 reply; 3+ messages in thread
From: Cal Peake @ 2024-10-22 21:14 UTC (permalink / raw)
To: qemu-devel; +Cc: Markus Armbruster, Daniel P. Berrangé
Hello,
This is a follow up to commit 8f525028bc6f52e4af3f737928d16c3f39a6ea54 to
take care of a few remaining QCryptoAFAlg -> QCryptoAFAlgo renames.
Signed-off-by: Cal Peake <cp@absolutedigital.net>
diff --git a/crypto/hash-afalg.c b/crypto/hash-afalg.c
index 06e1e4699c..8c0ce5b520 100644
--- a/crypto/hash-afalg.c
+++ b/crypto/hash-afalg.c
@@ -142,7 +142,7 @@ QCryptoHash *qcrypto_afalg_hash_new(QCryptoHashAlgo alg, Error **errp)
static
void qcrypto_afalg_hash_free(QCryptoHash *hash)
{
- QCryptoAFAlg *ctx = hash->opaque;
+ QCryptoAFAlgo *ctx = hash->opaque;
if (ctx) {
qcrypto_afalg_comm_free(ctx);
@@ -159,7 +159,7 @@ void qcrypto_afalg_hash_free(QCryptoHash *hash)
* be provided to calculate the final hash.
*/
static
-int qcrypto_afalg_send_to_kernel(QCryptoAFAlg *afalg,
+int qcrypto_afalg_send_to_kernel(QCryptoAFAlgo *afalg,
const struct iovec *iov,
size_t niov,
bool more_data,
@@ -183,7 +183,7 @@ int qcrypto_afalg_send_to_kernel(QCryptoAFAlg *afalg,
}
static
-int qcrypto_afalg_recv_from_kernel(QCryptoAFAlg *afalg,
+int qcrypto_afalg_recv_from_kernel(QCryptoAFAlgo *afalg,
QCryptoHashAlgo alg,
uint8_t **result,
size_t *result_len,
@@ -222,7 +222,7 @@ int qcrypto_afalg_hash_update(QCryptoHash *hash,
size_t niov,
Error **errp)
{
- return qcrypto_afalg_send_to_kernel((QCryptoAFAlg *) hash->opaque,
+ return qcrypto_afalg_send_to_kernel((QCryptoAFAlgo *) hash->opaque,
iov, niov, true, errp);
}
@@ -232,7 +232,7 @@ int qcrypto_afalg_hash_finalize(QCryptoHash *hash,
size_t *result_len,
Error **errp)
{
- return qcrypto_afalg_recv_from_kernel((QCryptoAFAlg *) hash->opaque,
+ return qcrypto_afalg_recv_from_kernel((QCryptoAFAlgo *) hash->opaque,
hash->alg, result, result_len, errp);
}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] qapi/crypto: Rename QCryptoAFAlg to QCryptoAFAlgo (addtl)
2024-10-22 21:14 [PATCH] qapi/crypto: Rename QCryptoAFAlg to QCryptoAFAlgo (addtl) Cal Peake
@ 2024-10-23 5:48 ` Markus Armbruster
2024-10-23 23:30 ` Cal Peake
0 siblings, 1 reply; 3+ messages in thread
From: Markus Armbruster @ 2024-10-23 5:48 UTC (permalink / raw)
To: Cal Peake; +Cc: qemu-devel, Daniel P. Berrangé
Cal Peake <cp@absolutedigital.net> writes:
> Hello,
>
> This is a follow up to commit 8f525028bc6f52e4af3f737928d16c3f39a6ea54 to
> take care of a few remaining QCryptoAFAlg -> QCryptoAFAlgo renames.
>
> Signed-off-by: Cal Peake <cp@absolutedigital.net>
I posted the same fix, and it's in a pull request now:
Subject: [PULL 07/14] crypto/hash-afalg: Fix broken build
Date: Tue, 22 Oct 2024 16:24:08 +0100
Message-ID: <20241022152415.1632556-8-berrange@redhat.com>
https://lore.kernel.org/qemu-devel/20241022152415.1632556-8-berrange@redhat.com/
Thanks!
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] qapi/crypto: Rename QCryptoAFAlg to QCryptoAFAlgo (addtl)
2024-10-23 5:48 ` Markus Armbruster
@ 2024-10-23 23:30 ` Cal Peake
0 siblings, 0 replies; 3+ messages in thread
From: Cal Peake @ 2024-10-23 23:30 UTC (permalink / raw)
To: Markus Armbruster; +Cc: qemu-devel, Daniel P. Berrangé
On Wed, 23 Oct 2024, Markus Armbruster wrote:
> I posted the same fix, and it's in a pull request now:
>
> Subject: [PULL 07/14] crypto/hash-afalg: Fix broken build
> Date: Tue, 22 Oct 2024 16:24:08 +0100
> Message-ID: <20241022152415.1632556-8-berrange@redhat.com>
> https://lore.kernel.org/qemu-devel/20241022152415.1632556-8-berrange@redhat.com/
>
> Thanks!
>
Ah, thank you!
--
Cal Peake
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-10-23 23:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-22 21:14 [PATCH] qapi/crypto: Rename QCryptoAFAlg to QCryptoAFAlgo (addtl) Cal Peake
2024-10-23 5:48 ` Markus Armbruster
2024-10-23 23:30 ` Cal Peake
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).