JPS6386925A - Galois body multiplying circuit - Google Patents

Galois body multiplying circuit

Info

Publication number
JPS6386925A
JPS6386925A JP61232004A JP23200486A JPS6386925A JP S6386925 A JPS6386925 A JP S6386925A JP 61232004 A JP61232004 A JP 61232004A JP 23200486 A JP23200486 A JP 23200486A JP S6386925 A JPS6386925 A JP S6386925A
Authority
JP
Japan
Prior art keywords
alpha
circuit
output
multiplication
rom
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.)
Pending
Application number
JP61232004A
Other languages
Japanese (ja)
Inventor
Keiichi Iwamura
恵市 岩村
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP61232004A priority Critical patent/JPS6386925A/en
Priority to DE3751958T priority patent/DE3751958T2/en
Priority to EP87308648A priority patent/EP0262944B1/en
Priority to DE3789266T priority patent/DE3789266T2/en
Priority to EP93201798A priority patent/EP0566215B1/en
Priority to DE3752367T priority patent/DE3752367T2/en
Priority to EP96200874A priority patent/EP0723342B1/en
Publication of JPS6386925A publication Critical patent/JPS6386925A/en
Priority to US08/400,521 priority patent/US5590138A/en
Priority to US08/701,327 priority patent/US5774389A/en
Pending legal-status Critical Current

Links

Landscapes

  • Detection And Correction Of Errors (AREA)
  • Error Detection And Correction (AREA)

Abstract

PURPOSE:To execute multiplication by using a small ROM, by providing a second circuit means for outputted y.alpha<l> from a first circuit means, and outputting 'o', when xl is '0', and a third circuit means for outputting exclusive OR of its circuit output, in a circuit for processing a digital signal. CONSTITUTION:When inputs (x), (y) of a multiplying circuit such as a Galois body GF2<8> are set to x=x7-alpha<7>+x6.alpha<6>+x5.alpha<5>+x4.-alpha<4>+x3.alpha<3>+x2.alph a<2>+x1.+alphax0, and y=y7.alpha<7>+y6.yalpha<5>+y5.alpha<5>+y4.alpha<4>+y3.alpha<3>+y2.alph a<2>+y1.alpha+y0, z=x.y is expressed as follows: z=x7.(y.alpha<7>)+x6.(y.alpha<6>)+...-+x2.(y.alpha<2>)+x1.(y.alpha)+x0.y. Therefore, a value of (y) is multiplied in advance by 1-alpha<7>, its output makes an output of y.alpha<1> pass through, when xi(i=0...7), set to '0', when said xi is '0', and by taking EXOR of each output, (z) is generated. In this way, a multiplying circuit which can execute multiplecation on a Galois body can be formed by a small circuit quantity and by the one clock without using a ROM.

Description

【発明の詳細な説明】 体(gauois体:加減乗除の四則演算が行なえる数
の集合で元の数が有限であるもの)上の乗算回路に関す
る。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a multiplication circuit on a field (Gauois field: a set of numbers on which four arithmetic operations such as addition, subtraction, multiplication, and division can be performed, and the number of elements is finite).

〔従来技術〕[Prior art]

ガロア体の元は、ベクトル表現と、指数表現の2種類が
あり、元の数がqであるガロア体をGF(q)で表わす
とすればGF (2♂)上で、原始多項式P (X)=
X’ +X’ +X3+X2+1から生成される元を例
にとると、α8は次のように表わされる。
There are two types of Galois field elements: vector representation and exponential representation. If we represent a Galois field whose number of elements is q by GF(q), then on GF (2♂), we have the primitive polynomial P (X )=
Taking an element generated from X'+X' +X3+X2+1 as an example, α8 is expressed as follows.

このベクトル表現はビット構成を表わし、ベクトル表現
の元同士の乗算は複雑であるので、通常指数表現になお
して計算している。
This vector representation represents a bit configuration, and since multiplication between the elements of the vector representation is complicated, calculations are usually converted to exponential representation.

