]> git.ipfire.org Git - thirdparty/qemu.git/commit
crypto/hash-nettle: Implement new hash API
authorAlejandro Zeise <alejandro.zeise@seagate.com>
Tue, 8 Oct 2024 07:57:12 +0000 (09:57 +0200)
committerDaniel P. Berrangé <berrange@redhat.com>
Thu, 10 Oct 2024 11:33:26 +0000 (12:33 +0100)
commit278d59601536a95a3c62af31ebd20e0bfcb833fc
tree117edbaf4236b75bee3b491736c9e08432c92113
parentf4f3d6663d6bf63a398afb6c82c0a9fd1c1aad0f
crypto/hash-nettle: Implement new hash API

Implements the new hashing API in the nettle hash driver.
Supports creating/destroying a context, updating the context
with input data and obtaining an output hash.

Signed-off-by: Alejandro Zeise <alejandro.zeise@seagate.com>
[ clg: - Dropped qcrypto_hash_supports() in qcrypto_nettle_hash_new() ]
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
crypto/hash-nettle.c