crypto/hashpriv: Remove old hash API function

Remove old hash_bytesv function, as it was replaced by the 4
new functions.

Signed-off-by: Alejandro Zeise <alejandro.zeise@seagate.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Alejandro Zeise 2024-10-08 09:57:22 +02:00 committed by Daniel P. Berrangé
parent 8a70903b06
commit 24a6271ebb

View File

@ -21,12 +21,6 @@
typedef struct QCryptoHashDriver QCryptoHashDriver; typedef struct QCryptoHashDriver QCryptoHashDriver;
struct QCryptoHashDriver { struct QCryptoHashDriver {
int (*hash_bytesv)(QCryptoHashAlgo alg,
const struct iovec *iov,
size_t niov,
uint8_t **result,
size_t *resultlen,
Error **errp);
QCryptoHash *(*hash_new)(QCryptoHashAlgo alg, Error **errp); QCryptoHash *(*hash_new)(QCryptoHashAlgo alg, Error **errp);
int (*hash_update)(QCryptoHash *hash, int (*hash_update)(QCryptoHash *hash,
const struct iovec *iov, const struct iovec *iov,