Lines Matching refs:wots_pk
111 static void l_tree(unsigned char *leaf, unsigned char *wots_pk, const xmss_params *params, const unsigned char *pub_seed, uint32_t addr[8])
127 //wots_pk[i] = RAND_HASH(pk[2i], pk[2i + 1], SEED, ADRS);
128 hash_h(wots_pk+i*n, wots_pk+i*2*n, pub_seed, addr, n);
133 memcpy(wots_pk+(l>>1)*n, wots_pk+(l-1)*n, n);
146 memcpy(leaf, wots_pk, n);
669 unsigned char wots_pk[params->wots_par.keysize];
711 wots_pkFromSig(wots_pk, sig_msg, msg_h, &(params->wots_par), pub_seed, ots_addr);
718 l_tree(pkhash, wots_pk, params, pub_seed, ltree_addr);
981 unsigned char wots_pk[params->xmss_par.wots_par.keysize];
1038 wots_pkFromSig(wots_pk, sig_msg, msg_h, &(params->xmss_par.wots_par), pub_seed, ots_addr);
1045 l_tree(pkhash, wots_pk, &(params->xmss_par), pub_seed, ltree_addr);
1071 wots_pkFromSig(wots_pk, sig_msg, root, &(params->xmss_par.wots_par), pub_seed, ots_addr);
1078 l_tree(pkhash, wots_pk, &(params->xmss_par), pub_seed, ltree_addr);