D | pcpprime_isprob.h | 58 static int cpMillerRabinTest(BNU_CHUNK_T* pW, cpSize nsW, in cpMillerRabinTest() argument 68 ZEXPAND_BNU(pW, nsW, nsP); in cpMillerRabinTest() 69 MOD_METHOD(pMont)->encode(pW, pW, pMont); in cpMillerRabinTest() 72 gsMontExpWin_BNU_sscm(pW, pW, nsP, pE, bitsizeE, pMont, pBuffer); in cpMillerRabinTest() 75 if ((0 == cpCmp_BNU(pW, nsP, MOD_MNT_R(pMont), nsP)) in cpMillerRabinTest() 76 || (0 == cpCmp_BNU(pW, nsP, pPrime1, nsP))) in cpMillerRabinTest() 80 MOD_METHOD(pMont)->sqr(pW, pW, pMont); in cpMillerRabinTest() 82 if (0 == cpCmp_BNU(pW, nsP, MOD_MNT_R(pMont), nsP)) in cpMillerRabinTest() 84 if (0 == cpCmp_BNU(pW, nsP, pPrime1, nsP)) in cpMillerRabinTest()
|