ch2_truerandom 1 #ifndef SMG_RSA_KNOBS_H

ch2_truerandom 2 #define SMG_RSA_KNOBS_H

ch2_truerandom 3

ch2_truerandom 4 #define ENTROPY_SOURCE "/dev/ttyUSB0"

ch2_truerandom 5

eucrypt_ch3_mille... 6

eucrypt_ch3_mille... 7 * This is the number of witnesses checked by the Miller-Rabin (MR) algorithm for each candidate prime number.

eucrypt_ch3_mille... 8 * The value of M_R_ITERATIONS directly affects the outer bound of MR which is calculated as 4^(-M_R_ITERATIONS)

eucrypt_ch3_mille... 9 * S.MG's choice of 16 here means an outer bound of 4^(-16) = 0.0000000002,

eucrypt_ch3_mille... 10 which is currently considered sufficient for Eulora's needs.

eucrypt_ch3_mille... 11 If your needs are different, change this knob accordingly.

eucrypt_ch3_mille... 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

eucrypt_ch3_mille... 13 and therefore you'll probably want to *increase* the value of this knob.

eucrypt_ch3_mille... 14 */

eucrypt_ch3_mille... 15 #define M_R_ITERATIONS 16

eucrypt_ch3_mille... 16

eucrypt_ch3_mille... 17

ch2_truerandom 18 #endif /*SMG_RSA_KNOBS_H*/

ch2_truerandom 19