+

RU2007035C1 - Device for generation of indexes of members of multiplicative groups of galois fields gf(p) - Google Patents

Device for generation of indexes of members of multiplicative groups of galois fields gf(p) Download PDF

Info

Publication number
RU2007035C1
RU2007035C1 SU4924080A RU2007035C1 RU 2007035 C1 RU2007035 C1 RU 2007035C1 SU 4924080 A SU4924080 A SU 4924080A RU 2007035 C1 RU2007035 C1 RU 2007035C1
Authority
RU
Russia
Prior art keywords
input
inputs
block
multiplication
output
Prior art date
Application number
Other languages
Russian (ru)
Inventor
Вячеслав Иванович Петренко
Александр Федорович Чипига
Original Assignee
Вячеслав Иванович Петренко
Александр Федорович Чипига
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 Вячеслав Иванович Петренко, Александр Федорович Чипига filed Critical Вячеслав Иванович Петренко
Priority to SU4924080 priority Critical patent/RU2007035C1/en
Application granted granted Critical
Publication of RU2007035C1 publication Critical patent/RU2007035C1/en

Links

Landscapes

  • Error Detection And Correction (AREA)

Abstract

FIELD: computer engineering. SUBSTANCE: read-only memory unit 7, AND gates unit 8, arbitrary modulo adders unit 10, inverters unit 9, second and third AND gates 11 and 12 are introduced to accomplish the goal of invention. When indexes are generated given modulo is computed by means of parallel addition of comparison results. EFFECT: increased speed. 1 dwg

Description

Изобретение относится к вычислительной технике и может быть использовано в цифровых вычислительных устройствах, а также в устройствах для формирования сигнально-кодовых конструкций в конечных полях. The invention relates to computer technology and can be used in digital computing devices, as well as in devices for generating signal-code structures in the final fields.

Известно устройство для формирования остатка по произвольному модулю от числа, содержащие блок умножения, схему сравнения, регистр, счетчик, элемент ИЛИ, элемент задержки, а также элемент И с соответствующими связями. A device is known for generating a remainder modulo an arbitrary number, containing a multiplication block, a comparison circuit, a register, a counter, an OR element, a delay element, and an AND element with corresponding relationships.

Недостатком этого устройства является низкое быстродействие формирования индексов элементов мультипликативных групп полей Галуа GF(P). The disadvantage of this device is the low speed of forming indices of elements of multiplicative groups of Galois fields GF (P).

Целью изобретения является повышение быстродействия формирования индексов элементов мультипликативных групп полей Галуа GF(P). The aim of the invention is to increase the speed of forming indices of elements of multiplicative groups of Galois fields GF (P).

Сущность изобретения заключается в том, что первоначально выбирается первообразный элемент θ , по которому предполагается формировать индексы. Затем задается элемент поля а, от которого необходимо сформировать индекс. Элемент поля θ умножается на единицу, затем результат умножения - произведение - умножается на элемент θ , далее результат произведения умножается на θ и т. д. Каждый результат приводится по заданному модулю Р и затем сравнивается с элементом поля а, а также подсчитывается количество умножений. The essence of the invention lies in the fact that initially the primitive element θ, which is supposed to form indices, is selected. Then the element of the field a is specified from which it is necessary to form an index. The element of the field θ is multiplied by one, then the result of the multiplication — the product — is multiplied by the element θ, then the result of the product is multiplied by θ, etc. Each result is given by the given modulus P and then compared with the element of the field a, and the number of multiplications is also calculated.

Процедура приведения по заданному модулю реализуется за счет возможности почленного складывания сравнений, т. е. так как
(ak2k + ak-12k-1 + . . . + a12 + ao)modP = ak2k(modP) + ak-12k-1(modP) + . . . + a12(modP) + ao(modP), (1) где k - разрядность полученного произведения, причем для двоичной системы счисления ai = 0v1, то, суммируя заранее вычисленные остатки по модулю Р от чисел 2i, i =

