Searched refs:LTM_PRIME_BBS (Results 1 - 3 of 3) sorted by relevance

/barrelfish-2018-10-04/lib/tommath/
H A Dbn_mp_prime_random_ex.c22 * LTM_PRIME_BBS - make prime congruent to 3 mod 4
23 * LTM_PRIME_SAFE - make sure (p-1)/2 is prime as well (implies LTM_PRIME_BBS)
43 /* LTM_PRIME_SAFE implies LTM_PRIME_BBS */
45 flags |= LTM_PRIME_BBS;
69 if (flags & LTM_PRIME_BBS) {
H A Dtommath.h151 #define LTM_PRIME_BBS 0x0001 /* BBS style prime */ macro
501 #define mp_prime_random(a, t, size, bbs, cb, dat) mp_prime_random_ex(a, t, ((size) * 8) + 1, (bbs==1)?LTM_PRIME_BBS:0, cb, dat)
507 * LTM_PRIME_BBS - make prime congruent to 3 mod 4
508 * LTM_PRIME_SAFE - make sure (p-1)/2 is prime as well (implies LTM_PRIME_BBS)
/barrelfish-2018-10-04/lib/tommath/pre_gen/
H A Dmpi.c6092 * LTM_PRIME_BBS - make prime congruent to 3 mod 4
6093 * LTM_PRIME_SAFE - make sure (p-1)/2 is prime as well (implies LTM_PRIME_BBS)
6114 /* LTM_PRIME_SAFE implies LTM_PRIME_BBS */
6116 flags |= LTM_PRIME_BBS;
6140 if (flags & LTM_PRIME_BBS) {

Completed in 75 milliseconds