Home
last modified time | relevance | path

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

/hardware/google/gfxstream/guest/mesa/src/util/blake3/
Dblake3.c504 size_t subtree_len = round_down_to_power_of_2(input_len); in blake3_hasher_update() local
521 while ((((uint64_t)(subtree_len - 1)) & count_so_far) != 0) { in blake3_hasher_update()
522 subtree_len /= 2; in blake3_hasher_update()
526 uint64_t subtree_chunks = subtree_len / BLAKE3_CHUNK_LEN; in blake3_hasher_update()
527 if (subtree_len <= BLAKE3_CHUNK_LEN) { in blake3_hasher_update()
531 chunk_state_update(&chunk_state, input_bytes, subtree_len); in blake3_hasher_update()
540 compress_subtree_to_parent_node(input_bytes, subtree_len, self->key, in blake3_hasher_update()
548 input_bytes += subtree_len; in blake3_hasher_update()
549 input_len -= subtree_len; in blake3_hasher_update()