Back to search

University of Cincinnati

A Verilog Description and Efficient Hardware Implementation of the Baillie-PSW Primality Test

Abstract

dc:description

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.

Degree

thesis:*
Name thesis:degree_name
MS
Level thesis:degree_level
masters
Discipline thesis:degree_discipline
Engineering and Applied Science: Computer Engineering
Grantor dc:publisher
University of Cincinnati
Year dc:date
2016

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Kasarabada, Yasaswy
Chair dc:contributor.committeechair
  • Purdy, Carla

Subjects

dc:subject × 6

Rights

dc:rights
Statement dc:rights
  • unrestricted
  • This thesis or dissertation is protected by copyright: all rights reserved. It may not be copied or redistributed beyond the terms of applicable copyright laws.
Language dc:language
English

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
OhioLINK
Base URL
etd.ohiolink.edu/acprod/odb_etd/ws/oai/oai
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
citation

Kasarabada, Yasaswy. A Verilog Description and Efficient Hardware Implementation of the Baillie-PSW Primality Test. masters thesis, University of Cincinnati, 2016. http://rave.ohiolink.edu/etdc/view?acc_num=ucin1471347471