Home
last modified time | relevance | path

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

/third_party/python/Modules/_blake2/clinic/
Dblake2b_impl.c.h18 unsigned long long node_offset, int node_depth,
40 int node_depth = 0; in py_blake2b_new() local
138 node_depth = _PyLong_AsInt(fastargs[9]); in py_blake2b_new()
139 if (node_depth == -1 && PyErr_Occurred()) { in py_blake2b_new()
169 …est_size, &key, &salt, &person, fanout, depth, leaf_size, node_offset, node_depth, inner_size, las… in py_blake2b_new()
Dblake2s_impl.c.h18 unsigned long long node_offset, int node_depth,
40 int node_depth = 0; in py_blake2s_new() local
138 node_depth = _PyLong_AsInt(fastargs[9]); in py_blake2s_new()
139 if (node_depth == -1 && PyErr_Occurred()) { in py_blake2s_new()
169 …est_size, &key, &salt, &person, fanout, depth, leaf_size, node_offset, node_depth, inner_size, las… in py_blake2s_new()
/third_party/python/Modules/_blake2/
Dblake2s_impl.c91 unsigned long long node_offset, int node_depth, in py_blake2s_new_impl() argument
171 if (node_depth < 0 || node_depth > 255) { in py_blake2s_new_impl()
176 self->param.node_depth = node_depth; in py_blake2s_new_impl()
Dblake2b_impl.c92 unsigned long long node_offset, int node_depth, in py_blake2b_new_impl() argument
172 if (node_depth < 0 || node_depth > 255) { in py_blake2b_new_impl()
177 self->param.node_depth = node_depth; in py_blake2b_new_impl()
/third_party/openssl/crypto/blake2/
Dblake2_local.h38 uint8_t node_depth; /* 15 */ member
61 uint8_t node_depth; /* 17 */ member
Dblake2s.c88 P->node_depth = 0; in BLAKE2s_Init()
Dblake2b.c91 P->node_depth = 0; in BLAKE2b_Init()
/third_party/python/Modules/_blake2/impl/
Dblake2b-ref.c115 static inline int blake2b_param_set_node_depth( blake2b_param *P, const uint8_t node_depth ) in blake2b_param_set_node_depth() argument
117 P->node_depth = node_depth; in blake2b_param_set_node_depth()
189 P->node_depth = 0; in blake2b_init()
212 P->node_depth = 0; in blake2b_init_key()
Dblake2s-ref.c108 static inline int blake2s_param_set_node_depth( blake2s_param *P, const uint8_t node_depth ) in blake2s_param_set_node_depth() argument
110 P->node_depth = node_depth; in blake2s_param_set_node_depth()
183 P->node_depth = 0; in blake2s_init()
205 P->node_depth = 0; in blake2s_init_key()
Dblake2s.c145 static inline int blake2s_param_set_node_depth( blake2s_param *P, const uint8_t node_depth ) in blake2s_param_set_node_depth() argument
147 P->node_depth = node_depth; in blake2s_param_set_node_depth()
Dblake2.h79 uint8_t node_depth; // 15 member
105 uint8_t node_depth; // 17 member
Dblake2b.c157 static inline int blake2b_param_set_node_depth( blake2b_param *P, const uint8_t node_depth ) in blake2b_param_set_node_depth() argument
159 P->node_depth = node_depth; in blake2b_param_set_node_depth()
Dblake2sp.c36 P->node_depth = 0; in blake2sp_init_leaf()
54 P->node_depth = 1; in blake2sp_init_root()
Dblake2bp.c37 P->node_depth = 0; in blake2bp_init_leaf()
56 P->node_depth = 1; in blake2bp_init_root()
/third_party/python/Lib/test/
Dtest_hashlib.py632 constructor(node_depth=i)
633 self.assertRaises(ValueError, constructor, node_depth=-1)
634 self.assertRaises(ValueError, constructor, node_depth=256)
665 node_depth=1,
727 node_depth=6,
770 node_depth=6,
/third_party/python/Doc/library/
Dhashlib.rst326 node_depth=0, inner_size=0, last_node=False, \
331 node_depth=0, inner_size=0, last_node=False, \
385 * *node_depth*: node depth (0 to 255, 0 for leaves, or in sequential mode).
681 ... node_offset=0, node_depth=0, last_node=False)
685 ... node_offset=1, node_depth=0, last_node=True)
689 ... node_offset=0, node_depth=1, last_node=True)