#include "smg_rsa.h" #include "mpi.h" #include #include #include void err(char *msg) { fprintf(stderr, "%s\n", msg); exit(1); } void time_entropy_source(int nruns, int noctets) { unsigned char buffer[noctets]; int read, i; struct timespec tstart, tend; long int diff; clock_gettime(CLOCK_MONOTONIC, &tstart); for (i=0; i 2) printf("Current test ids: 0 for all, 1 for entropy source test only, 2 for is_composite test only."); return 0; }