Figure 00000002
, для которых коэффициент ai = 1, получают остаток по модулю Р от кода произведения. Для модулей Pj, с которыми предлагается работа устройства, в блоке постоянной памяти запоминаются заранее вычисленные остатки от чисел 2i, i =
Figure 00000003
, где k - разрядность кодов произведений, от которых необходимо формировать остатки.The reduction procedure for a given module is implemented due to the possibility of termwise folding of comparisons, i.e., since
(a k 2 k + a k-1 2 k-1 +.. + a 1 2 + a o ) modP = a k 2 k (modP) + a k-1 2 k-1 (modP) +. . . + a 1 2 (modP) + a o (modP), (1) where k is the bit depth of the resulting product, and for the binary number system a i = 0v1, then, summing up the precomputed remainders modulo P of the numbers 2 i , i =
Figure 00000002
for which the coefficient ai = 1, get the remainder modulo P of the product code. For the modules P j , with which the device is proposed to work, the previously calculated residues from the numbers 2 i , i =
Figure 00000003
, where k is the capacity of product codes from which it is necessary to form residues.

Как только приведенный по модулю указанный выше результат умножения станет численно равным значению элементов поля а, то это означает, что количество выполненных умножений численно равно индексу элемента а по основанию θ в поле GF(P), т. е. индекс элемента а сформирован. As soon as the above multiplication result modulo becomes numerically equal to the value of the elements of the field a, this means that the number of multiplications performed is numerically equal to the index of the element a and the base θ in the field GF (P), i.e., the index of the element a is formed.

На чертеже представлена функциональная схема устройства для формирования индексов элементов мультипликативных групп полей Галуа GF(P). The drawing shows a functional diagram of a device for forming indices of elements of multiplicative groups of Galois fields GF (P).

Устройство содержит первый элемент 1 задержки, элемент ИЛИ 2, схему 3 сравнения, регистр 4, блок 5 умножения, счетчик 6, блок 7 памяти, блок 8 элементов И, блок элементов 9 НЕ, сумматор 10 по произвольному модулю, второй 11 и третий 12 элементы задержки. The device comprises a first delay element 1, an OR element 2, a comparison circuit 3, a register 4, a multiplication block 5, a counter 6, a memory block 7, an AND element block 8, an AND element block 9, an adder 10 modulo 10, a second 11 and a third 12 delay elements.

Устройство для формирования индексов элементов мультипликативных групп полей Галуа GF(P) работает следующим образом. A device for forming indices of elements of multiplicative groups of Galois fields GF (P) works as follows.

В исходном состоянии регистр 4 обнулен. В блок 7 памяти предварительно записаны заранее вычисленные остатки от чисел 2i, i =

Figure 00000004
где k - максимальная разрядность произведения, по модулям Pj, с которыми предлагается работа устройства. На вход 15 "Начало вычисления" поступает импульс, который обнуляет счетчик 6 и осуществляет запись единицы в регистр множимого блока 5 умножения.In the initial state, register 4 is reset. In the block 7 of the memory pre-written pre-calculated residues from the numbers 2 i , i =
Figure 00000004
where k is the maximum capacity of the product, according to the modules P j , with which the device is proposed to work. Input 15 "Beginning of calculation" receives a pulse, which resets the counter 6 and writes a unit to the register of the multiplier block 5 of the multiplication.

Модуль Pi, по которому осуществляется формирование остатков, задается параллельным двоичным кодом, подаваемый на вход 16 устройства. Импульс начала вычисления, пройдя через элемент 1 задержки, поступает на первый вход элементе ИЛИ 2 и запускает блок 5 умножения. В регистр множителя блока умножения записывается поступающий на вход 14 первообразный элемент θ . После перемножения импульс конца умножения подсчитывается счетчиком 6, поступает на вход разрешения считывания блока 7 памяти и на вход элемента 11 задержки. Поэтому на выходах блока 7 памяти появляются остатки от чисел 2i, i =

