Lines Matching refs:primes
370 UINT32 primes // IN: the table length in PrimeInit() argument
375 iter->final = AdjustNumberOfPrimes(primes); in PrimeInit()
457 UINT32 primes // IN: the number of primes to use in PrimeSieve() argument
476 primes = AdjustNumberOfPrimes(primes); in PrimeSieve()
509 PrimeInit(7, &iter, primes); in PrimeSieve()
570 UINT16 primes // IN: number of primes to use. in PrimeSelectWithSieve() argument
580 UINT32 primes; in PrimeSelectWithSieve() local
584 primes = BN_num_bits(bnP); in PrimeSelectWithSieve()
585 if(primes <= 512) in PrimeSelectWithSieve()
587 primes = AdjustNumberOfPrimes(2048); in PrimeSelectWithSieve()
590 else if(primes <= 1024) in PrimeSelectWithSieve()
592 primes = AdjustNumberOfPrimes(4096); in PrimeSelectWithSieve()
598 primes = AdjustNumberOfPrimes(0); // Set to the maximum in PrimeSelectWithSieve()
611 ones = PrimeSieve(bnP, fieldSize, field, primes); in PrimeSelectWithSieve()
685 UINT16 primes in GenerateRandomPrime() argument
704 if(PrimeSelectWithSieve(bnP, NULL, 0, context, field, primes)) in GenerateRandomPrime()
790 ,UINT16 primes, // IN: number of primes to test in _cpri__GenerateKeyRSA() argument
875 if(!PrimeSelectWithSieve(bnP, ktxPtr, e, context, fieldSize, primes)) in _cpri__GenerateKeyRSA()