-
公开(公告)号:US20240220210A1
公开(公告)日:2024-07-04
申请号:US18152170
申请日:2023-01-10
Applicant: Industrial Technology Research Institute
Inventor: Chia-Hsiang Yang , Liang-Hsin Lin , Yu-Ling Kang , Yu-Hui Lin , Chih-Ming Lai
Abstract: A modulo divider and a modulo division operation method for binary data are provided, including: converting a first variant and a second variant to a variant set according to a first mapping table; generating a fifth variant and a sixth variant according to the variant set; generating a seventh variant and an eighth variant according to the variant set; updating the first variant according to one of the fifth variant and the sixth variant and updating the second variant according to the other one of the fifth variant and the sixth variant; updating the third variant according to one of the seventh variant and the eighth variant and updating the fourth variant according to the other one of the seventh variant and the eighth variant; and outputting the third variant as a result of a modulo division operation in response to determining the updating of the third variant being finished.
-
公开(公告)号:US11829731B2
公开(公告)日:2023-11-28
申请号:US17562793
申请日:2021-12-27
Applicant: INDUSTRIAL TECHNOLOGY RESEARCH INSTITUTE
Inventor: Chia-Hsiang Yang , Liang-Hsin Lin , Yu-Ling Kang , Li-Chi Su
IPC: G06F7/72
Abstract: A modular multiplication circuit includes a main operation circuit, a look-up table, and an addition unit. The main operation circuit updates a sum value and a carry value according to 2iA corresponding to a first operation value A and m bits of a second operation value B currently under operation, m is a positive integer, i is from 0 to m−1. The look-up table records values related to a modulus, and selects one of the values as a look-up table output value according to the sum value. The addition unit updates the sum value and the carry value according to the look-up table output value and outputs the updated sum value and the updated carry value to the main operation circuit. The modular multiplication circuit updates the sum value and the carry value in a recursive manner by using m different bits of the second operation value B.
-