In https://github.com/cisco/hash-sigs/blob/master/hss_alloc.c
Are lines 307 and 407 a double counting the stack_usage for the case of LMS? In the case line 343 falls through (not continue statement) ? Line 422 should only be += in the case of HSS, at least 2 levels and overwritten in the case of LMS.
Some applications may have restrictions on storage and so exact stack count and minimal working key size are very important.
In https://github.com/cisco/hash-sigs/blob/master/hss_alloc.c
Are lines 307 and 407 a double counting the stack_usage for the case of LMS? In the case line 343 falls through (not continue statement) ? Line 422 should only be += in the case of HSS, at least 2 levels and overwritten in the case of LMS.
Some applications may have restrictions on storage and so exact stack count and minimal working key size are very important.