Return to xmss_wots.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.2, 2018/02/26 03:56:44 | version 1.3, 2018/04/10 00:10:49 | ||
---|---|---|---|
|
|
||
* Computes the chaining function. | * Computes the chaining function. | ||
* out and in have to be n-byte arrays | * out and in have to be n-byte arrays | ||
* | * | ||
* interpretes in as start-th value of the chain | * interprets in as start-th value of the chain | ||
* addr has to contain the address of the chain | * addr has to contain the address of the chain | ||
*/ | */ | ||
static void gen_chain(unsigned char *out, const unsigned char *in, unsigned int start, unsigned int steps, const wots_params *params, const unsigned char *pub_seed, uint32_t addr[8]) | static void gen_chain(unsigned char *out, const unsigned char *in, unsigned int start, unsigned int steps, const wots_params *params, const unsigned char *pub_seed, uint32_t addr[8]) |