Lines Matching refs:pub_seed

111 …unsigned char *wots_pk, const xmss_params *params, const unsigned char *pub_seed, uint32_t addr[8]…  in l_tree()  argument
128 hash_h(wots_pk+i*n, wots_pk+i*2*n, pub_seed, addr, n); in l_tree()
152 …unsigned char *sk_seed, const xmss_params *params, const unsigned char *pub_seed, uint32_t ltree_a… in gen_leaf_wots() argument
158 wots_pkgen(pk, seed, &(params->wots_par), pub_seed, ots_addr); in gen_leaf_wots()
160 l_tree(leaf, pk, params, pub_seed, ltree_addr); in gen_leaf_wots()
178 …unsigned char *sk_seed, const xmss_params *params, const unsigned char *pub_seed, const uint32_t a… in treehash_setup() argument
215 gen_leaf_wots(stack+stackoffset*n, sk_seed, params, pub_seed, ltree_addr, ots_addr); in treehash_setup()
237 hash_h(stack+(stackoffset-2)*n, stack+(stackoffset-2)*n, pub_seed, in treehash_setup()
249 …unsigned char *sk_seed, const xmss_params *params, const unsigned char *pub_seed, const uint32_t a… in treehash_update() argument
269 gen_leaf_wots(nodebuffer, sk_seed, params, pub_seed, ltree_addr, ots_addr); in treehash_update()
275 hash_h(nodebuffer, nodebuffer, pub_seed, node_addr, n); in treehash_update()
296 …nsigned char *authpath, const xmss_params *params, const unsigned char *pub_seed, uint32_t addr[8]… in validate_authpath() argument
324 hash_h(buffer+n, buffer, pub_seed, addr, n); in validate_authpath()
329 hash_h(buffer, buffer, pub_seed, addr, n); in validate_authpath()
338 hash_h(root, buffer, pub_seed, addr, n); in validate_authpath()
345 …const unsigned char *sk_seed, const xmss_params *params, unsigned char *pub_seed, const uint32_t a… in bds_treehash_update() argument
373 treehash_update(&(state->treehash[level]), state, sk_seed, params, pub_seed, addr); in bds_treehash_update()
383 …const unsigned char *sk_seed, const xmss_params *params, unsigned char *pub_seed, const uint32_t a… in bds_state_update() argument
410 …gen_leaf_wots(state->stack+state->stackoffset*n, sk_seed, params, pub_seed, ltree_addr, ots_addr); in bds_state_update()
432 …hash_h(state->stack+(state->stackoffset-2)*n, state->stack+(state->stackoffset-2)*n, pub_seed, nod… in bds_state_update()
446 …const unsigned char *sk_seed, const xmss_params *params, unsigned char *pub_seed, uint32_t addr[8]… in bds_round() argument
488 gen_leaf_wots(state->auth, sk_seed, params, pub_seed, ltree_addr, ots_addr); in bds_round()
493 hash_h(state->auth + tau * n, buf, pub_seed, node_addr, n); in bds_round()
564 unsigned char pub_seed[n]; in xmss_sign() local
565 memcpy(pub_seed, sk+4+2*n, n); in xmss_sign()
632 wots_sign(sig_msg, msg_h, ots_seed, &(params->wots_par), pub_seed, ots_addr); in xmss_sign()
641 bds_round(state, idx, sk_seed, params, pub_seed, ots_addr); in xmss_sign()
642 bds_treehash_update(state, (h - k) >> 1, sk_seed, params, pub_seed, ots_addr); in xmss_sign()
675 unsigned char pub_seed[n]; in xmss_sign_open() local
676 memcpy(pub_seed, pk+n, n); in xmss_sign_open()
711 wots_pkFromSig(wots_pk, sig_msg, msg_h, &(params->wots_par), pub_seed, ots_addr); in xmss_sign_open()
718 l_tree(pkhash, wots_pk, params, pub_seed, ltree_addr); in xmss_sign_open()
721 validate_authpath(root, pkhash, idx, sig_msg, params, pub_seed, node_addr); in xmss_sign_open()
803 unsigned char pub_seed[n]; in xmssmt_sign() local
822 memcpy(pub_seed, sk+idx_len+2*n, n); in xmssmt_sign()
884 wots_sign(sig_msg, msg_h, ots_seed, &(params->xmss_par.wots_par), pub_seed, ots_addr); in xmssmt_sign()
912 bds_state_update(&states[params->d], sk_seed, &(params->xmss_par), pub_seed, addr); in xmssmt_sign()
923 bds_round(&states[i], idx_leaf, sk_seed, &(params->xmss_par), pub_seed, addr); in xmssmt_sign()
925 … updates = bds_treehash_update(&states[i], updates, sk_seed, &(params->xmss_par), pub_seed, addr); in xmssmt_sign()
930 bds_state_update(&states[params->d + i], sk_seed, &(params->xmss_par), pub_seed, addr); in xmssmt_sign()
945 …s_par.keysize, states[i].stack, ots_seed, &(params->xmss_par.wots_par), pub_seed, ots_addr); in xmssmt_sign()
987 unsigned char pub_seed[n]; in xmssmt_sign_open() local
988 memcpy(pub_seed, pk+n, n); in xmssmt_sign_open()
1038 wots_pkFromSig(wots_pk, sig_msg, msg_h, &(params->xmss_par.wots_par), pub_seed, ots_addr); in xmssmt_sign_open()
1045 l_tree(pkhash, wots_pk, &(params->xmss_par), pub_seed, ltree_addr); in xmssmt_sign_open()
1048 validate_authpath(root, pkhash, idx_leaf, sig_msg, &(params->xmss_par), pub_seed, node_addr); in xmssmt_sign_open()
1071 wots_pkFromSig(wots_pk, sig_msg, root, &(params->xmss_par.wots_par), pub_seed, ots_addr); in xmssmt_sign_open()
1078 l_tree(pkhash, wots_pk, &(params->xmss_par), pub_seed, ltree_addr); in xmssmt_sign_open()
1081 validate_authpath(root, pkhash, idx_leaf, sig_msg, &(params->xmss_par), pub_seed, node_addr); in xmssmt_sign_open()