Guardtime KSI c SDK
Public Member Functions | Data Fields
KSI_TreeBuilder_st Struct Reference

#include <tree_builder.h>

Public Member Functions

 KSI_LIST (KSI_TreeBuilderLeafProcessor) *cbList
 

Data Fields

KSI_CTXctx
 
size_t ref
 
KSI_TreeNoderootNode
 
KSI_HashAlgorithm algo
 
KSI_TreeNodestack [KSI_TREE_BUILDER_STACK_LEN]
 
KSI_DataHasherhsr
 

Member Function Documentation

◆ KSI_LIST()

KSI_TreeBuilder_st::KSI_LIST ( KSI_TreeBuilderLeafProcessor  )

Callback functions for the leaf node. They are executed as a sequence where the last output tree node is the input node for the next call. The final output node is added to the tree.

Field Documentation

◆ algo

KSI_HashAlgorithm KSI_TreeBuilder_st::algo

Hashing algorithm for the internal nodes.

◆ ctx

KSI_CTX* KSI_TreeBuilder_st::ctx

KSI context.

◆ hsr

KSI_DataHasher* KSI_TreeBuilder_st::hsr

Common hashing object.

◆ ref

size_t KSI_TreeBuilder_st::ref

Reference counter for the object.

◆ rootNode

KSI_TreeNode* KSI_TreeBuilder_st::rootNode

The root node of the computed tree. If set, the computation is finished.

◆ stack

KSI_TreeNode* KSI_TreeBuilder_st::stack[KSI_TREE_BUILDER_STACK_LEN]

Stack of the root nodes of complete binary trees.


The documentation for this struct was generated from the following file: