JPH03176735A - Multiplication remainder computing element - Google Patents

Multiplication remainder computing element

Info

Publication number
JPH03176735A
JPH03176735A JP31593289A JP31593289A JPH03176735A JP H03176735 A JPH03176735 A JP H03176735A JP 31593289 A JP31593289 A JP 31593289A JP 31593289 A JP31593289 A JP 31593289A JP H03176735 A JPH03176735 A JP H03176735A
Authority
JP
Japan
Prior art keywords
output
adder
value
switch
shift register
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP31593289A
Other languages
Japanese (ja)
Other versions
JPH0778727B2 (en
Inventor
Hitoshi Shinoda
信田 仁
Kenzo Urabe
健三 占部
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kokusai Electric Corp
Original Assignee
Kokusai Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kokusai Electric Corp filed Critical Kokusai Electric Corp
Priority to JP1315932A priority Critical patent/JPH0778727B2/en
Publication of JPH03176735A publication Critical patent/JPH03176735A/en
Publication of JPH0778727B2 publication Critical patent/JPH0778727B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To prevent a circuit size from being expanded and to simplify the constitution of a circuit by repeating operation for storing an accumulated value obtained from an adder in a bidirectional shift register and finding out a remainder making positive values other than the multiplied value of two positive value as a module. CONSTITUTION:In the case of finding out the remainder to be positive value N other than multiplied value A.B of two positive values A, B as a module, a shift register 101 stores the value A, each bit from the least significant digit of respective digits of a binary expression is supplied at every bit to a bidirectional shift register 106 through a switch 105. Simultaneously, operation for storing accumulated values from the adder 103 in a register 106 is repeated to obtain the multiplied value A.B. Then operation for storing the outputs of the adder 103 in the register 106 is repeated at every supply of the inverted output of an inverter 104 to the register 106 through the switch 105. Consequently, the remainder to be N of the multiplier A.B as the module is obtained in the register 106.

Description

【発明の詳細な説明】 (発明の属する技術分野) 本発明は、二つの正数(A、B)の乗算値A・Bの他の
正数Nを法とする剰余(Nで除した時の剰余、(A−B
)、。6Nと表す)を求める(以下、この演算を乗算剰
余演算という)乗算剰余演算器に関する。
Detailed Description of the Invention (Technical Field to which the Invention Pertains) The present invention relates to a method for solving the problem of a product of two positive numbers (A, B) modulo another positive number N. remainder, (A-B
),. 6N) (hereinafter, this operation will be referred to as a remainder multiplication operation).

(従来技術とその欠点) 上記の乗算剰余演算器は、符号理論や暗号理論の符復号
処理における要素演算に用いられている。
(Prior Art and Its Disadvantages) The above-mentioned multiplication remainder calculation unit is used for element calculations in coding/decoding processing in coding theory and cryptography theory.

このような乗算剰余演算器を実現する従来の方法では、
乗算に供される2つの正数A、Bのうち、Aの2進値表
現を下式 (2はAの2進値表現上のビット数) で定義すると、 AとBとの乗算剰余値(A−B)、。□は、下式となる
ことに着目し、概略、次の処理手順により演算を実行し
ている。
In the conventional method of realizing such a modular multiplication unit,
Of the two positive numbers A and B used for multiplication, if the binary value representation of A is defined by the following formula (2 is the number of bits in the binary value representation of A), then the multiplication remainder value of A and B is (A-B). □ focuses on the following formula, and the calculation is roughly performed according to the following processing procedure.

手順■ Bをシフトレジスタに格納し、左へ1ビットシ
フト(2倍演算)する毎にその結果が法の正数Nより大
きい場合にのみNを減するという処理によって(2)式
右辺の〔24・B1.。。を逐次算出する。
Procedure ■ Store B in the shift register, and each time you shift 1 bit to the left (double operation), N is decreased only if the result is greater than the positive number N of the modulus. 24・B1. . . Calculate sequentially.

