Home
last modified time | relevance | path

Searched refs:QCryptoHash (Results 1 – 10 of 10) sorted by relevance

/openbmc/qemu/include/crypto/
H A Dhash.h38 typedef struct QCryptoHash QCryptoHash; typedef
39 struct QCryptoHash { struct
166 int qcrypto_hash_updatev(QCryptoHash *hash,
182 int qcrypto_hash_update(QCryptoHash *hash,
202 int qcrypto_hash_finalize_digest(QCryptoHash *hash,
220 int qcrypto_hash_finalize_base64(QCryptoHash *hash,
247 int qcrypto_hash_finalize_bytes(QCryptoHash *hash,
262 QCryptoHash *qcrypto_hash_new(QCryptoHashAlgo alg, Error **errp);
270 void qcrypto_hash_free(QCryptoHash *hash);
272 G_DEFINE_AUTOPTR_CLEANUP_FUNC(QCryptoHash, qcrypto_hash_free)
/openbmc/qemu/crypto/
H A Dhash.c54 g_autoptr(QCryptoHash) ctx = qcrypto_hash_new(alg, errp); in qcrypto_hash_bytesv()
81 int qcrypto_hash_updatev(QCryptoHash *hash, in qcrypto_hash_updatev()
91 int qcrypto_hash_update(QCryptoHash *hash, in qcrypto_hash_update()
101 QCryptoHash *qcrypto_hash_new(QCryptoHashAlgo alg, Error **errp) in qcrypto_hash_new()
103 QCryptoHash *hash = NULL; in qcrypto_hash_new()
128 void qcrypto_hash_free(QCryptoHash *hash) in qcrypto_hash_free()
138 int qcrypto_hash_finalize_bytes(QCryptoHash *hash, in qcrypto_hash_finalize_bytes()
150 int qcrypto_hash_finalize_digest(QCryptoHash *hash, in qcrypto_hash_finalize_digest()
172 int qcrypto_hash_finalize_base64(QCryptoHash *hash, in qcrypto_hash_finalize_base64()
194 g_autoptr(QCryptoHash) ctx = qcrypto_hash_new(alg, errp); in qcrypto_hash_digestv()
[all …]
H A Dhash-glib.c48 QCryptoHash *qcrypto_glib_hash_new(QCryptoHashAlgo alg, in qcrypto_glib_hash_new()
51 QCryptoHash *hash; in qcrypto_glib_hash_new()
53 hash = g_new(QCryptoHash, 1); in qcrypto_glib_hash_new()
61 void qcrypto_glib_hash_free(QCryptoHash *hash) in qcrypto_glib_hash_free()
72 int qcrypto_glib_hash_update(QCryptoHash *hash, in qcrypto_glib_hash_update()
87 int qcrypto_glib_hash_finalize(QCryptoHash *hash, in qcrypto_glib_hash_finalize()
H A Dhash-gcrypt.c52 QCryptoHash *qcrypto_gcrypt_hash_new(QCryptoHashAlgo alg, Error **errp) in qcrypto_gcrypt_hash_new()
54 QCryptoHash *hash; in qcrypto_gcrypt_hash_new()
57 hash = g_new(QCryptoHash, 1); in qcrypto_gcrypt_hash_new()
75 void qcrypto_gcrypt_hash_free(QCryptoHash *hash) in qcrypto_gcrypt_hash_free()
89 int qcrypto_gcrypt_hash_update(QCryptoHash *hash, in qcrypto_gcrypt_hash_update()
104 int qcrypto_gcrypt_hash_finalize(QCryptoHash *hash, in qcrypto_gcrypt_hash_finalize()
H A Dhashpriv.h24 QCryptoHash *(*hash_new)(QCryptoHashAlgo alg, Error **errp);
25 int (*hash_update)(QCryptoHash *hash,
29 int (*hash_finalize)(QCryptoHash *hash,
33 void (*hash_free)(QCryptoHash *hash);
H A Dhash-gnutls.c57 QCryptoHash *qcrypto_gnutls_hash_new(QCryptoHashAlgo alg, Error **errp) in qcrypto_gnutls_hash_new()
59 QCryptoHash *hash; in qcrypto_gnutls_hash_new()
62 hash = g_new(QCryptoHash, 1); in qcrypto_gnutls_hash_new()
80 void qcrypto_gnutls_hash_free(QCryptoHash *hash) in qcrypto_gnutls_hash_free()
91 int qcrypto_gnutls_hash_update(QCryptoHash *hash, in qcrypto_gnutls_hash_update()
112 int qcrypto_gnutls_hash_finalize(QCryptoHash *hash, in qcrypto_gnutls_hash_finalize()
H A Dhash-nettle.c122 QCryptoHash *qcrypto_nettle_hash_new(QCryptoHashAlgo alg, Error **errp) in qcrypto_nettle_hash_new()
124 QCryptoHash *hash; in qcrypto_nettle_hash_new()
126 hash = g_new(QCryptoHash, 1); in qcrypto_nettle_hash_new()
135 void qcrypto_nettle_hash_free(QCryptoHash *hash) in qcrypto_nettle_hash_free()
144 int qcrypto_nettle_hash_update(QCryptoHash *hash, in qcrypto_nettle_hash_update()
161 int qcrypto_nettle_hash_finalize(QCryptoHash *hash, in qcrypto_nettle_hash_finalize()
H A Dhash-afalg.c118 QCryptoHash *qcrypto_afalg_hash_new(QCryptoHashAlgo alg, Error **errp) in qcrypto_afalg_hash_new()
122 QCryptoHash *hash; in qcrypto_afalg_hash_new()
131 hash = g_new(QCryptoHash, 1); in qcrypto_afalg_hash_new()
143 void qcrypto_afalg_hash_free(QCryptoHash *hash) in qcrypto_afalg_hash_free()
220 int qcrypto_afalg_hash_update(QCryptoHash *hash, in qcrypto_afalg_hash_update()
230 int qcrypto_afalg_hash_finalize(QCryptoHash *hash, in qcrypto_afalg_hash_finalize()
/openbmc/qemu/include/hw/misc/
H A Daspeed_hace.h41 QCryptoHash *hash_ctx;
/openbmc/qemu/tests/unit/
H A Dtest-crypto-hash.c267 g_autoptr(QCryptoHash) hash = NULL; in test_hash_accumulate()