Home
last modified time | relevance | path

Searched refs:pub_seed (Results 1 – 5 of 5) sorted by relevance

/external/openssh/
Dxmss_fast.c111 …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()
[all …]
Dxmss_hash.c94 int hash_h(unsigned char *out, const unsigned char *in, const unsigned char *pub_seed, uint32_t add… in hash_h() argument
105 prf(key, byte_addr, pub_seed, n); in hash_h()
109 prf(bitmask, byte_addr, pub_seed, n); in hash_h()
112 prf(bitmask+n, byte_addr, pub_seed, n); in hash_h()
119 int hash_f(unsigned char *out, const unsigned char *in, const unsigned char *pub_seed, uint32_t add… in hash_f() argument
129 prf(key, byte_addr, pub_seed, n); in hash_f()
133 prf(bitmask, byte_addr, pub_seed, n); in hash_f()
Dxmss_wots.c71 …rt, unsigned int steps, const wots_params *params, const unsigned char *pub_seed, uint32_t addr[8]) in gen_chain() argument
79 hash_f(out, out, pub_seed, addr, params->n); in gen_chain()
108 …onst unsigned char *sk, const wots_params *params, const unsigned char *pub_seed, uint32_t addr[8]) in wots_pkgen() argument
114 gen_chain(pk+i*params->n, pk+i*params->n, 0, params->w-1, params, pub_seed, addr); in wots_pkgen()
119 …onst unsigned char *sk, const wots_params *params, const unsigned char *pub_seed, uint32_t addr[8]) in wots_sign() argument
152 gen_chain(sig+i*params->n, sig+i*params->n, 0, basew[i], params, pub_seed, addr); in wots_sign()
158 …nst unsigned char *msg, const wots_params *params, const unsigned char *pub_seed, uint32_t addr[8]) in wots_pkFromSig() argument
187 …gen_chain(pk+i*params->n, sig+i*params->n, basew[i], params->w-1-basew[i], params, pub_seed, addr); in wots_pkFromSig()
Dxmss_wots.h49 …onst unsigned char *sk, const wots_params *params, const unsigned char *pub_seed, uint32_t addr[8]…
55 …onst unsigned char *sk, const wots_params *params, const unsigned char *pub_seed, uint32_t addr[8]…
61 …nst unsigned char *msg, const wots_params *params, const unsigned char *pub_seed, uint32_t addr[8]…
Dxmss_hash.h18 int hash_h(unsigned char *out, const unsigned char *in, const unsigned char *pub_seed, uint32_t add…
19 int hash_f(unsigned char *out, const unsigned char *in, const unsigned char *pub_seed, uint32_t add…