手順■ ai−“1”のとき、過去の累算値に対し、■
で得られた(2’−B)、。、Nを新たに累算して +(2’−B)、。。
Procedure ■ When ai-“1”, for the past cumulative value, ■
(2'-B), obtained in . , N is newly accumulated and +(2'-B). .

を求める。seek.

手順■ 上記■で求めた結果が法の正数Nより大きい場
合にのみNを減じて累算値 を求める。
Procedure ■ Only when the result obtained in step (■) above is greater than the modulus positive number N, subtract N to obtain the cumulative value.

上記■〜■の処理を、正数Aの2進値表現上の最下位ビ
ア ) (L S B = a o)から順に最上位ピ
ッ) (MSB=az−+ )まで2回実行することに
より、(A−B)、。。を求めることができる。これら
の手順を実行する従来の乗算剰余演算器の一構成例を第
2図に示す。
By executing the above processes from ■ to ■ twice in order from the lowest via (LSB = ao) on the binary value representation of the positive number A to the highest bit (MSB = az-+) ,(A-B),. . can be found. FIG. 2 shows an example of the configuration of a conventional multiplication remainder calculator that executes these procedures.

図において、201は前記〔2”・B)、。4.4を格
納する補助レジスタ、202は加算器であり、上記補助
レジスタ201の出力を左へ1ビットシフトし、LSB
として“0”を追加することによって等価的に2倍演算
を施した値を一方の入力とし、法の正数Nの2の補数値
(−N)を他方の入力とすることにより、補助レジスタ
201の出力値の2倍値からNを減した値を出力する。
In the figure, 201 is an auxiliary register that stores the above [2''・B), .4.4, and 202 is an adder that shifts the output of the auxiliary register 201 by 1 bit to the left, and
The auxiliary register A value obtained by subtracting N from the double value of the output value of 201 is output.

203は切替器であり、加算器202の出力のMSBに
より202の出力が負(MSB’=”1”)のときは上
記201の出力の2倍値を、また、正(MSB−“0”
)のときは上記2倍値からNを減した加算器202の出
力をそれぞれ切替えて、前記補助レジスタ201へ入力
する。
203 is a switch, which uses the MSB of the output of the adder 202 to change the value twice the output of the above 201 when the output of 202 is negative (MSB' = "1"), or to change the value to be positive (MSB - "0").
), the outputs of the adder 202, which are obtained by subtracting N from the double value, are respectively switched and input to the auxiliary register 201.

204は、Aの2進値の各桁aiに従って、前記手順■
に示した累算値 を格納する累算値レジスタであり、205.206は加
算器で、205は累算値レジスタ204の出力値と前記
補助レジスタ201の出力値とを加算し、手順■に示し
た新たな累算値を出力する。
204 performs the above procedure ■ according to each digit ai of the binary value of A.
205 and 206 are adders, and 205 adds the output value of the accumulation value register 204 and the output value of the auxiliary register 201, and then goes to step (3). Outputs the new cumulative value shown.

一方、206は加算器202と同様、205の出力を一
方の入力とし、法の正数Nの2の補数値(−N)を他方
の入力とすることにより、205の出力値からNを滅し
た値を出力する。207は203と同様の切替器であり
、加算器206の出力のMSBにより206の出力が負
(MSB=°゛ビ°)のときは加算器205の出力値を
、また、正(MSB=’“0”)のときは加算器205
の出力からNを滅した206の出力を、それぞれ切替え
て、前記累算値レジスタ204へ入力する。なお、20
4は前記205,207,204の一巡のループ演算毎
にaiを入力し、ai=”1”のときのみ207の出力
を格納するものとする。
On the other hand, like the adder 202, 206 uses the output of 205 as one input and the 2's complement value (-N) of the modulus positive number N as the other input, thereby eliminating N from the output value of 205. Output the value. 207 is a switch similar to 203, and when the output of 206 is negative (MSB=°゛bi°), the output value of the adder 205 is changed depending on the MSB of the output of the adder 206; When the value is “0”), the adder 205
The outputs of 206 with N removed from the outputs of are respectively switched and input to the cumulative value register 204. In addition, 20
4 inputs ai for each loop operation of 205, 207, and 204, and stores the output of 207 only when ai="1".

