A High-Performance Hardware Design for Computing Bézout’s Coefficients Using Extended Stein’s Algorithm
Advisor(s)
Dr. Hassan, ECCS
Confirmation
1
Document Type
Paper
Location
ONU McIntosh Center; Dean's Heritage Room
Start Date
8-4-2025 2:45 PM
End Date
8-4-2025 3:00 PM
Abstract
Bézout's Coefficients are critical mathematical constructs in cryptography, particularly for public key cryptographic applications requiring increasingly large keys. As software-based methods for calculating these coefficients approach their performance limits, hardware implementations present a promising alternative for faster and more efficient computation. This paper proposes a scalable 64-bit hardware implementation for the computation of Bėzout's coefficients using a previously proposed Extended Stein’s Algorithm Implementation which replaces the multiplication and division operations found in Extended Euclid's Algorithm with addition and binary shift operations. The algorithm uses a Controller and Datapath approach with the aim of shifting hardware complexity from the Datapath to the control logic, thus shortening the critical path and improving performance. The hardware implementation efficiency is evaluated, its advantages and limitations are discussed. The results demonstrate that the proposed implementation achieves efficient computation of Bézout’s coefficients with a minimum clock period of 8 ns when synthesized on a Basys 3 Artix-7 FPGA. The design effectively balances performance and resource utilization, requiring 1628 LUTs and 535 FFs while maintaining scalability for larger bit sizes. This work establishes a foundation for future research into hardware accelerated cryptographic computations, particularly in applications requiring fast modular inverses and efficient key generation.
Index Terms – Bézout's Coefficients, Binary Euclid, Hardware Implementation, Modular Inversion.
Recommended Citation
Massie, Ryan, "A High-Performance Hardware Design for Computing Bézout’s Coefficients Using Extended Stein’s Algorithm" (2025). ONU Student Research Colloquium. 22.
https://digitalcommons.onu.edu/student_research_colloquium/2025/Papers/22
Open Access
Available to all.
A High-Performance Hardware Design for Computing Bézout’s Coefficients Using Extended Stein’s Algorithm
ONU McIntosh Center; Dean's Heritage Room
Bézout's Coefficients are critical mathematical constructs in cryptography, particularly for public key cryptographic applications requiring increasingly large keys. As software-based methods for calculating these coefficients approach their performance limits, hardware implementations present a promising alternative for faster and more efficient computation. This paper proposes a scalable 64-bit hardware implementation for the computation of Bėzout's coefficients using a previously proposed Extended Stein’s Algorithm Implementation which replaces the multiplication and division operations found in Extended Euclid's Algorithm with addition and binary shift operations. The algorithm uses a Controller and Datapath approach with the aim of shifting hardware complexity from the Datapath to the control logic, thus shortening the critical path and improving performance. The hardware implementation efficiency is evaluated, its advantages and limitations are discussed. The results demonstrate that the proposed implementation achieves efficient computation of Bézout’s coefficients with a minimum clock period of 8 ns when synthesized on a Basys 3 Artix-7 FPGA. The design effectively balances performance and resource utilization, requiring 1628 LUTs and 535 FFs while maintaining scalability for larger bit sizes. This work establishes a foundation for future research into hardware accelerated cryptographic computations, particularly in applications requiring fast modular inverses and efficient key generation.
Index Terms – Bézout's Coefficients, Binary Euclid, Hardware Implementation, Modular Inversion.