-
+ FEAFFACD0ECCEEC5B42D086F1755FEDE58DD7244B52B8EF599B7E4AD79B149FCBE55F036A1C46F5BAE0A00DD3C50B1DC7D8C1BDE9958934CBCD8D01862E29B9D
smg_comms/rsa/include/knobs.h
(0 . 0)(1 . 19)
8583 #ifndef SMG_RSA_KNOBS_H
8584 #define SMG_RSA_KNOBS_H
8585
8586 #define ENTROPY_SOURCE "/dev/ttyUSB0"
8587
8588 /*
8589 * This is the number of witnesses checked by the Miller-Rabin (MR) algorithm for each candidate prime number.
8590 * The value of M_R_ITERATIONS directly affects the outer bound of MR which is calculated as 4^(-M_R_ITERATIONS)
8591 * S.MG's choice of 16 here means an outer bound of 4^(-16) = 0.0000000002,
8592 which is currently considered sufficient for Eulora's needs.
8593 If your needs are different, change this knob accordingly.
8594 * NB: if you use this to make keys for some serious use, an outer bound of 1e-10 is really not nearly good enough
8595 and therefore you'll probably want to *increase* the value of this knob.
8596 */
8597 #define M_R_ITERATIONS 16
8598
8599
8600 #endif /*SMG_RSA_KNOBS_H*/
8601