以上の構成において、第2図の一点鎖線で囲まれたブロ
ック20Bの部分は、前記の手順■の処理を実行し、ブ
ロック209の部分は手順■及び■を実行しており、そ
れぞれ1同突行を繰り返した時、累積値レジスタ204
には求める乗算剰余値(A−B)、。4Nが格納される
ことになる。
In the above configuration, the block 20B surrounded by the dashed line in FIG. When repeating a row, the cumulative value register 204
is the multiplication remainder value (A-B). 4N will be stored.

以上が、従来の方法に基づく構成の一例であるが、しか
しながら、このような構成においては、各々同規模の加
(滅)算器が3個、切替器が2個、補助レジスタと累算
値レジスタとがそれぞれ個別に1個、必要となり、回路
規模が大きくなるという欠点があった。
The above is an example of a configuration based on a conventional method.However, in such a configuration, there are three adders, two switchers, each of the same size, an auxiliary register, and an accumulated value. One register is required for each, which has the drawback of increasing the circuit scale.

(発明の目的) 本発明の目的は、前記従来の方法において生ずる回路規
模の拡大という問題を緩和し、構成が簡易で比較的小規
模な乗算剰余演算器を提供することにある。
(Object of the Invention) An object of the present invention is to alleviate the problem of circuit scale expansion that occurs in the conventional method, and to provide a relatively small-scale multiplication remainder arithmetic unit with a simple configuration.

(発明の構成および作用) 〔構 戒〕 第1図は本発明の実施例を示す一構成例図である。(Structure and operation of the invention) [Structure precepts] FIG. 1 is a diagram showing a configuration example of an embodiment of the present invention.

101はシフトレジスタであり、乗算に供せられる一方
の正数Aを記憶し、Aの2進値表現上の有効桁数をf(
lは自然数)とするとき、上記Aの2進値表現上の各桁
ai  (i=o〜f−1)(7)最下位桁(LSB)
のao  (i=o)から最上位桁(MSB)のat−
+  (i=j!  l)までlビットを順次にクロッ
ク信号CLKに従って出力する。
101 is a shift register which stores one positive number A to be multiplied, and sets the number of significant digits in the binary representation of A to f(
l is a natural number), each digit ai in the binary value representation of A above (i=o~f-1) (7) Least significant digit (LSB)
from ao (i=o) to the most significant digit (MSB) at-
1 bits are sequentially outputted up to + (i=j! l) according to the clock signal CLK.

102はバス切替器であり、乗算に供せられる他方の正
数Bと法の正数Nの2の補数値(−N)とをそれぞれ入
力し、外部から与えられる切替制御信号R/Lに従って
切替え出力する。
102 is a bus switch, which inputs the other positive number B to be multiplied and the two's complement value (-N) of the modulus positive number N, and switches according to the switching control signal R/L given from the outside. Switch output.

103は、バス切替器102の出力を一方の入力とし、
他方の入力との加算演算を行いその結果を出力する加算
器である。
103 uses the output of the bus switch 102 as one input,
This is an adder that performs an addition operation with the other input and outputs the result.

104はインバータであり、加算器103の出力のMS
Bを入力して反転論理処理を行いMSBを出力する。
104 is an inverter, and the MS of the output of the adder 103 is
B is input, inversion logic processing is performed, and MSB is output.

105は、シフトレジスタ101の出力ai を一方の
入力とし、インバータ4の出力MSBを他方の入力とし
てそのいずれかを外部から与えられる切替制御信号R/
Lに従って切替え並列書き込み信号PLとして外部へ出
力する切替器である。
105 has the output ai of the shift register 101 as one input, the output MSB of the inverter 4 as the other input, and receives either of them as a switching control signal R/
This is a switch that outputs a switching parallel write signal PL to the outside according to the switching parallel write signal PL.

