#include #include #include "../xmss.h" #define MLEN 3491 #define SIGNATURES 50 unsigned char sk[100]; unsigned char pk[64]; unsigned char mi[MLEN]; unsigned long long smlen; unsigned long long mlen; int main() { int r; unsigned long long i; int m = 32; int n = 32; int h = 8; int w = 16; xmss_params p; xmss_params *params = &p; xmss_set_params(params, m, n, h, w); unsigned long long signature_length = 4+m+params->wots_par.keysize+h*n; unsigned char mo[MLEN+signature_length]; unsigned char sm[MLEN+signature_length]; FILE *urandom = fopen("/dev/urandom", "r"); for(i=0;i