JPH0248828A - Galois field divider circuit and circuit sharing multiplication and division - Google Patents

Galois field divider circuit and circuit sharing multiplication and division

Info

Publication number
JPH0248828A
JPH0248828A JP1032283A JP3228389A JPH0248828A JP H0248828 A JPH0248828 A JP H0248828A JP 1032283 A JP1032283 A JP 1032283A JP 3228389 A JP3228389 A JP 3228389A JP H0248828 A JPH0248828 A JP H0248828A
Authority
JP
Japan
Prior art keywords
output
input
division
multiplication
circuit
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
JP1032283A
Other languages
Japanese (ja)
Other versions
JP2641285B2 (en
Inventor
Mitsuru Matsui
充 松井
Koichi Sakurai
桜井 幸一
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP1032283A priority Critical patent/JP2641285B2/en
Publication of JPH0248828A publication Critical patent/JPH0248828A/en
Application granted granted Critical
Publication of JP2641285B2 publication Critical patent/JP2641285B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F7/00Methods or arrangements for processing data by operating upon the order or content of the data handled
    • G06F7/60Methods or arrangements for performing computations using a digital non-denominational number representation, i.e. number representation without radix; Computing devices using combinations of denominational and non-denominational quantity representations, e.g. using difunction pulse trains, STEELE computers, phase computers
    • G06F7/72Methods or arrangements for performing computations using a digital non-denominational number representation, i.e. number representation without radix; Computing devices using combinations of denominational and non-denominational quantity representations, e.g. using difunction pulse trains, STEELE computers, phase computers using residue arithmetic
    • G06F7/724Finite field arithmetic
    • G06F7/726Inversion; Reciprocal calculation; Division of elements of a finite field
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2207/00Indexing scheme relating to methods or arrangements for processing data by operating upon the order or content of the data handled
    • G06F2207/72Indexing scheme relating to groups G06F7/72 - G06F7/729
    • G06F2207/7209Calculation via subfield, i.e. the subfield being GF(q) with q a prime power, e.g. GF ((2**m)**n) via GF(2**m)

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Computational Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • General Engineering & Computer Science (AREA)
  • Detection And Correction Of Errors (AREA)
  • Error Detection And Correction (AREA)

Abstract

PURPOSE:To reduce hardware quantity, to speed up-arithmetic processing and to shape a multiplication circuit and a division circuit by the instruction of a switching means without using a shift register by composing a Galois field GF(2<n>) multiplication and division sharing circuit with the computing element of a partial field GF(2<m>). CONSTITUTION:Products X, Y are outputted from a GF(2<n>) input division means 1 of a Galois field division circuit by taking elements X, Y of the Galois field GF(2<n>) as input elements (n is an even number) and the computing element of the partial field GF(2<m>) of the Galois field GF(2<n>) (n=2m) is constituted. Moreover, A GF(2<n>) inverse element means 2 outputs an inverse element 1/Y<2> being the inverse of the square of the input element Y and the computing element of the partial field GF(2<m>) is constituted. Then the output of the input division means 1 and the output of the inverse element means 2 are given to the GF(2<n>) output means 3, where the outputs are multiplied, and the result is subjected to the calculation of the partial field GF(2<m>) to constitute a multiplication and division sharing circuit. Through the above constitution, the quantity of hardware is reduced without using any shift register and any reduction ROM and the processing speed is quickened.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、符号化器および復号化器において使用され
るガロア体除算回路及び乗除算共用回路に関するもので
ある。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a Galois field division circuit and a multiplication/division shared circuit used in encoders and decoders.

〔従来の技術〕[Conventional technology]

第11図は例えば、嵩、都倉、岩垂、稲垣著「符号理論
」コロナ社発行、  P333−336 (昭和50年
2月)に示された従来の乗算回路であり、多項式b(x
)=1 +X”+X3+X5+X’を入力多項式a(x
)=ao+a、−X+−+a、・X”に掛は合わせる回
路である0図において、50は多項式a (x)を入力
する入力端子、51は乗算結果を出力する出力端子、5
2,53,54,55゜56.57.58は、最初Oが
セットされているシフトレジスタ、59,60.61.
62は加算器である。
Figure 11 shows, for example, the conventional multiplier circuit shown in "Coding Theory" by Takeshi, Tokura, Iwadare, and Inagaki, published by Corona Publishing, P333-336 (February 1975), and the polynomial b(x
)=1 +X"+X3+X5+X' as input polynomial a(x
)=ao+a, -X+-+a, ・X" is a circuit that multiplies.
2, 53, 54, 55° 56. 57. 58 are shift registers to which O is initially set, 59, 60. 61.
62 is an adder.

次に第11図に示した回路の動作について説明する。入
力多項式は高次の項から入力されるものとする。この場
合、入力端子50からa、・X″″が入力されると、そ
のまま出力端子51からa。
Next, the operation of the circuit shown in FIG. 11 will be explained. It is assumed that the input polynomial is input from higher-order terms. In this case, when a, .

x−7の項として出力される。同次にこのa。It is output as the x-7 term. Next, this a.

X11の項は、一番人端のシフトレジスタ52に入力さ
れる0次にa、−5・X′″1の項が入力端子50より
入力されると、再びこの項は出力端子51にそのまま現
れ、a□1・X 1にの項となる。その次の項のa、、
−X’″−2が入力されるとこの項は二つ前に入力され
たa、・X−の項と、一番人の加算器59で加え合わさ
れ、 a、、−X”−”−X’+ all−X”−X’”” 
 (am−z+ am)・X −+ Sの項として出力
される。このようにして、(1+ X”+ X”+ X
’ + X7)(a 6+ a +・X +−+ al
l−X”)−ao+a+・X+(az+ao)・X2+
−+ (a m−z + a ll)、X ”’+  
a 、−、・X””+ a、−X”+7が計算されるこ
とになる。同様にして、一般に入力多項式a(x)=a
o+a+−X+・・・+am−X”に一定の多項式b 
(x)= bo + b +・X +−+ bII・X
’を掛は合わせる回路は第12図に示される。したがっ
て、部分体GF(2n″)の乗算回路はCF (2)上
のm次既約多項式の1つの根をXとして、上のシフトレ
ジスタ52〜58を用いた回路によって構成される。
The term appears and becomes the term a□1・X 1.The next term a,,
When -X'''-2 is input, this term is added to the term a, . X'+ all-X"-X'""
It is output as the term (am-z+am)·X-+S. In this way, (1+X”+X”+X
' + X7) (a 6+ a +・X +-+ al
l-X”)-ao+a+・X+(az+ao)・X2+
-+ (a m-z + all), X '''+
a, -, ・X""+ a, -X"+7 will be calculated. Similarly, in general, input polynomial a(x)=a
o+a+-X+...+am-X" is a constant polynomial b
(x) = bo + b +・X +-+ bII・X
A circuit for multiplying and matching ' is shown in FIG. Therefore, the multiplication circuit for the subfield GF(2n'') is configured by a circuit using the shift registers 52 to 58 above, where X is one root of the m-th degree irreducible polynomial on CF (2).

また、第13図は例えば、吉田、井上、山岸他「ガロア
演算ユニットを用いたR3符号の復号法に関する一検討
」第9回情報理論とその応用シンポジウム予稿集、 P
167〜P170 (1986年)に示された従来の除
算回路である。
Also, Figure 13 shows, for example, Yoshida, Inoue, Yamagishi et al., "A study on the decoding method of R3 codes using Galois arithmetic units," Proceedings of the 9th Information Theory and Its Applications Symposium, P.
167-P170 (1986).

