A Verilog Description and Efficient Hardware Implementation of the Baillie-PSW Primality Test
Year: 2016
Type: article
Abstract: Prime numbers have been an important topic of study among mathematicians.With the increasing usage of large primes in major cryptographic algorithms like RSA and Diffie-Hellman Key Exchange, the study and method of generation of primes have gained much significance in information security.For a long period of time, generation of primes in software was common practice.However, in recent years, citing confidence and security, prime number generation in hardware is being considered as an alternative.Considering time complexity and hardware implementation issues, probabilistic primality tests are preferred over deterministic tests.The Baillie-PSW primality test is a strong probabilistic primality test, as no known Baillie-PSW pseudoprime exists.In this thesis, we briefly discuss the different types of cryptographic algorithms and primality tests.We also study a few hardware implementations of some of the primality algorithms, namely the Miller-Rabin and Lucas tests.Our work concentrates on the implementation of a Verilog-based design of the Baillie-PSW primality test on an Altera Cyclone IV GX FPGA.To our knowledge, this is the first hardware implementation of this primality test.The implementation takes in an odd random number as input and returns the next immediate probable prime number.Numbers that are 1024 bits wide are preferred for their use in modern cryptographic algorithms.The results from our implementation are analyzed and methods to improve the results are discussed.
Author: Yasaswy Kasarabada
Institution: University of Cincinnati
Language: English
Subfield: Information Systems
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
Funder: University of Cincinnati
OpenAlex ID: W2734906862
