#include #include #include "../xmss.h" #define MLEN 3491 #define SIGNATURES 50 unsigned char mi[MLEN]; unsigned long long smlen; unsigned long long mlen; int main() { int r; unsigned long long i; int m = 64; int n = 64; int h = 8; int w = 16; unsigned long errors = 0; unsigned char sk[3*n+4]; unsigned char pk[2*n]; 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