1. FlexKA: A Flexible Karatsuba Multiplier Hardware Architecture for Variable-Sized Large Integers
- Author
-
Byeongmin Kang and Hyungmin Cho
- Subjects
Multiplying circuits ,field programmable gate arrays ,Electrical engineering. Electronics. Nuclear engineering ,TK1-9971 - Abstract
The Karatsuba algorithm is an effective way to accelerate large integer multiplications through recursive function calls. However, existing hardware implementations of Karatsuba multipliers are limited to fixed operand sizes. To enable their application in diverse domains, including homomorphic encryption with varying multiplicative depths, it is necessary to support variable operand sizes. In this paper, we propose a novel Karatsuba multiplier design, named FlexKA, which supports variable operand sizes through a state machine that manages the dynamic call states of the operation. We evaluate FlexKA on the Xilinx ZynqMP FPGA and demonstrate that it supports variable operand sizes up to 256K bits, achieving a $9.2\times$ speedup compared to a highly-optimized software library running on a CPU. Our results show that FlexKA is an efficient and effective solution for large integer multiplications with flexible operand sizes in hardware.
- Published
- 2023
- Full Text
- View/download PDF