diff options
author | Alejandro Zeise <alejandro.zeise@seagate.com> | 2024-10-08 09:57:11 +0200 |
---|---|---|
committer | Daniel P. Berrangé <berrange@redhat.com> | 2024-10-10 12:33:21 +0100 |
commit | f4f3d6663d6bf63a398afb6c82c0a9fd1c1aad0f (patch) | |
tree | 08d10b0392fff92c4cd49e4c325ab703aa4dd510 /ui/spice-input.c | |
parent | 4fd0a730d76af205441b8ad7a301407a424c5d50 (diff) | |
download | qemu-f4f3d6663d6bf63a398afb6c82c0a9fd1c1aad0f.zip qemu-f4f3d6663d6bf63a398afb6c82c0a9fd1c1aad0f.tar.gz qemu-f4f3d6663d6bf63a398afb6c82c0a9fd1c1aad0f.tar.bz2 |
crypto/hash-gnutls: Implement new hash API
Implements the new hashing API in the gnutls 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_gnutls_hash_new()
- Reworked qcrypto_gnutls_hash_finalize()
- Handled gnutls_hash_init() errors in qcrypto_gnutls_hash_new()
- Replaced gnutls_hash_deinit() by gnutls_hash_output() in
qcrypto_gnutls_hash_finalize()
- Freed resources with gnutls_hash_deinit() in
qcrypto_gnutls_hash_free() ]
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>
Diffstat (limited to 'ui/spice-input.c')
0 files changed, 0 insertions, 0 deletions