diff options
author | Alejandro Zeise <alejandro.zeise@seagate.com> | 2024-10-08 09:57:08 +0200 |
---|---|---|
committer | Daniel P. Berrangé <berrange@redhat.com> | 2024-10-10 12:32:59 +0100 |
commit | 190feb488473ca07df17dfa6fbc073a407258923 (patch) | |
tree | b0d8ec7d45da04340e1eca5bdae7ed465f76c0b2 /crypto/akcipher.c | |
parent | 838fc0a8769d7cc6edfe50451ba4e3368395f5c1 (diff) |
crypto: accumulative hashing API
Changes the hash API to support accumulative hashing.
Hash objects are created with "qcrypto_hash_new",
updated with data with "qcrypto_hash_update", and
the hash obtained with "qcrypto_hash_finalize".
These changes bring the hashing API more in line with the
hmac API.
Signed-off-by: Alejandro Zeise <alejandro.zeise@seagate.com>
[ clg: - Changed documentation "non-zero on error" -> "-1 on error" ]
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 'crypto/akcipher.c')
0 files changed, 0 insertions, 0 deletions