Home
last modified time | relevance | path

Searched refs:parents_array_len (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Support/BLAKE3/
H A Dblake3.c227 size_t parents_array_len = 0; in compress_parents_parallel() local
228 while (num_chaining_values - (2 * parents_array_len) >= 2) { in compress_parents_parallel()
229 parents_array[parents_array_len] = in compress_parents_parallel()
230 &child_chaining_values[2 * parents_array_len * BLAKE3_OUT_LEN]; in compress_parents_parallel()
231 parents_array_len += 1; in compress_parents_parallel()
234 blake3_hash_many(parents_array, parents_array_len, 1, key, in compress_parents_parallel()
242 if (num_chaining_values > 2 * parents_array_len) { in compress_parents_parallel()
243 memcpy(&out[parents_array_len * BLAKE3_OUT_LEN], in compress_parents_parallel()
244 &child_chaining_values[2 * parents_array_len * BLAKE3_OUT_LEN], in compress_parents_parallel()
246 return parents_array_len + 1; in compress_parents_parallel()
[all …]
/freebsd/sys/contrib/openzfs/module/icp/algs/blake3/
H A Dblake3.c282 size_t parents_array_len = 0; in compress_parents_parallel() local
284 while (num_chaining_values - (2 * parents_array_len) >= 2) { in compress_parents_parallel()
285 parents_array[parents_array_len] = &child_chaining_values[2 * in compress_parents_parallel()
286 parents_array_len * BLAKE3_OUT_LEN]; in compress_parents_parallel()
287 parents_array_len += 1; in compress_parents_parallel()
290 ops->hash_many(parents_array, parents_array_len, 1, key, 0, B_FALSE, in compress_parents_parallel()
294 if (num_chaining_values > 2 * parents_array_len) { in compress_parents_parallel()
295 memcpy(&out[parents_array_len * BLAKE3_OUT_LEN], in compress_parents_parallel()
296 &child_chaining_values[2 * parents_array_len * in compress_parents_parallel()
298 return (parents_array_len + 1); in compress_parents_parallel()
[all …]