106は双方向シフトレジスタであり、加算器103の
出力を並列入力データPIとしてクロック信号CLKに
従って入力し、切替器105からの並列書き込み信号P
Lによって、PL−“′1”のときには並列入力データ
PIを一時記憶し、PL=”0”のときには並列入力デ
ータPIを棄却し、既に記憶されているデータの保持を
行うとともに、前記−時記憶されたデータを切替制御信
号R/Lによって指定される方向(左または右)にクロ
ック信号CLKのタイ稟ングに従って1ビットシフトし
、並列出力データPOとして加算器103へ供給する。
106 is a bidirectional shift register, which inputs the output of the adder 103 as parallel input data PI according to the clock signal CLK, and receives the parallel write signal P from the switch 105.
By L, parallel input data PI is temporarily stored when PL is "'1", parallel input data PI is discarded when PL is "0", data already stored is retained, and the data is stored at the time mentioned above. The stored data is shifted by one bit in the direction (left or right) specified by the switching control signal R/L according to the timing of the clock signal CLK, and is supplied to the adder 103 as parallel output data PO.

その規模は前記Bの2進値表現上の有効桁数をm(mは
自然数)とするとき、(f+m)ビットである。この双
方向シフトレジスタ106の内容は、外部から与えられ
るクリア信号CLRによって初期化することができる。
Its scale is (f+m) bits, where the number of significant digits in the binary representation of B is m (m is a natural number). The contents of this bidirectional shift register 106 can be initialized by a clear signal CLR applied from the outside.

〔作 用〕[For production]

第1図の本発明の構成例図に基づく作用を次に説明する
The operation based on the configuration example diagram of the present invention shown in FIG. 1 will be explained next.

まず、切替制御信号R/Lが′R” (右)の場合につ
いて述べる。
First, the case where the switching control signal R/L is 'R'' (right) will be described.

バス切替器102は切替制御信号R/Lの内容°“R”
に従って回路を切替え、乗算に供せられる他方の正数B
を出力し加算器103に与える。加算器103は双方向
シフトレジスタ106の出力を一方の入力とし、バス切
替器102の出力を他方の入力として加算演算を行い、
その結果を出力する。双方向シフトレジスタ106はク
ロック信号CLKに従って加算器103の出力を取り込
み、並列書き込み信号PLにより、並列書き込み信号P
Lが°゛1′°のときは双方向シフトレジスタ1゜6に
格納されている過去の累算値を加算器103の出力値に
更新し、°″O“′のときには更新を行わない。
The bus switch 102 has the content of the switching control signal R/L "R".
The circuit is switched according to the other positive number B that is subjected to multiplication.
is output and given to the adder 103. The adder 103 uses the output of the bidirectional shift register 106 as one input, and the output of the bus switch 102 as the other input, and performs an addition operation.
Output the result. The bidirectional shift register 106 takes in the output of the adder 103 according to the clock signal CLK, and receives the output from the adder 103 according to the parallel write signal PL.
When L is °1', the past cumulative value stored in the bidirectional shift register 16 is updated to the output value of the adder 103, and when L is °'0, no update is performed.

また、切替器105の出力は、切替制御信号R/Lが°
゛R”の場合には、乗算に供せられる一方の正数Aを記
憶しクロック信号CLKに従ってAの2進値表現上の最
下位桁a0から最上位桁alfi−+までを順次出力す
るシフトレジスタ101の出力が接続され、並列書き込
み信号PLとして双方向シフトレジスタに与えられる。
Further, the output of the switch 105 indicates that the switching control signal R/L is
In the case of "R", a shift is performed that stores one positive number A to be used for multiplication and sequentially outputs from the least significant digit a0 to the most significant digit alfi-+ in the binary value representation of A according to the clock signal CLK. The output of register 101 is connected and given to the bidirectional shift register as parallel write signal PL.