Figure 00000005
, по модулю P
Figure 00000006
Одновременно с информационных выходов блока 5 умножения на блок 8 элементов И поступает код произведения и в зависимости от того, на какую из групп элементов И поступает логическая "1", та из групп оказывается открытой и коммутирует на свои выходы входные сигналы. В результате на соответствующие входы сумматора 10 по произвольному модулю поступают остатки от чисел 2i, i =
Figure 00000007
, для тех i, для которых коэффициент a i= 1 при представлении произведения в позиционной системе счисления с основанием два. На управляющие входы сумматора 10 по произвольному модулю поступает значение модуля в прямом и инверсном коде. Поэтому сумматор 10 осуществит суммирование по модулю Pi поступающих на его входы чисел, эта сумма в двоичном параллельном коде оказывается на его выходах и поступает на информационные входы регистра 4. Так как время задержки элемента 11 задержки равно времени формирования остатка, то на его выходе появляется импульс, который записывает код остатка в регистр 4 и поступает на вход третьего элемента 12 задержки. В результате с выхода регистра 4 остаток от произведения по модулю поступает на первые входы схемы 3 сравнения, а импульс с выхода элемента 12 задержки поступает на разрешающий вход схемы 3, разрешая сравнение остатка от произведения по модулю и элемента поля, подаваемого на входы 13 устройства. Если остаток от произведения не равен элементу поля, то с выхода "Не равно" схемы 3 сравнения импульс поступает на второй вход элемента ИЛИ 2, и с его выхода на запускающий вход блока 5 умножения. Процесс формирования остатка повторяется сначала, а количество перемножений подсчитывается счетчиком 6. Если остаток от произведения по модулю численно равен элементу поля, то с выхода "Равно" схемы 3 сравнения поступает импульс, который обнуляет регистр множимого блока 5 умножения, останавливает работу счетчика 6 и поступает на выход 17 "Конец вычисления", свидетельствуя о том, что вычисление закончено, а на выходах счетчика 6 сформирован индекс от заданного на входах 13 устройства элемента поля по первообразному элементу θ , заданному на входах 14 устройства.The module P i , by which the formation of residues is carried out, is set by a parallel binary code supplied to the input 16 of the device. The pulse of the beginning of the calculation, passing through the delay element 1, goes to the first input of the OR element 2 and starts the multiplication block 5. In the multiplier register of the multiplication block, the antiderivative element θ arriving at input 14 is recorded. After multiplication, the pulse of the end of the multiplication is counted by the counter 6, and is fed to the read permission input of the memory unit 7 and to the input of the delay element 11. Therefore, at the outputs of the memory unit 7, residues from the numbers 2 i , i =
Figure 00000005
modulo P
Figure 00000006
Simultaneously with the information outputs of block 5 of multiplication by block 8 of AND elements, the product code is received and, depending on which of the groups of elements AND receives a logical “1”, that of the groups is open and commutates input signals to its outputs. As a result, the corresponding inputs of the adder 10 modulo receive the remainder of the numbers 2 i , i =
Figure 00000007
, for those i for which the coefficient a i = 1 when representing the product in a positional number system with a base of two. The control inputs of the adder 10 through an arbitrary module receives the value of the module in direct and inverse code. Therefore, the adder 10 will perform a summation modulo P i of the numbers arriving at its inputs, this sum in binary binary code appears at its outputs and goes to the information inputs of register 4. Since the delay time of the delay element 11 is equal to the time the remainder is formed, the output appears a pulse that writes the remainder code to register 4 and is input to the third delay element 12. As a result, from the output of register 4, the remainder of the product modulo arrives at the first inputs of the comparison circuit 3, and the pulse from the output of the delay element 12 is fed to the enable input of the circuit 3, allowing comparison of the remainder of the product modulo and the field element supplied to the inputs of the device 13. If the remainder of the product is not equal to the field element, then from the output "Not equal" of the comparison circuit 3, the pulse is supplied to the second input of the OR element 2, and from its output to the triggering input of the multiplication block 5. The process of generating the remainder is repeated first, and the number of multiplications is calculated by the counter 6. If the remainder of the product modulo is numerically equal to the field element, then the output of the "Equal" comparison circuit 3 receives an impulse that resets the register of the multiplicable multiplication unit 5, stops the operation of counter 6 and receives output 17 "End of calculation", indicating that the calculation is completed, and at the outputs of counter 6 an index is generated from the field element specified at the inputs 13 of the device according to the antiderivative element θ specified at the input dah 14 device.

