Searched refs:LTM_PRIME_SAFE (Results 1 - 4 of 4) sorted by relevance

/barrelfish-2018-10-04/lib/tommath/
H A Dbn_mp_prime_random_ex.c23 * LTM_PRIME_SAFE - make sure (p-1)/2 is prime as well (implies LTM_PRIME_BBS)
43 /* LTM_PRIME_SAFE implies LTM_PRIME_BBS */
44 if (flags & LTM_PRIME_SAFE) {
97 if (flags & LTM_PRIME_SAFE) {
107 if (flags & LTM_PRIME_SAFE) {
H A Dtommath.h152 #define LTM_PRIME_SAFE 0x0002 /* Safe prime (p-1)/2 == prime */ macro
508 * LTM_PRIME_SAFE - make sure (p-1)/2 is prime as well (implies LTM_PRIME_BBS)
/barrelfish-2018-10-04/lib/tommath/demo/
H A Ddemo.c199 ((rand() & 1) ? 0 : LTM_PRIME_2MSB_ON) | LTM_PRIME_SAFE,
/barrelfish-2018-10-04/lib/tommath/pre_gen/
H A Dmpi.c6093 * LTM_PRIME_SAFE - make sure (p-1)/2 is prime as well (implies LTM_PRIME_BBS)
6114 /* LTM_PRIME_SAFE implies LTM_PRIME_BBS */
6115 if (flags & LTM_PRIME_SAFE) {
6168 if (flags & LTM_PRIME_SAFE) {
6178 if (flags & LTM_PRIME_SAFE) {

Completed in 64 milliseconds