上記の処理により、1回目は(ao  ・2°・B)が
算出され、2回目からは加算器103の一方の入力が双
方向シフトレジスタ106の格納値を右へ1ビットシフ
トした値となるので、加算器103の出力は双方向シフ
トレジスタ106の格納値にBの2倍値を加えたことと
等価になり、以上の動作を1回繰返すことにより 次に、切替信号R/Lが°L” (左)の場合には、バ
ス切替器102は法の正数Nの2の補数値(−N)を切
替出力し、加算器103に与える。
Through the above processing, (ao · 2° · B) is calculated the first time, and from the second time, one input of the adder 103 becomes the value obtained by shifting the value stored in the bidirectional shift register 106 by 1 bit to the right. Therefore, the output of the adder 103 is equivalent to adding twice the value of B to the value stored in the bidirectional shift register 106, and by repeating the above operation once, the switching signal R/L becomes In the case of L'' (left), the bus switch 102 switches and outputs the two's complement value (-N) of the modulus positive number N, and provides it to the adder 103.

加算器103は双方向シフトレジスタ106の出力を一
方の入力とし、バス切替器102の出力を他方の入力と
することにより、双方向シフトレジスタ106の出力か
らNを滅じた値を出力する。
The adder 103 uses the output of the bidirectional shift register 106 as one input and the output of the bus switch 102 as the other input, thereby outputting a value obtained by subtracting N from the output of the bidirectional shift register 106.

加算器103の出力は双方向シフトレジスタ106にク
ロック信号CLKに従って入力されるとともに、そのM
SBはインバータ104に入力される。
The output of the adder 103 is input to the bidirectional shift register 106 according to the clock signal CLK, and its M
SB is input to inverter 104.

インバータ104は反転論理処理を行い、MS丁を出力
し切替器105に与える。切替器105は切替制御信号
R/LによってMSBを並列書き込み信号PLとして切
替出力し双方向シフトレジスタ106に与える。加算器
103の出力はクロック信号CLKに従って双方向シフ
トレジスタ106に入力され、並列書き込み信号PLが
°“1”(加算器103の出力が正の値)のときは双方
向シフトレジスタ106の格納値を加算器103の出力
値に更新し、並列書き込み信号PLが“0”(加算器1
03の出力が負の値)のときには上記更新を行わない、
双方向シフトレジスタ106の次の出力は左に1ビット
シフトし、最上位1ビットは切捨てられて出力され、加
算器103の新たな入力となる。
The inverter 104 performs inversion logic processing, outputs MS and supplies it to the switch 105. The switch 105 switches and outputs the MSB as a parallel write signal PL in accordance with the switching control signal R/L, and supplies it to the bidirectional shift register 106. The output of the adder 103 is input to the bidirectional shift register 106 according to the clock signal CLK, and when the parallel write signal PL is "1" (the output of the adder 103 is a positive value), the value stored in the bidirectional shift register 106 is is updated to the output value of the adder 103, and the parallel write signal PL is “0” (adder 1
When the output of 03 is a negative value), the above update is not performed.
The next output of the bidirectional shift register 106 is shifted one bit to the left, and the most significant bit is discarded and output, and becomes a new input to the adder 103.

以上は、AXBに対する2”−N(kは任意の自然数)
による減算をkを1ずつ滅しなから繰返すことに他なら
ず、双方向シフトレジスタ106に格納されたAXBを
被除数とし、正数値Nを除数する除算処理が実行されて
いることがわかる。
The above is 2”-N for AXB (k is any natural number)
It can be seen that this is nothing more than repeating the subtraction by eliminating k by 1, and a division process is executed in which AXB stored in the bidirectional shift register 106 is used as the dividend and a positive value N is used as the divisor.

従って、上記の処理を(l+m−n+1)回繰返したと
き求める剰余(AXB)、。□が双方向シフトレジスタ
106の出力に残されることになる。
Therefore, the remainder (AXB) obtained when the above process is repeated (l+m-n+1) times. □ will be left at the output of the bidirectional shift register 106.