Задавая следующий элемент и подавая импульс на вход 15, получают индекс этого элемента поля на выходах счетчика 6 и т. д. При этом формирование индексов элементов поля может происходить при различных первообразных элементах, а также в различных полях GF(P). By setting the next element and applying a pulse to input 15, we obtain the index of this field element at the outputs of the counter 6, etc. In this case, the formation of the field element indices can occur with various primitive elements, as well as in different fields GF (P).

Технико-экономическая эффективность изобретения заключается в повышении быстродействия формирования индексов элементов мультипликативных групп полей Галуа GF(P). Feasibility study of the invention is to increase the speed of forming indices of elements of multiplicative groups of Galois fields GF (P).

Положительный эффект от использования изобретения заключается в том, что за счет сокращения времени формирования индексов достигается повышение производительности систем, использующих изобретение. (56) Авторское свидетельство СССР N 1686702, кл. H 03 M 7/18, 1989.  The positive effect of the use of the invention lies in the fact that by reducing the time of formation of indices, an increase in the productivity of systems using the invention is achieved. (56) Copyright certificate of the USSR N 1686702, cl. H 03 M 7/18, 1989.

Claims (1)

УСТРОЙСТВО ДЛЯ ФОРМИРОВАНИЯ ИНДЕКСОВ ЭЛЕМЕНТОВ МУЛЬТИПЛИКАТИВНЫХ ГРУПП ПОЛЕЙ ГАЛУА GF (P), содержащее блок умножения, схему сравнения, регистр, счетчик, первый элемент задержки, элемент ИЛИ и блок элементов И, причем вход начала вычислений устройства соединен с входом установки в"0" счетчика, входом записи единичного значения в блок умножения и через первый элемент задержки с первым входом элемента ИЛИ, выход которого соединен с входом разрешения умножения блока умножения, а второй вход элемента ИЛИ соединен с выходом "Не равно" схемы сравнения, выход "Равно" которой является выходом конца вычислений устройства и соединен с входом разрешения выдачи результата счетчика и входом установки в "0" блока умножения, выход конца умножения которого соединен со счетным входом счетчика, разрядные выходы которого являются выходами индекса устройства, а разрядные выходы регистра соединены соответственно с информационными входами первой группы схемы сравнения и входами множителя блока умножения, входы множимого которого являются входами записи первообразного элемента поля устройства, входы разрядов элемента поля которого соединены соответственно с информационными входами второй группы схемы сравнения, отличающееся тем, что, с целью повышения быстродействия, в него введены блок памяти, сумматор по произвольному модулю, блок элементов НЕ и второй и третий элементы задержки, причем разрядные выходы блока умножения соединены соответственно с входами первой группы блока элементов И, входы второй группы которого соединены соответственно с выходами блока памяти, а выходы блока элементов И соединены с входами первой группы сумматора по произвольному модулю, входы второй группы которого соединены соответственно с адресными входами блока памяти, входом модуля устройства и входом блока элементов НЕ, выход которого соединен с входами третьей группы сумматора по произвольному модулю, разрядные выходы которого соединены соответственно с информационными входами регистра, выход конца умножения блока умножения соединен с управляющим входом блока памяти и через второй элемент задержки с входом разрешения записи регистра и входом третьего элемента задержки, выход которого соединен с управляющим входом схемы сравнения.  DEVICE FOR FORMING INDICES OF ELEMENTS OF MULTIPLICATIVE GROUPS OF GALOIS FIELDS GF (P), containing a multiplication block, a comparison circuit, a register, a counter, a first delay element, an OR element, and an AND element block, and the input of the device’s computation beginning is connected to the installation input in the “0” counter , by the input of a unit value record to the multiplication unit and through the first delay element with the first input of the OR element, the output of which is connected to the input of the multiplication resolution of the multiplication unit, and the second input of the OR element is connected to the "Not equal" output of the circuit whose output is “Equally” which is the output of the end of the device’s calculations and is connected to the enable output of the counter result and the installation input at “0” of the multiplication unit, the output of the end of the multiplication of which is connected to the counter input of the counter, the bit outputs of which are the outputs of the device index and the bit the outputs of the register are connected respectively to the information inputs of the first group of the comparison circuit and the inputs of the multiplier of the multiplication block, the inputs of the multiplicable of which are the recording inputs of the antiderivative element of the device field, the inputs of the discharges of the field element of which are connected respectively to the information inputs of the second group of the comparison circuit, characterized in that, in order to improve performance, a memory block, an adder modulo an arbitrary module, a block of elements NOT and a second and third delay elements are introduced into it, and the bit outputs of the block multiplications are connected respectively to the inputs of the first group of the block of elements AND, the inputs of the second group of which are connected respectively to the outputs of the memory block, and the outputs of the block of elements AND are connected to the inputs of the first group an adder according to an arbitrary module, the inputs of the second group of which are connected respectively to the address inputs of the memory block, the input of the device module and the input of the block of elements NOT, the output of which is connected to the inputs of the third group of the adder according to an arbitrary module, the bit outputs of which are connected respectively to the information inputs of the register, the end output of the multiplication of the multiplication unit is connected to the control input of the memory unit and through the second delay element with the register enable input and the input of the third delay element od is connected to the control input of the comparison circuit.
SU4924080 1991-04-02 1991-04-02 Device for generation of indexes of members of multiplicative groups of galois fields gf(p) RU2007035C1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU4924080 RU2007035C1 (en) 1991-04-02 1991-04-02 Device for generation of indexes of members of multiplicative groups of galois fields gf(p)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU4924080 RU2007035C1 (en) 1991-04-02 1991-04-02 Device for generation of indexes of members of multiplicative groups of galois fields gf(p)