図はガロア体GF(2@)の場合を示し、図において、
63は入力されるGF(2n)の元X、64は入力され
るCF(2m )の元Y、65は出力されるGF(2s
)の元Z、66はGF(2n)の逆元ROM、67はG
F(2@)の乗算器である。
The figure shows the case of Galois field GF(2@), and in the figure,
63 is element X of input GF (2n), 64 is element Y of input CF (2m), and 65 is output GF (2s
) element Z, 66 is the inverse element ROM of GF (2n), 67 is G
It is an F(2@) multiplier.

次に第13図に示した回路の動作について説明する。ま
ず、GF (2)係数8次既約多項式T8+T’+T3
+T”+1の根をaとおくとき、x8(0≦i≦7)は
Xをあらかじめ固定されたGF(2s)のGF (2)
上の基底(1、a 、  a ”、 a 3a 4 、
  a S 、  a 6 、  a ? )に関して
表現した係数であり、それぞれ°゛0″または1″をあ
られし、≦i≦7)はYを前記基底に関して表現した係
数で、それぞれ“0″または“1″をあられし、≦i≦
7)はZを上記基底に関して表現した係数で、それぞれ
パ0”または″1′″をあられし、また、GF(2m)
(7)逆元ROM66に!;!GF(2m)の元とその
逆元の対応表が記憶されている。すなわち、前記基底に
関して表現された元Yを入力すると、このGF(2m 
)の逆元ROM66は1/Yを同じ基底に関して表現し
て出力する。CF(2m )の乗算器67は前記GF(
2m)の逆元ROM66で出力された元1/Y、および
前記基底に関して表現された元Xが入力され、その積X
/Yが、同じ基底に関して表現されて出力される。
Next, the operation of the circuit shown in FIG. 13 will be explained. First, GF (2) Coefficient 8th order irreducible polynomial T8+T'+T3
When the root of +T”+1 is set as a, x8 (0≦i≦7) is the GF of GF (2s) with X fixed in advance (2)
The base on (1, a, a'', a 3a 4,
aS, a6, a? ), respectively representing °゛0'' or 1'', ≦i≦7) is a coefficient expressing Y with respect to the base, respectively representing ``0'' or ``1'', ≦i ≦
7) is a coefficient expressing Z with respect to the above base, and represents PA0'' or ``1'', respectively, and GF(2m)
(7) Reverse original ROM66! ;! A correspondence table between the element of GF(2m) and its inverse element is stored. That is, when inputting the element Y expressed in terms of the base, this GF(2m
)'s inverse element ROM 66 expresses 1/Y with respect to the same base and outputs it. The multiplier 67 of CF(2m) is connected to the GF(2m).
The element 1/Y output from the inverse element ROM 66 of 2m) and the element X expressed with respect to the base are input, and the product X
/Y is expressed and output with respect to the same basis.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

従来のガロア体乗算回路および除算回路は以上のように
、GF(2)のm次既約多項式の1つの根に関してCF
(2m)の元を表現して構成したり、逆元ROMを用い
て構成しているのでハードウェア量が多く、処理速度も
遅くなるという課題があった。
As described above, conventional Galois field multiplication circuits and division circuits calculate the CF
Since it is constructed by expressing the element of (2m) or is constructed using an inverse element ROM, there is a problem that the amount of hardware is large and the processing speed is slow.

また、上記ガロア体乗算回路および除算回路は別々の回
路であり、共用することができないという課題があった
Another problem is that the Galois field multiplication circuit and division circuit are separate circuits and cannot be shared.

第1及び第2の請求項に係る発明は、上記のような課題
を解消するためになされたもので、ハードウェア量を少
なくし、処理速度を高めるガロア体除算回路、さらには
乗除算の共用を可能にするガロア体乗除算共用回路を得
ることを目的とする。
The inventions according to the first and second claims have been made to solve the above-mentioned problems, and include a Galois field division circuit that reduces the amount of hardware and increases processing speed, and a shared multiplication/division circuit. The purpose of this study is to obtain a Galois field multiplication/division shared circuit that enables the following.

〔課題を解決するための手段〕[Means to solve the problem]

nを偶数とするガロア体GF(2′1)の元XおよびY
を入力元、Zを出力元とし、CF (2)係数のn次既
約多項式の根aおよびn=2mとなる部分体GF(2n
)の元x、、x、、、y、、y、、z、、z、から入力
元X=Xo+XI−a、Y=Yo+Y+・a、出力元Z
 = Zo + Z I−aと表現し、また前記部分体
