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

/netbsd-current/crypto/external/bsd/heimdal/dist/lib/hcrypto/libtommath/
H A Dbn_mp_prime_random_ex.c24 * LTM_PRIME_BBS - make prime congruent to 3 mod 4
25 * LTM_PRIME_SAFE - make sure (p-1)/2 is prime as well (implies LTM_PRIME_BBS)
46 /* LTM_PRIME_SAFE implies LTM_PRIME_BBS */
48 flags |= LTM_PRIME_BBS;
72 if (flags & LTM_PRIME_BBS) {
H A Dtommath.h153 #define LTM_PRIME_BBS 0x0001 /* BBS style prime */ macro
507 #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)
513 * LTM_PRIME_BBS - make prime congruent to 3 mod 4
514 * LTM_PRIME_SAFE - make sure (p-1)/2 is prime as well (implies LTM_PRIME_BBS)

Completed in 79 milliseconds