Electroneum
Functions
tree-hash.c File Reference
#include <assert.h>
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include "hash-ops.h"
Include dependency graph for tree-hash.c:

Functions

size_t tree_hash_cnt (size_t count)
 
void tree_hash (const char(*hashes)[HASH_SIZE], size_t count, char *root_hash)
 

Function Documentation

◆ tree_hash()

void tree_hash ( const char(*)  hashes[HASH_SIZE],
size_t  count,
char *  root_hash 
)

◆ tree_hash_cnt()

size_t tree_hash_cnt ( size_t  count)