ベクトル表現   指数表現 このVE(ベクトル−指数)変換、EV(指数−ベクト
ル)変換にはROMが用いられている。
Vector Expression Exponential Expression A ROM is used for this VE (vector-exponent) conversion and EV (exponent-vector) conversion.

(従来技術の問題点〕 その為、第5図のように、1cfLockで乗算を行な
う場合、ROMが3つ必要であり、また、第6図のよう
にVE変換ROMとEV変換ROMを1つづつで乗算を
行なうにはレジスタを用いて1 c 1 ock目でa
をラッチし、2c 1 och図とbと加えるために2
cJ2ock必要である。
(Problems with the prior art) Therefore, as shown in Figure 5, when performing multiplication with 1 cfLock, three ROMs are required, and as shown in Figure 6, one VE conversion ROM and one EV conversion ROM are required. To perform multiplication in steps of 1 c and 1 ock, use a register.
2 to latch and add 2c 1 och figure and b
cJ2ock is required.

更に、ベクトル表現の元同士を直接、ROMを用いて乗
算する場合、ガロア体の元が数が多いと、非常に大きな
ROMが必要である。
Furthermore, when elements of vector representation are directly multiplied using ROM, a very large ROM is required if the number of elements of the Galois field is large.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、上記の事情に鑑みてなされたもので、ROM
を用いず1 cuochでかつ小さな回路量でガロア体
の元の乗算を行なうことを可能にした乗算回路を提供す
るものである。
The present invention has been made in view of the above circumstances, and it
The present invention provides a multiplication circuit that can perform multiplication of Galois field elements without using 1 cuoch and with a small amount of circuitry.

〔実施例〕〔Example〕

以下、本発明の詳細な説明する。 The present invention will be explained in detail below.

例えばGF (2’ )上の乗算回路の実施例について
入力x、yを次のように表わせば、XgX、  I  
Q’  +xa  ’  Q’  +xs  T C!
’      ”+x4@α4+x3争α3+x211
α2+X、  ◆ α + X。
For example, regarding the embodiment of the multiplication circuit on GF (2'), if the inputs x and y are expressed as follows, then XgX, I
Q' +xa 'Q' +xs T C!
'''+x4@α4+x3 conflict α3+x211
α2+X, ◆α+X.

y=yy  ・ α7 +y6 ・ α8 +y、 ・
 α5十y4°α4+y3°α’+)’z”α2+ y
+  ・ α +’j。
y=yy ・α7 +y6 ・α8 +y, ・
α50y4°α4+y3°α'+)'z"α2+ y
+・α+'j.

Z=x−yは次のように表わせる。Z=x−y can be expressed as follows.

Z=x7 ・ (y・α7)+xIS φ (y・α6
)+・・・+x2 ・ (y・α2 ) 4x1・ (
y・α)+x0 ・y そこで、yの値に各々1〜α7を乗るじておいて、その
出力をxl  (two・・・7)が1のときy・α1
の出力を通し、0のとき0として、各出力のEXORを
とればZが生成される。
Z=x7 ・ (y・α7)+xIS φ (y・α6
)+...+x2 ・(y・α2) 4x1・(
y・α)+x0・y Therefore, multiply each value of y by 1 to α7, and when xl (two...7) is 1, the output is y・α1
Z is generated by passing the outputs of , taking the EXOR of each output as 0 when it is 0.

そのブロック回路図を第1図に示す。A block circuit diagram thereof is shown in FIG.

回路Oの構成を第2図に示す。yに順次αを乗じて(α
回路の構成は第3図に示す、このα回路は公知である。
The configuration of circuit O is shown in FIG. Multiply y by α sequentially to obtain (α
The circuit configuration is shown in FIG. 3, and this α circuit is well known.

)それ毎の出力をx0・3/?の出力でANSをとり、
その出力同士をEXOR回路Φを通すことによって2式
の出力が得られる。ここで叶はパスラインを示している
) The output for each is x0・3/? Take ANS with the output of
By passing the outputs through an EXOR circuit Φ, two types of outputs are obtained. Here the leaves indicate the pass line.

第4図はα回路の7段重ねによるゲート回路遅延をでき
るだけ小さくするために構成を変えたものである。これ
によって、最大処理速度を速くすることができる。
In FIG. 4, the configuration has been changed in order to minimize the gate circuit delay caused by stacking seven stages of α circuits. This allows the maximum processing speed to be increased.

(発明の効果〕 以上説明したように、本発明によれば、ROMを用いず
小さな回路量かつ1cfLockでガロア体上の乗算が
行なえる乗算回路を実現できる。
(Effects of the Invention) As described above, according to the present invention, it is possible to realize a multiplication circuit that can perform multiplication on a Galois field with a small circuit amount and 1 cfLock without using a ROM.

これによってゲートアレイ化する場合、乗算回路を小さ
な部分回路として用いることができる。
This allows the multiplication circuit to be used as a small partial circuit when forming a gate array.

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

第1図は本発明に係る乗算回路を示す図、第2図は第1
図のAND回路の構成を示す図、第3図は第1図のα回
路の構成を示す図、第4図は本発明の乗算回路の改良を
示す図、第5図、第6図は従来の乗算回路を示す図であ
る。 0−−−−−−−−−−−− A N D回路、■−−
−−−−−−−−−−Exclusive  ORC刊
に/+II的麺狸鞘)■池
FIG. 1 is a diagram showing a multiplication circuit according to the present invention, and FIG.
3 is a diagram showing the configuration of the α circuit in FIG. 1, FIG. 4 is a diagram showing an improvement of the multiplication circuit of the present invention, and FIGS. 5 and 6 are conventional FIG. 2 is a diagram showing a multiplication circuit of FIG. 0------------ A N D circuit, ■---
−−−−−−−−−−Exclusive published by ORC/+II Mentanuki Saya) ■ Pond

Claims (1)

【特許請求の範囲】 ガロア体GF(2^m)上の元x、yにおいて、x=x
_m_−_1・α^m^−^1+x_m_−_2・α^
m^−^2+・・・+x_1・α+x_0 Z=x・y=x_m_−_1・(y・α^m^−^1)
+x_m_−_2・(y・α^m^−^2)+・・・+
x_1(y・α)+x_0・y となることを利用して、yにαを(m−1)回乗じる第
1の回路手段と、x_l(l=0・・・m−1)が1の
時、前記第1の回路手段からy・α^lを出力し、x_
lが0の時、0を出力する第2の回路手段と、その回路
出力の排他的論理和を出力する第3の回路手段から成る
ことを特徴とするガロア体乗算回路。
[Claims] In the elements x and y on the Galois field GF(2^m), x=x
_m_−_1・α^m^−^1+x_m_−_2・α^
m^-^2+...+x_1・α+x_0 Z=x・y=x_m_-_1・(y・α^m^-^1)
+x_m_-_2・(y・α^m^-^2)+...+
A first circuit means that multiplies y by α (m-1) times by taking advantage of the fact that x_1(y・α)+x_0・y, and At this time, the first circuit means outputs y·α^l, and x_
A Galois field multiplication circuit comprising second circuit means that outputs 0 when l is 0, and third circuit means that outputs an exclusive OR of the circuit outputs.
JP61232004A 1986-09-30 1986-09-30 Galois body multiplying circuit Pending JPS6386925A (en)

Priority Applications (9)

Application Number Priority Date Filing Date Title
JP61232004A JPS6386925A (en) 1986-09-30 1986-09-30 Galois body multiplying circuit
DE3751958T DE3751958T2 (en) 1986-09-30 1987-09-29 Error correction device
EP87308648A EP0262944B1 (en) 1986-09-30 1987-09-29 Error correction apparatus
DE3789266T DE3789266T2 (en) 1986-09-30 1987-09-29 Error correction device.
EP93201798A EP0566215B1 (en) 1986-09-30 1987-09-29 Error correction apparatus
DE3752367T DE3752367T2 (en) 1986-09-30 1987-09-29 Error correction unit
EP96200874A EP0723342B1 (en) 1986-09-30 1987-09-29 Error correction apparatus
US08/400,521 US5590138A (en) 1986-09-30 1995-03-07 Error correction apparatus
US08/701,327 US5774389A (en) 1986-09-30 1996-08-23 Error correction apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61232004A JPS6386925A (en) 1986-09-30 1986-09-30 Galois body multiplying circuit

Publications (1)

Publication Number Publication Date
JPS6386925A true JPS6386925A (en) 1988-04-18

Family

ID=16932433

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61232004A Pending JPS6386925A (en) 1986-09-30 1986-09-30 Galois body multiplying circuit

Country Status (1)

Country Link
JP (1) JPS6386925A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53120346A (en) * 1977-03-30 1978-10-20 Nec Corp Correction circuit for double error
JPS58144952A (en) * 1982-02-24 1983-08-29 Nec Corp Correcting circuit of double byte error
JPS58219848A (en) * 1982-06-15 1983-12-21 Toshiba Corp Multiplier of galois field
JPS61144129A (en) * 1984-12-18 1986-07-01 Nec Corp Galois field multiplier
JPS61232001A (en) * 1985-04-05 1986-10-16 Kobe Steel Ltd Divided rolling method
JPS62254525A (en) * 1986-04-28 1987-11-06 Fujitsu Ten Ltd Galois field multiplication circuit

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53120346A (en) * 1977-03-30 1978-10-20 Nec Corp Correction circuit for double error
JPS58144952A (en) * 1982-02-24 1983-08-29 Nec Corp Correcting circuit of double byte error
JPS58219848A (en) * 1982-06-15 1983-12-21 Toshiba Corp Multiplier of galois field
JPS61144129A (en) * 1984-12-18 1986-07-01 Nec Corp Galois field multiplier
JPS61232001A (en) * 1985-04-05 1986-10-16 Kobe Steel Ltd Divided rolling method
JPS62254525A (en) * 1986-04-28 1987-11-06 Fujitsu Ten Ltd Galois field multiplication circuit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Similar Documents

Publication Publication Date Title
JPS6059470A (en) Basic cell suitable for multiplication- accumulation processor and said processor
JP2744091B2 (en) Data processing method and apparatus for calculating multiplicative reciprocal element of finite field
GB2039393A (en) Digital multipliers
JPS595349A (en) Adder
JPS60116034A (en) Adding circuit
JPS6386925A (en) Galois body multiplying circuit
Hiasat A Reverse Converter for Three-Moduli Set (2 k, 2 n-1, 2 n+ 1), k< n
Piestrak Design of multi-residue generators using shared logic
JPS5841532B2 (en) Sekiwa Keisan Cairo
JPS6390920A (en) Galois field dividing circuit
JPS6386926A (en) Galois body dividing circuit
JPH0370416B2 (en)
Wei Computation of modular multiplicative inverses using residue signed-digit additions
JPH0981541A (en) Accumulator
JP3210420B2 (en) Multiplication circuit over integers
Phalguna et al. RNS-To-Binary converters for New Three-moduli sets {2 k, 2 k-1, 2 k (2 k-1)+ 1} and {2 k, 2 k-1, 2 k (2 k-1)-1}
Park et al. Area-efficient and high-speed binary divider architecture for bit-serial interfaces
Chakraborty et al. Equivalence of reverse conversion of binary signed-digit number system and two's-complement to canonical signed-digit recording
SU744568A2 (en) Parallel accumulator
JPS6154722A (en) Arithmetic circuit
JPS6393227A (en) Galois field multiplying circuit
SU656059A1 (en) Arithmetic device
JPH0778748B2 (en) Galois field arithmetic unit
JPS58201141A (en) Multiplier
SU868750A1 (en) Adder