Lines Matching full:hash

2  * QEMU Crypto hash algorithms
47 * @alg: the hash algorithm
49 * Determine if @alg hash algorithm is supported by the
59 * @alg: the hash algorithm
61 * Determine the size of the hash digest in bytes
69 * @alg: the hash algorithm
70 * @iov: the array of memory regions to hash
72 * @result: pointer to hold output hash
76 * Computes the hash across all the memory regions
81 * @result_len match the size of the hash output. The digest will
85 * a buffer to hold the hash output digest, storing a pointer to
101 * @alg: the hash algorithm
102 * @buf: the memory region to hash
104 * @result: pointer to hold output hash
108 * Computes the hash across all the memory region
113 * @result_len match the size of the hash output. The digest will
117 * a buffer to hold the hash output digest, storing a pointer to
133 * @alg: the hash algorithm
134 * @iov: the array of memory regions to hash
136 * @digest: pointer to hold output hash
139 * Computes the hash across all the memory regions
142 * hash, which will be terminated by '\0'. The
156 * @hash: hash object from qcrypto_hash_new
157 * @iov: the array of memory regions to hash
161 * Updates the given hash object with all the memory regions
166 int qcrypto_hash_updatev(QCryptoHash *hash,
172 * @hash: hash object from qcrypto_hash_new
173 * @buf: the memory region to hash
177 * Updates the given hash object with the data from
182 int qcrypto_hash_update(QCryptoHash *hash,
189 * @hash: the hash object to finalize
190 * @digest: pointer to hold output hash
193 * Computes the hash from the given hash object. Hash object
196 * computed hash, which will be terminated by '\0'. The memory pointer
202 int qcrypto_hash_finalize_digest(QCryptoHash *hash,
208 * @hash_ctx: hash object to finalize
209 * @base64: pointer to store the hash result in
212 * Computes the hash from the given hash object. Hash object
215 * hash, which will be terminated by '\0'. The memory pointer in @base64
220 int qcrypto_hash_finalize_base64(QCryptoHash *hash,
226 * @hash_ctx: hash object to finalize
227 * @result: pointer to store the hash result in
231 * Computes the hash from the given hash object. Hash object
236 * @result_len match the size of the hash output. The digest will
240 * a buffer to hold the hash output digest, storing a pointer to
247 int qcrypto_hash_finalize_bytes(QCryptoHash *hash,
254 * @alg: the hash algorithm
260 * Returns: New hash object with the given algorithm, or NULL on error.
266 * @hash: hash object to free
270 void qcrypto_hash_free(QCryptoHash *hash);
276 * @alg: the hash algorithm
277 * @buf: the memory region to hash
279 * @digest: pointer to hold output hash
282 * Computes the hash across all the memory region
285 * hash, which will be terminated by '\0'. The
299 * @alg: the hash algorithm
300 * @iov: the array of memory regions to hash
302 * @base64: pointer to hold output hash
305 * Computes the hash across all the memory regions
308 * hash, which will be terminated by '\0'. The
322 * @alg: the hash algorithm
323 * @buf: the memory region to hash
325 * @base64: pointer to hold output hash
328 * Computes the hash across all the memory region
331 * hash, which will be terminated by '\0'. The