English

Average Case Error Estimates of the Strong Lucas Test

Cryptography and Security 2023-06-19 v1 Number Theory

Abstract

Reliable probabilistic primality tests are fundamental in public-key cryptography. In adversarial scenarios, a composite with a high probability of passing a specific primality test could be chosen. In such cases, we need worst-case error estimates for the test. However, in many scenarios the numbers are randomly chosen and thus have significantly smaller error probability. Therefore, we are interested in average case error estimates. In this paper, we establish such bounds for the strong Lucas primality test, as only worst-case, but no average case error bounds, are currently available. This allows us to use this test with more confidence. We examine an algorithm that draws odd kk-bit integers uniformly and independently, runs tt independent iterations of the strong Lucas test with randomly chosen parameters, and outputs the first number that passes all tt consecutive rounds. We attain numerical upper bounds on the probability on returing a composite. Furthermore, we consider a modified version of this algorithm that excludes integers divisible by small primes, resulting in improved bounds. Additionally, we classify the numbers that contribute most to our estimate.

Keywords

Cite

@article{arxiv.2306.09472,
  title  = {Average Case Error Estimates of the Strong Lucas Test},
  author = {Semira Einsele and Kenneth Paterson},
  journal= {arXiv preprint arXiv:2306.09472},
  year   = {2023}
}
R2 v1 2026-06-28T11:06:35.477Z