(nはNの2の補数値の有効桁数) (発明の効果) 以上詳細に説明したように、本発明によれば、切替器が
2個、メモリが2個、加算器が1個で実現することがで
きるので、回路規模が比較的小さいという著しい効果が
ある。
(n is the number of significant digits of the two's complement value of N) (Effects of the Invention) As explained in detail above, according to the present invention, there are two switchers, two memories, and one adder. Since it can be realized, there is a remarkable effect that the circuit scale is relatively small.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は本発明の実施例を示す一構成例図、第2図は従
来の乗算剰余演算器の一構成例図である。 101・・・シフトレジスタ、102・・・バス切替器
、103・・・加算器、104・・・インバータ、10
5・・・切替器、106・・・双方向シフトレジスタ、
201・・・補助レジスタ、202,205゜206・
・・加算器、203,207・・・切替器、204・・
・累算値レジスタ、208,209・・・演算ブロック
FIG. 1 is a diagram showing a configuration example of an embodiment of the present invention, and FIG. 2 is a diagram showing a configuration example of a conventional multiplication remainder calculator. 101... Shift register, 102... Bus switch, 103... Adder, 104... Inverter, 10
5... Switcher, 106... Bidirectional shift register,
201... Auxiliary register, 202, 205° 206.
...Adder, 203, 207...Switcher, 204...
- Accumulated value register, 208, 209... calculation block.

Claims (1)

【特許請求の範囲】 2つの正数A、Bの乗算値A・Bの他の正数Nを法とす
る剰余を求めるにあたって、 前記正数A、B、Nの2進値表現上の有効桁数をl、m
、n(l、m、nは自然数)とするとき、該lビットの
Aを格納し、該Aの2進値表現上の各桁a_i(i=0
〜l−1)を外部から与えられるクロック信号に従って
最下位桁a_0から最上位桁a_l_−_1までを順次
に出力するシフトレジスタと、2進値表現された他方の
前記正数Bと前記他の正数Nの2の補数値とをそれぞれ
入力し外部から与えられる切替制御信号に従って切替え
て出力するバス切替器と、 該バス切替器の出力を一方の入力とし他方の入力との加
算値を出力する加算器と、 該加算器の出力の前記最上位桁a_l_−_1を入力し
反転論理処理を行って反転出力として出力するインバー
タと、 前記シフトレジスタの出力と前記インバータの出力のい
ずれかを前記切替制御信号に従って切替えて出力する切
替器と、 外部から与えられるクロック信号に従って、前記加算器
の出力と前記切替器の出力とを入力し、前記切替器の出
力の極性によって上記入力された加算器の出力の格納の
有無を制御するとともに、前記格納された値を前記切替
制御信号によって指定される方向(左または右)にクロ
ック信号のタイミングに従って1ビットシフトした値を
前記加算器の前記他方の入力として出力し、かつ、外部
から与えられるクリア信号によって格納された値を任意
に初期化できる双方向シフトレジスタとを備えて、 前記Aの各桁a_iが最下位桁a_0から順に上位側に
向かって1ビット毎に前記切替器から前記双方向シフト
レジスタに供給される度に、前記加算器から得られる累
算値を前記双方向シフトレジスタに格納する演算をl回
繰り返すことにより前記双方向シフトレジスタに前記乗
算値A・Bが得られ、さらに、前記インバータの反転出
力が1ビット毎に前記切替器から前記双方向シフトレジ
スタに供給される度に、前記加算器から得られる累算値
を前記双方向シフトレジスタに格納する演算を(l+m
−n+1)回繰り返すことにより前記双方向シフトレジ
スタに前記乗算値A・BのNを法とする前記剰余が得ら
れるように構成した乗算剰余演算器。
[Claims] In calculating the remainder of the multiplication value A and B of two positive numbers A and B modulo another positive number N, the validity of the binary value representation of the positive numbers A, B, and N is determined. Number of digits l, m
, n (l, m, n are natural numbers), store the l-bit A, and write each digit a_i (i=0
~l-1) from the least significant digit a_0 to the most significant digit a_l_-_1 in accordance with an externally applied clock signal; A bus switch that inputs a 2's complement value of a positive number N and switches and outputs it according to a switching control signal given from the outside; and a bus switch that takes the output of the bus switch as one input and outputs the added value of the other input. an inverter that inputs the most significant digit a_l_-_1 of the output of the adder, performs inversion logic processing, and outputs it as an inverted output; a switch that switches and outputs according to a switching control signal; and a switch that inputs the output of the adder and the output of the switch according to a clock signal given from the outside, and that inputs the output of the adder according to the polarity of the output of the switch. In addition to controlling whether or not to store the output of the adder, a value obtained by shifting the stored value by one bit in the direction (left or right) specified by the switching control signal according to the timing of the clock signal is transferred to the other of the adder. It is equipped with a bidirectional shift register that can be output as an input and can arbitrarily initialize the stored value by a clear signal given from the outside. The bidirectional shift is performed by repeating l times the operation of storing the accumulated value obtained from the adder in the bidirectional shift register each time one bit is supplied from the switch to the bidirectional shift register. The multiplication values A and B are obtained in the register, and each time the inverted output of the inverter is supplied bit by bit from the switch to the bidirectional shift register, the accumulated value obtained from the adder is calculated. The operation to be stored in the bidirectional shift register is (l+m
-n+1) times to obtain the remainder modulo N of the multiplication values A and B in the bidirectional shift register.
JP1315932A 1989-12-05 1989-12-05 Multiplicative remainder calculator Expired - Fee Related JPH0778727B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1315932A JPH0778727B2 (en) 1989-12-05 1989-12-05 Multiplicative remainder calculator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1315932A JPH0778727B2 (en) 1989-12-05 1989-12-05 Multiplicative remainder calculator

