Home
last modified time | relevance | path

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

/external/openssh/
Dxmss_fast.c72 …ds_state *state, unsigned char *stack, int stackoffset, unsigned char *stacklevels, unsigned char … in xmss_set_bds_state() argument
76 state->stacklevels = stacklevels; in xmss_set_bds_state()
166 if (state->stacklevels[state->stackoffset - i - 1] < r) { in treehash_minheight_on_stack()
167 r = state->stacklevels[state->stackoffset - i - 1]; in treehash_minheight_on_stack()
199 unsigned int stacklevels[height+1]; in treehash_setup() local
216 stacklevels[stackoffset] = 0; in treehash_setup()
221 while (stackoffset>1 && stacklevels[stackoffset-1] == stacklevels[stackoffset-2]) in treehash_setup()
223 nodeh = stacklevels[stackoffset-1]; in treehash_setup()
235 setTreeHeight(node_addr, stacklevels[stackoffset-1]); in treehash_setup()
236 setTreeIndex(node_addr, (idx >> (stacklevels[stackoffset-1]+1))); in treehash_setup()
[all …]
Dxmss_fast.h46 unsigned char *stacklevels; member
58 …ds_state *state, unsigned char *stack, int stackoffset, unsigned char *stacklevels, unsigned char …
Dsshkey-xmss.c61 u_char *stacklevels; member
169 (state->stacklevels = calloc(num_stacklevels(state), 1))== NULL || in sshkey_xmss_init_bds_state()
182 state->stacklevels, state->auth, state->keep, state->treehash, in sshkey_xmss_init_bds_state()
195 free(state->stacklevels); in sshkey_xmss_free_bds()
202 state->stacklevels = NULL; in sshkey_xmss_free_bds()
693 (r = sshbuf_put_string(b, state->stacklevels, num_stacklevels(state))) != 0 || in sshkey_xmss_serialize_state()
791 (r = sshbuf_get_string(b, &state->stacklevels, &lsl)) != 0 || in sshkey_xmss_deserialize_state()
826 state->stacklevels, state->auth, state->keep, state->treehash, in sshkey_xmss_deserialize_state()