CF(2m)のノルムaz++ をN(a)、トレース
a2+aをT (a)とするとき、第1の請求項に係る
ガロア体除算回路は、前記部分体GF(2n″)の演算
器で構成された(、F(2n)入力乗算手段により積X
−Yを出力し、GF(2m)送元手段ににより1 /Y
”を出力する。
Elements X and Y of Galois field GF(2'1) where n is an even number
Let Z be the input source, Z be the output source, and the subfield GF (2n
) from elements x,,x,,,y,,y,,z,,z,, input source X=Xo+XI-a, Y=Yo+Y+・a, output source Z
= Zo + Z I-a, and when the norm az++ of the subfield CF(2m) is N(a) and the trace a2+a is T(a), the Galois field division circuit according to the first claim is composed of the arithmetic unit of the subfield GF(2n″), and the product
-Y is output, and the GF (2m) sending means sends 1/Y.
” is output.

さらにGF(2n)出力乗算手段によりつまり、 Z= Yo(Yo+Y+−T(a))+Y+”・N(a)を得
る。
Furthermore, the GF(2n) output multiplication means obtains Z=Yo(Yo+Y+-T(a))+Y+''·N(a).

また、第2の請求項に係るガロア体乗除算共用回路は、
前述したようにGF(2n)入力乗算手段により積X−
Yを出力し、GF(2n)送元手段から1 /Y”を出
力する。
Further, the Galois field multiplication/division shared circuit according to the second claim is:
As mentioned above, the product X-
1/Y'' from the GF(2n) sending means.

さらに、スイッチ手段より乗算指示がある場合、前記G
F(2n)送元手段の出力を入力するGF(2n″)選
択器は、GF(2n)の単位元を出力し、前記GF(2
n)入力乗算手段およびG F (2n″)選択器の各
出力を入力するC、 F (2n)出力乗算手段より、
Zo=Xo ・Yo+X+ ・Y+ ’ N(a)Z+
 −(Xo +X+) (Yo + Y+) + Xo
・Yoつまり、 Z = X−Y =(Xo・Yo +X+・Y+−N(a))+ ((X
o+X+)(Yo+Y+)+Xo−Yol −aを得る
。また、スイッチ手段より除算指示がある場合、前記C
,F(2n)送元手段の出力を入力するGF(2m)選
択器は、入力1/Y2を出力し、前記GF(2m)出力
乗算手段およびGF(2n″)選択器の各出力を入力す
るGF(2n)出力乗算手段により、前述したガロア体
除算回路と同じ出力を得る。
Furthermore, when there is a multiplication instruction from the switch means, the G
A GF(2n'') selector inputting the output of the F(2n) source means outputs the identity of GF(2n) and selects the GF(2n).
n) input multiplication means and C, F (2n'') output multiplication means which inputs each output of the G F (2n'') selector;
Zo=Xo ・Yo+X+ ・Y+ ' N(a)Z+
-(Xo +X+) (Yo + Y+) + Xo
・Yo In other words, Z = X-Y = (Xo・Yo +X+・Y+-N(a))+ ((X
o+X+)(Yo+Y+)+Xo-Yol-a is obtained. Further, when there is a division instruction from the switch means, the C
, F(2n) The GF(2m) selector inputs the output of the sending means, outputs the input 1/Y2, and inputs each output of the GF(2m) output multiplication means and the GF(2n'') selector. The GF(2n) output multiplication means obtains the same output as the Galois field division circuit described above.

〔作 用〕[For production]

第1及び第2の請求項に係るガロア体除算回路及び乗除
算共用回路は、nを偶数とするガロア体GF(2″)の
元X、Yを入力元とし、n=2mとなる部分体GF(2
@)の演算器で構成して積X・Yおよび商X/Yを出力
することで、ハードウェア量を減らし、かつ処理速度を
向上させる。
The Galois field division circuit and the multiplication/division shared circuit according to the first and second claims use elements X and Y of a Galois field GF (2''), where n is an even number, as input sources, and a subfield where n=2m. GF(2
By configuring the system with arithmetic units of @) and outputting the product X·Y and the quotient X/Y, the amount of hardware can be reduced and the processing speed can be improved.

また、第2の請求項に係るガロア体乗除算共用回路は、
スイッチ手段の切換指示により、乗算および除算回路の
共用を可能にする。
Further, the Galois field multiplication/division shared circuit according to the second claim is:
The switching instruction of the switch means allows the multiplication and division circuits to be shared.

〔発明の実施例] 以下、第1の請求項における発明の一実施例について説
明する。第1図は、nを偶数とするガロア体GF(2)
係数n次既約多項式の任意の根をa(aはGF(2n 
)の元でもある)とするとき、n=2mとなる部分体G
F(2m)の演算器で構成したGF(2m )の除算回
路である。
[Embodiments of the Invention] Hereinafter, an embodiment of the invention in the first claim will be described. Figure 1 shows the Galois field GF(2) where n is an even number.
An arbitrary root of an irreducible polynomial of degree n with coefficients is a(a is GF(2n
), then the subfield G such that n=2m
This is a GF(2m) division circuit composed of F(2m) arithmetic units.

図において、X、YはGF(2n)の入力元であり、X
o、X+およびY、、Y、は部分体CF(2m)の元で
ある。ここで、X、、X、およびY、、Y、は、入力元
x、yをGF(2n)の部分体GF(2n″)上玉の基
底(1,g)に関して表現した係数であり、従って入力
元X、YがそれぞれX、+X1aおよびYl、+Yl・
aであることを示している。また、ZはGF(2m)の
入力元であり、同様に部分体GF(2m)の元Z6.Z
lでZo+Zl−aと表現される。
In the figure, X and Y are the input sources of GF(2n), and
o, X+ and Y, , Y, are elements of the subfield CF(2m). where, Therefore, input sources X and Y are respectively X, +X1a and Yl, +Yl・
This shows that it is a. Also, Z is the input source of GF(2m), and similarly, element Z6. of the subfield GF(2m). Z
It is expressed as Zo+Zl−a.

lは元x、Yを入力して積X−Yを出力し、かつGF(
2n″)の演算器で構成されているGF(2n)入力乗
算手段、2は元Yを人力して2乗の送元I/Yzを出力
し、かつGF(2n)の演算器で構成されているGF(
2m)逆元手段である。
l inputs the elements x and Y and outputs the product X-Y, and GF(
GF(2n) input multiplication means is composed of arithmetic units of GF(2n''); GF (
2m) It is an inverse element means.

3は前記GF(2n)人力乗算手段の出力および前記C
F (2″)逆元手段の出力を乗算して元Zを出力する
GF(2n)出力乗算手段である。
3 is the output of the GF(2n) manual multiplication means and the C
GF(2n) output multiplication means that multiplies the output of the F(2″) inverse element means and outputs the element Z.

さらに、7B、79,80.81はCF (2m)加算
器で、2つのG F (2m)の元を入力し、和を出力
する。70,71,72,73,74.75゜76はC
,F(2n″)乗算器で、2つのGF(2m)の元を入
力し、積を出力する。77はCF (2n″)の元を入
力し、送元を出力するGF(2m)逆元器、85はGF
C2m″)の元を入力し、2乗を出力するGF(2m3
2乗器、83.84はCF(2m)の元を入力し、GF
(2n)のノルムN (a)を乗算するGF(2m″)
N(a)倍器、82はGF(2−)の元を入力し、(:
、F(2n″)のトレースT (a)を乗算するCF(
2m)T(a)倍器である。
Furthermore, 7B, 79, 80.81 are CF (2m) adders which input two elements of G F (2m) and output the sum. 70, 71, 72, 73, 74.75°76 is C
, F(2n'') multiplier inputs the elements of two GF(2m) and outputs the product. 77 inputs the elements of CF (2n'') and outputs the source of GF(2m) inverse. Genki, 85 is GF
GF(2m3) which inputs the element of C2m″) and outputs the square
Squarer, 83.84 inputs the element of CF (2m), GF
GF (2m″) multiplied by the norm N (a) of (2n)
N(a) multiplier, 82 inputs the element of GF(2-), (:
, CF(
2m) T(a) is a multiplier.

次に第1の請求項の実施例による動作について以下に説
明する。まず、CF(2@)T(a)倍器82は入力元
Y+にT (a)を掛けて’y’ 、 −T (a)を
出力し、GF(2m)加算器78は前記GF(2m)T
 (a)倍器82の出力とGF(2m″)の入力元Y0
を加えてY o + Y + ・T (a)を出力する
。GF(2m)2乗器85はGFC2m)(D入力元Y
、を2乗してY1!を出力し、GF(2n)N(a)倍
器84はGF(2m )2乗器85の出力にN (a)
を掛けてy、t。
Next, the operation according to the embodiment of the first claim will be explained below. First, the CF(2@)T(a) multiplier 82 multiplies the input source Y+ by T(a) and outputs 'y', -T(a), and the GF(2m) adder 78 multiplies the input source Y+ by T(a) and outputs 'y', -T(a). 2m)T
(a) Output of doubler 82 and input source of GF (2m'') Y0
and outputs Y o + Y + ·T (a). GF(2m) squarer 85 is GFC2m)(D input source Y
, squared is Y1! The GF(2n)N(a) multiplier 84 outputs N(a) to the output of the GF(2m) squarer 85.
Multiply y, t.

N(a)を出力する。GF(2m)乗算器70は入力元
X0と加算器78の出力とを掛けて元X、(Y。
Output N(a). The GF(2m) multiplier 70 multiplies the input element X0 by the output of the adder 78 to obtain elements X, (Y.

+ Y + ・T (a))を出力し、GF(2n″)
乗算器7Iは入力元X、、Y、を掛けて元X、・Ylを
出力し、GF(2m)乗算器72は入力元X、、Y、を
掛けて元X、・Y、を出力し、GF(2n″)乗算器7
3は入力元X、、Y、を掛けて元X1・Yoを出力し、
またGF(2n″)乗算器74は入力元Y0とGF(2
m)加算器78の出力光とを掛けて元Y。
+ Y + ・T (a)) is output, and GF (2n″)
The multiplier 7I multiplies the input elements X,, Y, and outputs the elements X, ·Yl, and the GF(2m) multiplier 72 multiplies the input elements X,,Y, and outputs the elements X, ·Y. , GF(2n″) multiplier 7
3 multiplies the input sources X,,Y, and outputs the elements X1・Yo,
Furthermore, the GF(2n″) multiplier 74 inputs Y0 and GF(2n″).
m) Multiply by the output light of the adder 78 to obtain the element Y.

(Y、+ y 、 ・T (a))を出力する。GF(
2−)N(a)倍器83はGF(2n″)乗算器71の
出力光にN (a)を掛けて元x1・Y、・N (a)
を出力する。GF(2n″)加算器79は呑GF(2m
)乗算器70の出力光とCF(2m)N(a)倍器83
の出力光を加えてX。
Output (Y, + y, ·T (a)). GF(
2-) N(a) The multiplier 83 multiplies the output light of the GF(2n″) multiplier 71 by N(a) to obtain the element x1·Y,·N(a)
Output. GF(2n″) adder 79
) Output light of multiplier 70 and CF(2m)N(a) multiplier 83
Add the output light of X.

(Yo+Y+−T(a))+X+−Y+−N(a)を出
力し、GF(2n)加算器80はGF(2m)乗算器7
2と73の出力光とを加えてX、・Y + + X +
−Y oを出力し、GF(2n″)加算器81は(1,
F(2m)乗算器74の出力光とGF(2m)N(a)
倍器84の出力光とを加えてYll (Y(1+Yl 
−T(a))+Y+”−N(a)を出力する。GF(2
n″)逆元器77はGF(2n″)加算器81の出力光
の送元をとり1/ (Y6(Y、+Y、 ・T(a))
+Y+”−N(a)lを出力する。GF(2m)乗算器
75はGF(2m )加算器79の出力光とGF(2m
)逆元器77の出力光を掛けて元X1l(Y6 +Yt
4(a))+X+4+・N(a)を出力し、GF(2n
″)乗算器76はGF(2n)加算器80の出力光にG
F(2n″)逆元器77の出力光を掛けて元 を出力し、除算結果 を得る。
(Yo+Y+-T(a))+X+-Y+-N(a), GF(2n) adder 80 outputs GF(2m) multiplier 7
Adding the output light of 2 and 73, we get X, ・Y + + X +
-Y o, and the GF(2n″) adder 81 outputs (1,
Output light of F(2m) multiplier 74 and GF(2m)N(a)
Yll (Y(1+Yl
-T(a))+Y+''-N(a).GF(2
n″) inverter 77 takes the source of the output light of the GF(2n″) adder 81 and calculates 1/(Y6(Y, +Y, ・T(a))
GF(2m) multiplier 75 outputs the output light of GF(2m) adder 79 and GF(2m)
) by the output light of the inverter 77 to obtain the element X1l(Y6 +Yt
4(a))+X+4+・N(a), GF(2n
″) The multiplier 76 adds G to the output light of the GF(2n) adder 80.
F(2n'') is multiplied by the output light of the inverter 77 and outputs the element to obtain the division result.

また、上記除算結果にY6+Y、・aを掛けるとX、+
X、−aになることは容易に計算できるので、この回路
が入力の除算を計算することが示される。
Also, if you multiply the above division result by Y6+Y,・a, then X, +
Since it is easy to calculate that X, -a, it is shown that this circuit calculates the division of the inputs.

次に第2図に第1の請求項の他の実施例を示す。Next, FIG. 2 shows another embodiment of the first claim.

前記第1図の実施例はCF (2)係数n次既約多項式
の任意の根aに対して構成したものであるが、特にa”
+a=1、つまりT(a)=1なる条件を付加すると、
第2図のようにも構成することができる。すなわち、図
において、X、YはCF(2r′)の入力元であり、そ
れぞれ第1図に示したGF(2″)の入力元に対応する
ものであり、ZはGF(2n )の出力光である。92
,93,94゜95.96はGF(2n )加算器、8
6,87゜88.89,90.91はGF (2m )
乗算器、97はCF (2m )送元器、100は入力
元を2乗して出力するCF (2m)2乗器、98.9
9は入力元にノルムN (a)を掛けて出力するCF(
2a)N(a)倍器である。
The embodiment shown in FIG. 1 is constructed for any root a of an n-th degree irreducible polynomial with CF (2) coefficients, but in particular, a''
Adding the condition +a=1, that is, T(a)=1,
It can also be configured as shown in FIG. That is, in the figure, X and Y are the input sources of CF (2r'), which respectively correspond to the input sources of GF (2'') shown in Figure 1, and Z is the output of GF (2n). It is light.92
,93,94°95.96 is GF(2n) adder,8
6,87°88.89,90.91 is GF (2m)
Multiplier, 97 is a CF (2m) transmitter, 100 is a CF (2m) squarer that squares the input source and outputs it, 98.9
9 is the CF (
2a) N(a) Multiplier.

この第2図のガロア体GF(2n)除算回路が、入力X
、+XBaおよびY、+Y、−aから、その商である(
xo+xl −a)/ (Yo+Y+ ・a)を出力す
ることは第1図の場合と同様に示される。
This Galois field GF(2n) division circuit in FIG.
, +XBa and Y, +Y, -a, its quotient (
Outputting xo+xl -a)/(Yo+Y+ .a) is shown in the same way as in FIG.

次に第2図のガロア体除算回路を、n=8の場合にゲー
ト回路として構成した例をあげる。ここではaとして、
G F (2)係数8次既約多項式XIl+X’+X5
+X’ +1の根を選ぶ。この時T (a)=1である
。またb−a23@とおくと、bはCF(24)の原始
根となるので、C,F(2n)の元Xo。
Next, an example will be given in which the Galois field division circuit shown in FIG. 2 is configured as a gate circuit when n=8. Here, as a,
G F (2) Coefficient 8th order irreducible polynomial XIl+X'+X5
+X' Select the root of +1. At this time, T (a)=1. Also, if we set b-a23@, b becomes the primitive root of CF(24), so it is element Xo of C, F(2n).

X、、X、、Xユ+ Yo + Yl + Yt + 
Y3 +  Zo+Z+、Zz、ZiをGF(2n )
のG F (2>上の基底(1,b、b”、b3)に関
して表現することにする。またこの時、b’ +b+1
=O,N(a)=b’+iである。
X,,X,,Xyu+Yo+Yl+Yt+
Y3 + Zo+Z+, Zz, Zi to GF (2n)
Let us express it in terms of the bases (1, b, b'', b3) on G F (2>
=O, N(a)=b'+i.

この場合、第2図におけるGF(2n″)乗算器86.
87.8B、89,90.91は第4図のように構成で
きる。ここで22はOと1で表わされる0F(2n)の
元で、これは0F(2n)の元をGF(2)上の基底(
1,b、b” 、b3)について表現した係数であり、
CF (2n)の入力元が23はGF(2n)の元で、
CF (2n)の入力元がは0と1で表わされるGF(
2n )の元で、CF(24)が出力光Σz、−b”と
なることを示す。
In this case, the GF(2n'') multiplier 86 in FIG.
87.8B, 89, and 90.91 can be configured as shown in FIG. Here, 22 is an element of 0F(2n) represented by O and 1, which means that the element of 0F(2n) is a base on GF(2) (
1, b, b'', b3),
The input source of CF (2n) is 23, which is the source of GF (2n).
The input source of CF (2n) is GF (
2n), CF(24) becomes the output light Σz,-b''.

25は排他的論理和ゲート(以下、XORゲートという
)、26は論理積ゲート(以下、ANDゲートという)
、27は論理和ゲート(以下、ORゲートという)であ
り、この回路において出力光が入力元の積であることは
容易に知られる。
25 is an exclusive OR gate (hereinafter referred to as XOR gate), 26 is an AND gate (hereinafter referred to as AND gate)
, 27 are logical sum gates (hereinafter referred to as OR gates), and it is easily known that in this circuit the output light is the product of the input sources.

また、第2図におけるC、F(2m)加算器92゜93
.94,95.96は第5図のように構成できる。ここ
で、2B、29.30は前述した入力元および出力光で
あり、それぞれGF(2n)の元ることを示し、29は
GF(2n)の入力元がしている。31はXORゲート
であり、この回路において出力光が入力元の和であるこ
とは容易に知られる。
Also, C, F (2m) adders 92°93 in FIG.
.. 94, 95, and 96 can be configured as shown in FIG. Here, 2B and 29.30 are the above-mentioned input source and output light, respectively indicating the source of GF (2n), and 29 is the input source of GF (2n). 31 is an XOR gate, and it is easily known that the output light in this circuit is the sum of the input sources.

また、第2図におけるGF(2n)2乗器100とする
GF(2n)の元XO+  xl   Xz+  X3
をとするGF(2n)の元ZO+  Zl 、Zz、Z
3を出力光33としてXORゲートで構成され、第5(
24)の元XO+  Xl+  Xt +  Xsを入
力元とし、の元Z O+  Z I +  Z Z +
  23を出力光としてXORゲートで構成された第2
図におけるGF(2n)N (a)倍器98,99であ
る。
In addition, the element XO+ xl Xz+ X3 of GF(2n), which is the GF(2n) squarer 100 in FIG.
The element ZO+ Zl of GF(2n) with , Zz, Z
3 as the output light 33, the fifth (
24) The element XO+ Xl+ Xt + Xs is the input source, and the element Z O+ Z I + Z Z +
23 is the output light, and the second one is composed of an XOR gate.
GF(2n)N (a) Multipliers 98 and 99 in the figure.

第10図は第2図におけるGF (2n″)送元器97
で、GF(2m)の元XO+  XI +  xz +
  X3を入力元、Zo+  Zl +  Zt+  
Z3を出力光としたとき、第10図(a)はza、(b
)はz、、(c)はZz、(d)は2.をそれぞれ次の
論理式より構成した回路である。
Figure 10 shows the GF (2n'') transmitter 97 in Figure 2.
So, the original XO + XI + xz + of GF (2m)
Input source X3, Zo+ Zl + Zt+
When Z3 is the output light, Fig. 10(a) shows za, (b
) is z, (c) is Zz, (d) is 2. The circuit is constructed from the following logical formulas.

Zo =xo+Xl+Xz+x3+Xo−xz+X+・
XllXo−Xi−XllXBXz−X3 Zl =X:l+Xo−X++Xo−Xt+Xr−Xs
+Xo・xl・x3 Z、=X、十X、±XO・χ1+x++・xz+Xo−
XllXo1Xrx3 Zs =x、+X2+Xz+X6−XI+Xo−Xll
X6−X3+Xo−Xz・x3 ここで、Xi 、zj(i+  J ==Q、 1+ 
213)はそれぞれOまたはlを表わす。これは入力元
がGF二二で上記論理演算はCF (2)上のものであ
り、従って和はXORゲート、積はANDゲートで実現
できる。
Zo =xo+Xl+Xz+x3+Xo-xz+X+・
XllXo-Xi-XllXBXz-X3 Zl =X:l+Xo-X+++Xo-Xt+Xr-Xs
+Xo・xl・x3 Z, =X, 10X, ±XO・χ1+x++・xz+Xo−
XllXo1Xrx3 Zs =x, +X2+Xz+X6-XI+Xo-Xll
X6-X3+Xo-Xz・x3 Here, Xi, zz(i+ J ==Q, 1+
213) represents O or l, respectively. The input source is GF22 and the above logical operation is on CF (2), so the sum can be realized by an XOR gate and the product by an AND gate.

次に第2の請求項における発明の一実施例について説明
する。第3図は、nを偶数とするガロア体GF(2)係
数n次既約多項式の任意の根a(aはGF(2m)の元
でもある)をa” +a=1となるように選択するとき
、つまりn=2mとなる部分体GF(2″″)のトレー
スT(a)=1とするときの部分体CF (2n″)の
演算器で構成したGF(2n)の乗除算共用回路である
Next, an embodiment of the invention in the second claim will be described. In Figure 3, an arbitrary root a (a is also an element of GF(2m)) of an n-th degree irreducible polynomial with Galois field GF(2) coefficients where n is an even number is selected so that a'' + a = 1. When the trace T(a) of the subfield GF(2"") where n=2m is set, T(a)=1, the multiplication/division shared use of the subfield CF(2n) composed of the arithmetic units of the subfield CF(2n") It is a circuit.

図において、x、y、zはGF(2′1)の入力元およ
び出力光であり、前述した第1の請求項における発明の
ときと同様に機能する。また、1はc F (2″)入
力乗算手段、2はOF (2m )逆元手段、3はGF
(2m)出力乗算手段であり、第1の請求項における発
明のときと同様に機能する。
In the figure, x, y, and z are the input source and output light of GF (2'1), which function in the same manner as in the invention in the first claim described above. Also, 1 is cF (2″) input multiplication means, 2 is OF (2m) inverse element means, and 3 is GF
(2m) Output multiplication means, which functions in the same manner as in the invention in the first claim.

さらに、5,6,7,8.9はGF(2m)の加算器で
、10,11,12.13,14.15はGF(2m)
乗算器で、16はCF (2m )逆元器、17はGF
(2″1)2乗器、18.19はCF(2m)N (a
)倍器である。4はスイッチ手段としてのスイッチSで
あり、ハイレベル(以下、“H”または“H″レベルい
う)のとき乗算、ローレベル(以下、“L”または“L
″レベルいう)のとき除算を回路へ指示できる。21は
前記GF(2″)送元回路の出力を入力し、スイッチS
=“H”のとき、GF(2m)の単位元を出力し、S−
“L”のとき、入力をそのまま出力するGF(2n)選
択器であり、20は入力元22.23に対し、スイッチ
S=”H”のとき、出力光24へ入力元22゜23の和
を、出力光25へ入力元22を出力し、s=’“L”の
とき、出力光24へ入力元22を、出力光25へ入力元
22.23の和を出力するGFC2m″)加算出力選択
器である。
Furthermore, 5, 6, 7, 8.9 are GF (2m) adders, and 10, 11, 12.13, 14.15 are GF (2m) adders.
Multiplier, 16 is CF (2m) inverter, 17 is GF
(2″1) squarer, 18.19 is CF(2m)N (a
) is a multiplier. 4 is a switch S as a switch means, which performs multiplication when the high level (hereinafter referred to as "H" or "H" level) and low level (hereinafter referred to as "L" or "L" level).
``level''), division can be instructed to the circuit. 21 inputs the output of the GF (2'') source circuit, and switches S
= “H”, the identity element of GF (2m) is output and S-
It is a GF (2n) selector that outputs the input as it is when it is "L", and 20 is the input source 22.23, and when the switch S is "H", the sum of the input sources 22 and 23 is sent to the output light 24. , the input source 22 is output to the output light 25, and when s='L, the input source 22 is output to the output light 24, and the sum of the input sources 22 and 23 is output to the output light 25.GFC2m'') Addition output It is a selector.

次に第2の請求項の実施例による動作について以下説明
する。スイッチS=“H” (乗算指示)の場合GF(
2n″)加算器5は入力元Xo、X+を加えて元X、+
X、を出力する。GF(2n″)加算出力選択器20は
、入力元22.23つまりYO+Y、に対して、出力光
24にy、+y、 、出力光25にYoを出力する。O
F (2n″)乗算器10は前記GF(2m)加算器5
の出力および前記GF(2m)加算出力選択器20の出
力光24を入力して元(XO+X+)−(YO+YI)
を出力し、CF(2m)乗算器11は入力元X0および
前記GF(2m)加算出力選択器20の出力光25を入
力して元X−’Yoを出力し、GF(2m )N(a)
倍器18は入力元X I、 Y +を乗算するGF(2
m)乗算器12の出力光に対し、GF(2n)のノルム
N (a)と乗算して元X、・Yl ・N(a)を出力
する。0F(2n)加算器7は前記GF(2n″)乗算
器10の出力光および前記GF(2n″)乗算器11の
出力光を入力して元X0・Y@+、(Xll + Xl
 )(Yo +Y、)を出力し、GF(2m)加算器8
は前記GF(2″)乗算器11の出力光および前記GF
(2n″)N(a)倍器の出力光を入力して元X0・Y
、+X、−Y、’ N(a)を出力する。
Next, the operation according to the embodiment of the second claim will be explained below. When switch S is “H” (multiplication instruction), GF (
2n'') Adder 5 adds input elements Xo, X+ to form elements X, +
Outputs X. The GF(2n'') addition output selector 20 outputs y, +y, to the output light 24, and Yo to the output light 25 for the input source 22.23, that is, YO+Y.
The F(2n″) multiplier 10 is the same as the GF(2m) adder 5.
By inputting the output of
The CF(2m) multiplier 11 inputs the input source X0 and the output light 25 of the GF(2m) addition output selector 20, outputs the element X-'Yo, and GF(2m)N(a )
The multiplier 18 multiplies the input sources X I, Y + by GF(2
m) Multiply the output light of the multiplier 12 by the norm N(a) of GF(2n) to output the element X,.Yl.N(a). The 0F(2n) adder 7 inputs the output light of the GF(2n'') multiplier 10 and the output light of the GF(2n'') multiplier 11 to form the element X0.Y@+, (Xll + Xl
)(Yo +Y,), and GF(2m) adder 8
is the output light of the GF(2″) multiplier 11 and the GF
(2n″)N(a) Input the output light of the doubler and form the original X0・Y
, +X, -Y,' Outputs N(a).

このときGF(2n)逆元手段による演算は実行される
が、前記スイッチSより乗算指示がされてイルため、(
、F(2n)選択器21はGF(2n)の単位元を前記
GF(2n)逆元手段の出力とは無関係に出力する。
At this time, the calculation by the GF(2n) inverse element means is executed, but since the multiplication instruction is issued from the switch S, (
, F(2n) selector 21 outputs the identity element of GF(2n) regardless of the output of the GF(2n) inverse element means.

さらにC;F(2n″)乗算器14は前記CF(211
)加算器8の出力光および前記GF(2n″)選択器2
1から出力された単位元を入力して、出力光Z0=Xo
−Yo +XI−Yl −N(a)を出力し、CF(2
1)乗算器15により、前記CF(2°)加算器7の出
力光および前記0F(2n)選択器21から出力される
単位元を入力して、出力光Z、=X、・Y o + (
X o + X +)・ (Yo+Y+)を出力し、乗
算結果 Z=(Xo−Yo+X+−Yl・N(a))+ (X、
、YO+(XO+XI)、(Y6+YI)l =aを得
る。
Furthermore, the C;F(2n″) multiplier 14
) Output light of the adder 8 and the GF(2n'') selector 2
Input the identity element output from 1 and output light Z0=Xo
-Yo +XI-Yl -N(a) is output, CF(2
1) The multiplier 15 inputs the output light of the CF (2°) adder 7 and the identity element output from the 0F (2n) selector 21, and outputs the output light Z, = X, ·Y o + (
Outputs X o +
, YO+(XO+XI), (Y6+YI)l =a are obtained.

スイッチS=”L” (除算指示)の場合、前述したG
F(2n)乗算手段の動作は同じであるが、GF(2°
)加算出力選択器20の出力光24にYo、出力光25
にY、+Y、を出力するようになり、GF(2n)加算
器7の出力光は、x、−y。
When switch S is “L” (division instruction), the above-mentioned G
The operation of the F(2n) multiplier is the same, but GF(2°
) Yo to output light 24 of addition output selector 20, output light 25
The output light of the GF(2n) adder 7 is x, -y.

+X、  ・Ylとなり、GF(2m)加算器8の出力
光はXO,(YO+YI)+X1.Y1.N(a)とな
る。
+X, ・Yl, and the output light of the GF (2m) adder 8 becomes XO, (YO+YI)+X1. Y1. N(a).

CF(2“)加算器6は入力元Y0.Y+を加算し、元
Y、+Y、を出力する。GF(2m)乗算器13は入力
元Y0および前記GF(2m)加算器6の出力光を入力
し、元Y o (Y e + Y I)を出力する。
The CF(2") adder 6 adds the input source Y0.Y+ and outputs the element Y, +Y. The GF(2m) multiplier 13 adds the input source Y0 and the output light of the GF(2m) adder 6. is input, and the element Y o (Y e + Y I) is output.

CF(2m )N(a)倍器19は、入力元Y、を2乗
する0F(2“)2乗器17の出力光を入力し、元Y 
+ ” ・N (a)を出力する。GF(2n″)逆元
器16は、前記GF(2m)乗算器13の出力光および
前記GF(2n″)N(a)倍器19の出力光の和をと
るGF(2n″)加算器9の出力光を入力し、送元[Y
o・(Ye+Y+)+Y+”・N(a))−’を出力す
るが、この場合(S−“L″の場合)、GF(2m )
選択器は前記CF(2m)逆元器16の出力光をそのま
ま出力し、前記GF(2m)出力乗算手段により前述し
た第1の請求項におけるガロア体除算回路と同様の除算
結果、つまり y*iyo+y+) +Y+’N(a)を得る。また、
上記除算結果にY o + Y +・aを掛けるとX6
+X、・aになることは容易に計算できるので、この回
路が入力の除算を計算することが示される。
The CF(2m)N(a) multiplier 19 inputs the output light of the 0F(2") squarer 17 that squares the input source Y, and
+ ”・N (a). The GF(2n″) inverter 16 outputs the output light of the GF(2m) multiplier 13 and the output light of the GF(2n″)N(a) multiplier 19. The output light of the GF(2n'') adder 9 which takes the sum of the transmission source [Y
o・(Ye+Y+)+Y+"・N(a))-' is output, but in this case (S-"L"), GF (2m)
The selector outputs the output light of the CF(2m) inverter 16 as it is, and uses the GF(2m) output multiplication means to produce a division result similar to the Galois field division circuit in the first aspect, that is, y*. iyo+y+) +Y+'N(a) is obtained. Also,
Multiplying the above division result by Y o + Y +・a gives X6
Since it is easy to calculate that +X,·a, it is shown that this circuit calculates the division of the input.

次に第2図のガロア体除算回路と同様にn=8の場合に
ゲート回路として構成した例をあげる。
Next, an example will be given in which the circuit is configured as a gate circuit when n=8, similar to the Galois field division circuit shown in FIG.

ここではaとして、GF(2)係数8次既約多項式X8
+X’+X5+X’ + 1の根を選ぶ。この時T(a
)=1.である。またn=a2ff11 とおくと、b
はCF (2n)の原始根となるので、GF(2n )
の元Xo、L 、X!、X3.YO,Yl 、Yz。
Here, as a, GF(2) coefficient 8th order irreducible polynomial X8
Select the root of +X'+X5+X'+1. At this time T(a
)=1. It is. Also, if we set n=a2ff11, then b
is the primitive root of CF (2n), so GF(2n)
Former Xo, L, X! ,X3. YO, Yl, Yz.

Y3.Z−、Zl 、Zt、ZsをGF(2n )の0
F(2)上の基底(1,b、  b” 、  b” )
に関して表現することにする。またこの時、b’十b+
1=O,N(a)−b″+1である。
Y3. Z-, Zl, Zt, Zs are 0 of GF(2n)
Basis on F(2) (1, b, b”, b”)
I will express it in terms of At this time, b' ten b +
1=O, N(a)-b″+1.

この場合、前述した第1の請求項のときと同様に、第3
図のガロア体乗除算共用回路におけるCF(2°)乗算
器!0,11,12,13,14゜15は第4図、GF
(2m)加算器5,6,7,8゜9は第5図、CF(2
m )2乗器17は第5図、OF (2m)N(a)倍
器1B、19は第7図、CF(2m)逆元器16は第1
0図のように構成されている。
In this case, as in the case of the first claim mentioned above, the third claim
CF (2°) multiplier in the Galois field multiplication/division shared circuit shown in the figure! 0, 11, 12, 13, 14°15 is Fig. 4, GF
(2m) Adders 5, 6, 7, 8゜9 are shown in Fig. 5, CF (2m)
m) squarer 17 is shown in Figure 5, OF (2m)N(a) multiplier 1B, 19 is shown in Figure 7, CF (2m) inverter 16 is shown in Figure 1.
It is configured as shown in Figure 0.

また、第8図は第2図におけるCF(2@)加算出力選
択器20で、A、Bを(:、F (2m)の入力元とし
、CD@GF(2n )の出力光として、XORゲート
、ANDゲート、否定ゲート(以下、NOTゲートとい
う)により、 スイッチSが″H’レベルのとき、C=A+B。
In addition, FIG. 8 shows the CF(2@) addition output selector 20 in FIG. When the switch S is at the "H" level by the gate, AND gate, and NOT gate (hereinafter referred to as NOT gate), C=A+B.

D=A “L”レベルのとき、C=A。D=A When at “L” level, C=A.

D=A+B となるように構成されている。D=A+B It is configured so that.

第9図は第2図におけるGF(2m)選択器21(24
)の元XO+X1.Xz、X3を入力元とし、CFの元
zo、Z++ Zz+ Zsを出力光として、ORゲー
ト、ANDゲート、NOTゲートにより、スイッチSが
“H”レベルのとき、 Ze=1.Z+=Zz−Zs=0 “L”レベルのとき、 x = =Z 五(t  =O+  1+  2.3)
となるように構成されている。
FIG. 9 shows the GF (2m) selector 21 (24) in FIG.
) of the original XO+X1. With Xz and X3 as input sources and CF elements zo and Z++ Zz+ Zs as output light, when switch S is at "H" level by OR gate, AND gate, and NOT gate, Ze=1. Z+=Zz-Zs=0 When at “L” level, x==Z5(t=O+1+2.3)
It is configured so that

〔発明の効果〕〔Effect of the invention〕

以上のように、この発明によれば、GF(2n)の乗除
算共用回路を部分体CF(2m)の演算器で構成したの
で、従来のシフトレジスタを用いた乗算回路や、逆元R
OMを用いた除算回路に比べて高速で、ハードウェア量
を減少できるとともに、スイッチ手段の切換指示により
乗算および除算回路の共用を可能にする効果がある。
As described above, according to the present invention, the multiplication/division shared circuit of GF(2n) is configured with the arithmetic unit of the subfield CF(2m).
Compared to a division circuit using an OM, it is faster and the amount of hardware can be reduced, and the multiplication and division circuits can be shared by switching instructions from the switch means.

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

第1図はこの発明の一実施例によるGF(2m)の除算
回路、第2図はこの発明の他の実施例によるGF(2m
)の除算回路、第3図はこの発明のさらに他の実施例に
よるG F (2n)の乗除算共用回路、第4図はG 
F (2n)乗算器を示す論理回路、第5図はGF(2
n)加算器を示す論理回路、第6図はGF(2n )2
乗器を示す論理回路、第7図は0F(2n )N(a)
倍器を示す論理回路、第8図はGF(2n )加算出力
選択器を示す論理回路、第9図はGF(2n)選択器を
示す論理回路、第10図(a)から(ロ)までは、GF
(2n)逆元器を示す論理回路、第11図は従来の乗算
回路の動作を示す説明図、第12図は従来の乗算回路、
第13図は従来のCF(2@)除算回路である。 1はGF(2m)入力乗算手段、2はGF(2m)送元
手段、3は0F(2n)出力乗算手段、4はスイッチS
(スイッチ手段)、21はGF(2n)選択器である。 なお、図中、同一符号は同一、又は相当部分を示す。 特許出願人  三菱電機株式会社 (外2名] × 第 日 図 第9 図 QN  1lIN  O−01’1 xx  x  x  xx  xx
FIG. 1 shows a GF (2m) division circuit according to an embodiment of the present invention, and FIG. 2 shows a GF (2m) division circuit according to another embodiment of the present invention.
), FIG. 3 shows a G F (2n) multiplication/division shared circuit according to yet another embodiment of the present invention, and FIG. 4 shows a G
A logic circuit showing a F(2n) multiplier, FIG.
n) Logic circuit showing an adder, Figure 6 shows GF(2n)2
Logic circuit showing multiplier, Figure 7 is 0F(2n)N(a)
Logic circuit showing a multiplier, Figure 8 is a logic circuit showing a GF (2n) addition output selector, Figure 9 is a logic circuit showing a GF (2n) selector, Figures 10 (a) to (b) is GF
(2n) A logic circuit showing an inverter, FIG. 11 is an explanatory diagram showing the operation of a conventional multiplication circuit, FIG. 12 is a conventional multiplication circuit,
FIG. 13 shows a conventional CF(2@) division circuit. 1 is GF (2m) input multiplication means, 2 is GF (2m) sending means, 3 is 0F (2n) output multiplication means, 4 is switch S
(switch means), 21 is a GF(2n) selector. In addition, in the figures, the same reference numerals indicate the same or equivalent parts. Patent applicant Mitsubishi Electric Corporation (2 others) × Date Figure 9 Figure QN 1lIN O-01'1 xx x x xx xx xx

Claims (2)

【特許請求の範囲】[Claims] (1)nを偶数とするガロア体GF(2^n)の元X及
びYを入力元として積X・Yを出力し、かつn=2mと
なるガロア体GF(2^n)の部分体GF(2^m)の
演算器で構成されたGF(2^n)入力乗算手段と、入
力元Yの2乗の逆元1/Y^2を出力し、かつ部分体G
F(2^m)の演算器で構成されたGF(2^n)逆元
手段と、前記GF(2^n)入力乗算手段の出力と、前
記GF(2^n)逆元手段の出力とを乗算し、かつ部分
体GF(2^m)の演算器で構成されたGF(2^n)
出力乗算手段とを備えたガロア体除算回路。
(1) A subfield of the Galois field GF(2^n) where n is an even number, the elements X and Y of the Galois field GF(2^n) are used as input sources, the product X and Y is output, and n = 2m. A GF(2^n) input multiplication means composed of GF(2^m) arithmetic units, outputs an inverse element 1/Y^2 of the square of the input source Y, and a subfield G
GF(2^n) inverse element means composed of F(2^m) arithmetic units, the output of the GF(2^n) input multiplication means, and the output of the GF(2^n) inverse element means. GF(2^n) which is multiplied by
a Galois field division circuit comprising output multiplication means;
(2)前記ガロア体GF(2^n)の元X及びYを入力
元として積X・Yを出力し、かつ部分体GF(2)の演
算器で構成されたGF(2^n)入力乗算手段と入力元
Yの2乗の逆元1/Y^2を出力し、かつ部分体GF(
2^m)の演算器で構成されたGF(2^n)逆元手段
と、乗算出力か除算出力かを選択指示するスイッチ手段
と、前記GF(2^n)逆元手段の出力1/Y^2を入
力し、前記スイッチ手段の指示による乗算指示の場合、
GF(2^m)の単位元を出力し、除算指示の場合、入
力1/Y^2を出力するGF(2^m)選択器と、前記
GF(2^n)入力乗算手段の出力と、前記GF(2^
m)選択器の出力とを乗算し、かつ部分体GF(2^m
)の演算器で構成されたGF(2^n)出力乗算手段と
を備えたガロア体乗除算共用回路。
(2) A GF(2^n) input that outputs the product X and Y using the elements X and Y of the Galois field GF(2^n) as input sources, and is configured with the arithmetic unit of the subfield GF(2). A multiplier and an inverse element 1/Y^2 of the square of the input element Y are output, and the subfield GF (
GF(2^n) inverse element means composed of arithmetic units of 2^m), switch means for selectively instructing multiplication output or division output, and output 1/ of said GF(2^n) inverse element means. If Y^2 is input and the multiplication instruction is given by the instruction from the switch means,
A GF(2^m) selector that outputs the identity element of GF(2^m) and outputs input 1/Y^2 in the case of a division instruction, and an output of the GF(2^n) input multiplication means. , said GF(2^
m) Multiply by the output of the selector and subfield GF(2^m
A Galois field multiplication/division shared circuit comprising a GF(2^n) output multiplication means constituted by an arithmetic unit of ).
JP1032283A 1988-05-23 1989-02-10 Galois field division circuit and multiplication / division shared circuit Expired - Lifetime JP2641285B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1032283A JP2641285B2 (en) 1988-05-23 1989-02-10 Galois field division circuit and multiplication / division shared circuit

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP63-125152 1988-05-23
JP12515288 1988-05-23
JP1032283A JP2641285B2 (en) 1988-05-23 1989-02-10 Galois field division circuit and multiplication / division shared circuit

Publications (2)

Publication Number Publication Date
JPH0248828A true JPH0248828A (en) 1990-02-19
JP2641285B2 JP2641285B2 (en) 1997-08-13

Family

ID=26370829

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1032283A Expired - Lifetime JP2641285B2 (en) 1988-05-23 1989-02-10 Galois field division circuit and multiplication / division shared circuit

Country Status (1)

Country Link
JP (1) JP2641285B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0728782A (en) * 1991-03-20 1995-01-31 Samsung Electron Co Ltd Operating circuit and operating method
JP2001056640A (en) * 1999-08-19 2001-02-27 Toyo Commun Equip Co Ltd Product-sum arithmetic unit and ciphering and deciphering device using the same
JP2001109376A (en) * 1999-10-04 2001-04-20 Toyo Commun Equip Co Ltd Arithmetic circuit and arithmetic processor
EP1689114A2 (en) * 2000-03-09 2006-08-09 Mitsubishi Denki Kabushiki Kaisha Block cipher apparatus using auxiliary transformation

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5726394B2 (en) * 2007-12-26 2015-05-27 Kddi株式会社 Nonlinear function unit, encryption device for stream cipher, decryption device, MAC generation device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6024650A (en) * 1983-07-20 1985-02-07 Hitachi Ltd Operating circuit on galois field
JPS6386926A (en) * 1986-09-30 1988-04-18 Canon Inc Galois body dividing circuit
JPS6390920A (en) * 1986-10-06 1988-04-21 Canon Inc Galois field dividing circuit
JPS63276329A (en) * 1987-05-07 1988-11-14 Matsushita Electric Ind Co Ltd Dividing circuit for finite field

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6024650A (en) * 1983-07-20 1985-02-07 Hitachi Ltd Operating circuit on galois field
JPS6386926A (en) * 1986-09-30 1988-04-18 Canon Inc Galois body dividing circuit
JPS6390920A (en) * 1986-10-06 1988-04-21 Canon Inc Galois field dividing circuit
JPS63276329A (en) * 1987-05-07 1988-11-14 Matsushita Electric Ind Co Ltd Dividing circuit for finite field

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0728782A (en) * 1991-03-20 1995-01-31 Samsung Electron Co Ltd Operating circuit and operating method
CN1042270C (en) * 1991-03-20 1999-02-24 三星电子株式会社 Operational method and apparatus over GF(2m) using subfield GF(2m/2)
JP2001056640A (en) * 1999-08-19 2001-02-27 Toyo Commun Equip Co Ltd Product-sum arithmetic unit and ciphering and deciphering device using the same
JP2001109376A (en) * 1999-10-04 2001-04-20 Toyo Commun Equip Co Ltd Arithmetic circuit and arithmetic processor
EP1689114A2 (en) * 2000-03-09 2006-08-09 Mitsubishi Denki Kabushiki Kaisha Block cipher apparatus using auxiliary transformation
EP1689114A3 (en) * 2000-03-09 2006-09-06 Mitsubishi Denki Kabushiki Kaisha Block cipher apparatus using auxiliary transformation

Also Published As

Publication number Publication date
JP2641285B2 (en) 1997-08-13

Similar Documents

Publication Publication Date Title
Wang et al. VLSI architectures for computing multiplications and inverses in GF (2 m)
Marzouqi et al. A high-speed FPGA implementation of an RSD-based ECC processor
Kleiman The standard conjectures
Sasao et al. A method to represent multiple-output switching functions by using multi-valued decision diagrams
JPH05150947A (en) Counter for processing 7 input bits and 3 output bits
Orlando et al. A super-serial Galois fields multiplier for FPGAs and its application to public-key algorithms
Taheri et al. High-speed signal processing using systolic arrays over finite rings
JPH0728782A (en) Operating circuit and operating method
JPH0248828A (en) Galois field divider circuit and circuit sharing multiplication and division
JPH04246723A (en) Multiplier
JPH0715346A (en) Method and circuit for encoding of digital signal for decision of scalar product of two vectors
EP0402532B1 (en) Residue arithmetic apparatus
Hasan et al. Toeplitz matrix approach for binary field multiplication using quadrinomials
Lu A search of minimal key functions for normal basis multipliers
Cardarilli et al. RNS-to-binary conversion for efficient VLSI implementation
JPH05181896A (en) Discrete cosine transformation processing device
Stone Super-stretched and graded countable Cohen–Macaulay type
JP2622861B2 (en) Galois extended field arithmetic unit
Panchbhai et al. Implementation of point addition & point doubling for Elliptic Curve
JP3201231B2 (en) Unit adder
Sasao et al. Generalized Reed-Muller expressions: Complexity and an exact minimization algorithm
Shparlinskii On some problems in the theory of finite fields
Merchan Arithmetic architectures for finite fields GF (pm) with cryptographic applications.
Sahu et al. Mixture of Decimal and Binary Arithmetic Units For FPGA Based Architecture
Parfieniuk et al. A versatile quaternion multiplier based on sparse-iteration 4D CORDIC

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080502

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090502

Year of fee payment: 12

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090502

Year of fee payment: 12