raw
smg_comms_c_wrappers    1 #ifndef SMG_RSA_KNOBS_H
smg_comms_c_wrappers 2 #define SMG_RSA_KNOBS_H
smg_comms_c_wrappers 3
smg_comms_c_wrappers 4 #define ENTROPY_SOURCE "/dev/ttyUSB0"
smg_comms_c_wrappers 5
smg_comms_c_wrappers 6 /*
smg_comms_c_wrappers 7 * This is the number of witnesses checked by the Miller-Rabin (MR) algorithm for each candidate prime number.
smg_comms_c_wrappers 8 * The value of M_R_ITERATIONS directly affects the outer bound of MR which is calculated as 4^(-M_R_ITERATIONS)
smg_comms_c_wrappers 9 * S.MG's choice of 16 here means an outer bound of 4^(-16) = 0.0000000002,
smg_comms_c_wrappers 10 which is currently considered sufficient for Eulora's needs.
smg_comms_c_wrappers 11 If your needs are different, change this knob accordingly.
smg_comms_c_wrappers 12 * NB: if you use this to make keys for some serious use, an outer bound of 1e-10 is really not nearly good enough
smg_comms_c_wrappers 13 and therefore you'll probably want to *increase* the value of this knob.
smg_comms_c_wrappers 14 */
smg_comms_c_wrappers 15 #define M_R_ITERATIONS 16
smg_comms_c_wrappers 16
smg_comms_c_wrappers 17
smg_comms_c_wrappers 18 #endif /*SMG_RSA_KNOBS_H*/
smg_comms_c_wrappers 19