Publications (1)

Publication Number Publication Date
RU2007035C1 true RU2007035C1 (en) 1994-01-30

Family

ID=21567840

Family Applications (1)

Application Number Title Priority Date Filing Date
SU4924080 RU2007035C1 (en) 1991-04-02 1991-04-02 Device for generation of indexes of members of multiplicative groups of galois fields gf(p)

Country Status (1)

Country Link
RU (1) RU2007035C1 (en)

Similar Documents

Publication Publication Date Title
EP0240546B1 (en) Random sequence generators
JP2744091B2 (en) Data processing method and apparatus for calculating multiplicative reciprocal element of finite field
US3515344A (en) Apparatus for accumulating the sum of a plurality of operands
US4374427A (en) Divisor transform type high-speed electronic division system
US6745219B1 (en) Arithmetic unit using stochastic data processing
RU2007035C1 (en) Device for generation of indexes of members of multiplicative groups of galois fields gf(p)
JPS62113236A (en) Circuit for determining root function
JP3271120B2 (en) Device for fast multiplication of binary numbers
RU2696223C1 (en) Arithmetic logic unit for generating residual by arbitrary module from number
US4588980A (en) Residue to analog converter
RU2029435C1 (en) Combination recurrent former of remainders
US5268858A (en) Method and apparatus for negating an operand
RU2007033C1 (en) Device for generation of integer remainder of arbitrary modulo
RU2020759C1 (en) Device for forming remainder for random module of number
RU2007037C1 (en) Recurrent generator of remainders of arbitrary modulo
SU1667059A2 (en) Device for multiplying two numbers
RU2007036C1 (en) Device which produces members of multiplicative groups of galois fields gf(p)
RU2007032C1 (en) Device which produces members of multiplicative groups of galois fields gf(p)
Stouraitis et al. Parallel decomposition of complex multipliers
RU2007034C1 (en) Device for generation of indexes of members of multiplicative groups from galois fields gf(p)
RU2029434C1 (en) Device for formation of remainder by arbitrary modulus of number
SU1716609A1 (en) Encoder of reed-solomon code
RU2024924C1 (en) Device for forming arbitrary modulo residue
RU2022334C1 (en) Device for multiplying numeric matrices
RU1837401C (en) Device for forming arbitrary modulo residue
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载