Probabilistic analyses on finding optimal combinations of primality tests in real applications

被引:0
|
作者
Park, H [1 ]
Park, SK
Kwon, KR
Kim, DK
机构
[1] Hanyang Univ, Coll Informat & Commun, Seoul 133791, South Korea
[2] Pusan Natl Univ, Sch Elect & Comp Engn, Pusan 609735, South Korea
[3] Pusan Univ Foreign Studies, Div Digital & Informat Engn, Pusan 608738, South Korea
关键词
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Generating a prime is an iterative application of generating a random number r and testing the primality of r until r is a prime. Among them, the primality test on r is much more time-consuming than the random number generation and thus it occupies most of the running time of the prime generation. To reduce the running time of the primality test, real applications combine several primality test methods. The most widely used combination is the combination of the trial division and the probabilistic primality test. Although this combination is widely used in practice, few analyses were given on finding the optimal combination, i.e., on finding the optimal number of small primes used in trial division that minimizes the expected running time of this combination. In this paper, we present probabilistic analyses on finding the optimal combinations of the trial division and the probabilistic primality test. Using these analyses, we present three optimal combinations. One is for the primality test and the others are for the safe primality test. The optimal combinations are universal in that they are presented as functions of div and ppt where div is the time required for dividing the random number r by a small prime and ppt is the time required for the probabilistic primality test of r. Thus, in any situation that div and ppt can be measured, the optimal combinations can be calculated from these functions. The experimental results show that our probabilistic analyses predict the optimal combinations well. The predicted optimal combinations can be used as useful guidelines in designing a primality or a safe primality test. The usefulness of the optimal combinations is more evident when the primality test is implemented on embedded systems or crypto-processors because finding optimal combinations using experiments is very time-consuming and inefficient.
引用
收藏
页码:74 / 84
页数:11
相关论文
共 50 条
  • [41] Algorithms for finding price-optimal way to lay pipes and their applications for MEMS
    Zahray, Arsen
    PERSPECTIVE TECHNOLOGIES AND METHODS IN MEMS DESIGN, 2008, : 21 - 25
  • [42] Finding analytic solutions on active arcs of the optimal trajectory in a gravitational field and their applications
    Ni, A. V.
    Park, C. W.
    AUTOMATION AND REMOTE CONTROL, 2017, 78 (02) : 313 - 331
  • [43] Finding analytic solutions on active arcs of the optimal trajectory in a gravitational field and their applications
    A. V. Ni
    C. W. Park
    Automation and Remote Control, 2017, 78 : 313 - 331
  • [44] Probabilistic delay budget assignment for synthesis of soft real-time applications
    Ghiasi, Soheil
    Huang, Po-Kuan
    Jafari, Roozbeh
    IEEE TRANSACTIONS ON VERY LARGE SCALE INTEGRATION (VLSI) SYSTEMS, 2006, 14 (08) : 843 - 853
  • [45] Real-Time Graph Construction Algorithm for Probabilistic Predictions in Vehicular Applications
    Ritter, Andreas
    Widmer, Fabio
    Niam, Jen Wei
    Elbert, Philipp
    Onder, Christopher
    IEEE TRANSACTIONS ON VEHICULAR TECHNOLOGY, 2021, 70 (06) : 5483 - 5498
  • [46] OPTIMAL COMBINATIONS OF LUNG-FUNCTION TESTS IN THE DETECTION OF VARIOUS TYPES OF EARLY LUNG-DISEASE
    HEDENSTROM, H
    MALMBERG, P
    EUROPEAN JOURNAL OF RESPIRATORY DISEASES, 1987, 71 (04): : 273 - 285
  • [47] PCR applications continue to expand - Technique is finding niche in real-time
    Lipp, Elizabeth
    GENETIC ENGINEERING NEWS, 2006, 26 (17): : 1 - +
  • [48] The PROSIT tool: Toward the optimal design of probabilistic soft real-time systems
    Frias, Bernardo Villalba
    Palopoli, Luigi
    Abeni, Luca
    Fontanelli, Daniele
    SOFTWARE-PRACTICE & EXPERIENCE, 2018, 48 (11): : 1940 - 1967
  • [49] Algorithm for Finding Optimal Paths in a Public Transit Network with Real-Time Data
    Jariyasunant, Jerald
    Mai, Eric
    Sengupta, Raja
    TRANSPORTATION RESEARCH RECORD, 2011, (2256) : 34 - 42
  • [50] MILP optimal path planning for real-time applications
    Ma, Cedric S.
    Miller, Robert H.
    2006 AMERICAN CONTROL CONFERENCE, VOLS 1-12, 2006, 1-12 : 4945 - +