Publications (2)

Publication Number Publication Date
JPH03176735A true JPH03176735A (en) 1991-07-31
JPH0778727B2 JPH0778727B2 (en) 1995-08-23

Family

ID=18071337

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1315932A Expired - Fee Related JPH0778727B2 (en) 1989-12-05 1989-12-05 Multiplicative remainder calculator

Country Status (1)

Country Link
JP (1) JPH0778727B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03198525A (en) * 1989-12-27 1991-08-29 Kokusai Electric Co Ltd Computing element for residue at multiplication

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6410378A (en) * 1987-07-02 1989-01-13 Brother Ind Ltd Data processor
JPS6413624A (en) * 1987-07-07 1989-01-18 Nec Corp Multiplication remainder arithmetic unit

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6410378A (en) * 1987-07-02 1989-01-13 Brother Ind Ltd Data processor
JPS6413624A (en) * 1987-07-07 1989-01-18 Nec Corp Multiplication remainder arithmetic unit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03198525A (en) * 1989-12-27 1991-08-29 Kokusai Electric Co Ltd Computing element for residue at multiplication

Also Published As

Publication number Publication date
JPH0778727B2 (en) 1995-08-23

Similar Documents

Publication Publication Date Title
JP3615622B2 (en) Microcomputer
JP2010044398A (en) Multiple precision arithmetic device
IL97413A (en) Microcircuit for the implementation of rsa algorithm and ordinary and modular arithmetic in particular exponentiation with large operands
US5957996A (en) Digital data comparator and microprocessor
US7480691B2 (en) Arithmetic device for multiple precision arithmetic for Montgomery multiplication residue arithmetic
JP3277089B2 (en) Multiplier and product-sum operation unit
JPH034382A (en) Adding method and multiplying circuit
US5014233A (en) Divider for carrying out high speed arithmetic operation
US5365471A (en) Divider for performing signed division using a redundant signed digit
JP2003271056A (en) Remainder computing element
JPH03176735A (en) Multiplication remainder computing element
US6157937A (en) High speed interpolation circuit with small circuit scale
JPH0346024A (en) Floating point computing element
JP3660075B2 (en) Dividing device
JPS5841532B2 (en) Sekiwa Keisan Cairo
JPH0326114A (en) Multiplication remainder computing element
JP2705162B2 (en) Arithmetic processing unit
JP2529890B2 (en) Multiplicative remainder calculator
US3240922A (en) Serial digital electronic computer
JPS62154029A (en) Multiplier circuit
JPS63268037A (en) Multiplying circuit for finite body
KR0161485B1 (en) A multiplier of booth algorithm using arithmetic unit
Vishwaja et al. Performance Comparison of Carry Select Adder with Different Techniques
JPH02165326A (en) Non-recovery type divider
RU1783522C (en) Divider

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees