diff mbox series

[v4,14/15] crypto/hashpriv: Remove old hash API function

Message ID 20240807195122.2827364-15-alejandro.zeise@seagate.com (mailing list archive)
State New, archived
Headers show
Series hw/misc/aspeed_hace: Fix SG Accumulative Hash Calculations | expand

Commit Message

Alejandro Zeise Aug. 7, 2024, 7:51 p.m. UTC
Remove old hash_bytesv function, as it was replaced by the 4
new functions.

Signed-off-by: Alejandro Zeise <alejandro.zeise@seagate.com>
---
 crypto/hashpriv.h | 6 ------
 1 file changed, 6 deletions(-)

Comments

Daniel P. Berrangé Aug. 8, 2024, 5:24 p.m. UTC | #1
On Wed, Aug 07, 2024 at 07:51:21PM +0000, Alejandro Zeise wrote:
> Remove old hash_bytesv function, as it was replaced by the 4
> new functions.
> 
> Signed-off-by: Alejandro Zeise <alejandro.zeise@seagate.com>
> ---
>  crypto/hashpriv.h | 6 ------
>  1 file changed, 6 deletions(-)

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>


With regards,
Daniel
diff mbox series

Patch

diff --git a/crypto/hashpriv.h b/crypto/hashpriv.h
index 02f17ee99f..aec29b3ec3 100644
--- a/crypto/hashpriv.h
+++ b/crypto/hashpriv.h
@@ -21,12 +21,6 @@ 
 typedef struct QCryptoHashDriver QCryptoHashDriver;
 
 struct QCryptoHashDriver {
-    int (*hash_bytesv)(QCryptoHashAlgorithm alg,
-                       const struct iovec *iov,
-                       size_t niov,
-                       uint8_t **result,
-                       size_t *resultlen,
-                       Error **errp);
     QCryptoHash *(*hash_new)(QCryptoHashAlgorithm alg, Error **errp);
     int (*hash_update)(QCryptoHash *hash,
                        const struct iovec *iov,