RU2661542C1 - Method for disclosure of the structure of nonlinear recurrence sequences as codes of quadratic residues existing in simple galois fields gf(p) and device for its implementation - Google Patents
Method for disclosure of the structure of nonlinear recurrence sequences as codes of quadratic residues existing in simple galois fields gf(p) and device for its implementation Download PDFInfo
- Publication number
- RU2661542C1 RU2661542C1 RU2017109308A RU2017109308A RU2661542C1 RU 2661542 C1 RU2661542 C1 RU 2661542C1 RU 2017109308 A RU2017109308 A RU 2017109308A RU 2017109308 A RU2017109308 A RU 2017109308A RU 2661542 C1 RU2661542 C1 RU 2661542C1
- Authority
- RU
- Russia
- Prior art keywords
- input
- output
- elements
- sequence
- inputs
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims description 25
- 230000002349 favourable effect Effects 0.000 claims abstract description 22
- 230000015572 biosynthetic process Effects 0.000 claims description 17
- 238000009434 installation Methods 0.000 claims description 6
- 230000008859 change Effects 0.000 claims description 3
- 238000004891 communication Methods 0.000 abstract description 10
- 238000012545 processing Methods 0.000 abstract description 2
- 230000000694 effects Effects 0.000 abstract 1
- 238000003672 processing method Methods 0.000 abstract 1
- 239000000126 substance Substances 0.000 abstract 1
- 208000019698 Cutaneous collagenous vasculopathy Diseases 0.000 description 14
- 201000009911 cataract 8 multiple types Diseases 0.000 description 14
- 238000010276 construction Methods 0.000 description 6
- 244000309464 bull Species 0.000 description 5
- 238000010586 diagram Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000036039 immunity Effects 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 238000013479 data entry Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000009467 reduction Effects 0.000 description 2
- 238000001228 spectrum Methods 0.000 description 2
- 241000238876 Acari Species 0.000 description 1
- 244000025254 Cannabis sativa Species 0.000 description 1
- 235000012766 Cannabis sativa ssp. sativa var. sativa Nutrition 0.000 description 1
- 235000012765 Cannabis sativa ssp. sativa var. spontanea Nutrition 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 235000009120 camo Nutrition 0.000 description 1
- 235000005607 chanvre indien Nutrition 0.000 description 1
- 239000002131 composite material Substances 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 125000004122 cyclic group Chemical group 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000005315 distribution function Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 239000011487 hemp Substances 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000000306 recurrent effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000003595 spectral effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M7/00—Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F7/00—Methods or arrangements for processing data by operating upon the order or content of the data handled
- G06F7/58—Random or pseudo-random number generators
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/06—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
- H04L9/065—Encryption by serially and continuously modifying data stream elements, e.g. stream cipher systems, RC4, SEAL or A5/3
- H04L9/0656—Pseudorandom key sequence combined element-for-element with data sequence, e.g. one-time-pad [OTP] or Vernam's cipher
- H04L9/0662—Pseudorandom key sequence combined element-for-element with data sequence, e.g. one-time-pad [OTP] or Vernam's cipher with particular pseudorandom sequence generator
- H04L9/0668—Pseudorandom key sequence combined element-for-element with data sequence, e.g. one-time-pad [OTP] or Vernam's cipher with particular pseudorandom sequence generator producing a non-linear pseudorandom sequence
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Analysis (AREA)
- Pure & Applied Mathematics (AREA)
- Mathematical Optimization (AREA)
- General Engineering & Computer Science (AREA)
- Computational Mathematics (AREA)
- Nonlinear Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Error Detection And Correction (AREA)
Abstract
Description
1. Область применения, к которой относится изобретение1. The scope of the invention
Изобретение относится к способам и устройствам обработки данных в широкополосной радиосвязи и радионавигации, где этапу приема информационных сигналов с расширенным спектром, манипулированных некоторой псевдослучайной последовательностью (ПСП), обязательно предшествуют этапы поиска и синхронизации, а также к вычислительной технике, использующейся в системах связи со сложными сигналами (шумоподобными сигналами - ШПС).The invention relates to methods and devices for processing data in broadband radio communication and radio navigation, where the step of receiving information signals with a wide spectrum, manipulated by some pseudorandom sequence (PSP), is necessarily preceded by the stages of search and synchronization, as well as computer technology used in communication systems with complex signals (noise-like signals - SHPS).
Как известно, в качестве расширяющих спектр сигнала функций для создания ШПС используют различного вида ПСП, структурные свойства которых определяют значения показателей помехозащищенности (помехоустойчивости от естественных и преднамеренных помех, скрытности и имитостойкости) использующих их систем. Прежде всего, для данных целей применяются линейные рекуррентные последовательности (ЛРП), и, в частности, М-последовательности (последовательности максимального периода).As you know, as a function of expanding the spectrum of the signal, for the creation of SHPS, various types of SRP are used, the structural properties of which determine the values of the noise immunity indicators (noise immunity from natural and intentional interference, stealth and simulated immunity) of the systems using them. First of all, linear recurrence sequences (LRS) are used for these purposes, and, in particular, M-sequences (sequences of maximum period).
М-последовательности очень просто генерируются посредством регистра, сдвига с линейными обратными связями (РСЛОС), что в совокупности с хорошими корреляционными и спектральными свойствами обосновывает их широкое применение в системах связи со сложными сигналами (Варакин Л.Е. Системы связи с шумоподобными сигналами - М.: Радио и связь, 1985. - 384 с.).M-sequences are very easily generated by means of a register, linear feedback shift (RSLOS), which together with good correlation and spectral properties justifies their widespread use in communication systems with complex signals (Varakin L.E. Communication systems with noise-like signals - M .: Radio and communications, 1985. - 384 p.).
Однако использование М-последовательностей в системах, к которым предъявляются повышенные требования по скрытности и имитостойкости, является нецелесообразным, ввиду того, что последние имеют ряд существенных недостатков, а именно, М-последовательности:However, the use of M-sequences in systems that are subject to increased requirements for stealth and imitostability is impractical, because the latter have a number of significant drawbacks, namely, M-sequences:
существуют для ограниченного числа длительностей L=2n-1, где n=2, 3, …;exist for a limited number of durations L = 2 n -1, where n = 2, 3, ...;
имеют небольшую мощность кодирования. Так, согласно (Свердлик М.Б. Оптимальные дискретные сигналы. М.: изд-во «Советское радио», 1975, 200 с.), мощность метода кодирования равна числу неинверсных изоморфизмов. Для М-последовательностей мощность метода кодирования Mk равна числу невзаимных первообразных полиномов и определяется как:have a small coding power. So, according to (Sverdlik MB Optimal discrete signals. M: publishing house "Soviet Radio", 1975, 200 pp.), The power of the encoding method is equal to the number of non-inverse isomorphisms. For M-sequences, the power of the coding method M k is equal to the number of nonreciprocal antiderivatives of polynomials and is defined as:
где ϕ(…) - функция Эйлера;where ϕ (...) is the Euler function;
обладают низкой структурной скрытностью вследствие наличия алгоритма Берлекэмпа-Месси. Для того, чтобы раскрыть ШПС, сформированный на базе М-последовательности, аналитику достаточно по известным, следующим подряд элементам последовательности, раскрыть всю ее структуру при помощи широко известного алгоритма Берлекэмпа-Месси (Алферов А.П. и др. Основы криптографии: учеб. пособие, 2-е изд., испр. и доп. М.: Гелиос АРВ, 2002, 480 с.).possess low structural secrecy due to the Berlekamp-Messi algorithm. In order to disclose the SHPS formed on the basis of the M-sequence, analytics is sufficient for the well-known sequential elements of a sequence, to reveal its entire structure using the well-known Berlekamp-Messi algorithm (Alferov A.P. et al. Fundamentals of cryptography: textbook, 2nd ed., rev. and add. M: Helios ARV, 2002, 480 p.).
Альтернативу М-последовательностям представляют, существующие в простых GF(p) и расширенных GF(pn) полях Галуа, нелинейные рекуррентные последовательности (НЛРП) по следующим обстоятельствам:An alternative to M-sequences is represented by existing in simple GF (p) and extended GF (p n ) Galois fields, nonlinear recurrence sequences (NLRP) for the following reasons:
НЛРП существуют для значительно большего числа длительностей L по сравнению с М-последовательностями, с шагом ΔL→1;NLRP exist for a significantly larger number of durations L in comparison with M-sequences, with a step ΔL → 1;
мощность кодирования у НЛРП намного больше, чем у М-последовательностей. Например, уже для простых характеристических НЛРП соотношение (1) будет иметь вид:the coding power of NLRP is much greater than that of M-sequences. For example, already for simple characteristic NLRP, relation (1) will look like:
где простое число p>2, n=2, 3, … Отсюда видно, что уже для сравнимых по длительности L ПСП .where the prime number p> 2, n = 2, 3, ... From this it can be seen that already for comparable in duration L LSS .
Ввиду отсутствия алгоритмов раскрытия структуры НЛРП, считается, что они абсолютно не раскрываемы, т.е. для того чтобы раскрыть структуру НЛРП, необходимо знать все ее символы .Due to the lack of algorithms for disclosing the structure of NLRP, it is believed that they are absolutely not disclosed, i.e. in order to reveal the structure of NLRP, you need to know all its symbols .
2. Уровень техники2. The level of technology
Известны способы раскрытия структуры ПСП:Known methods for disclosing the structure of the SRP:
1) основанные на знании закономерностей тонкой внутренней структуры ПСП.1) based on knowledge of the laws of the fine internal structure of the SRP.
Под тонкой внутренней структурой (ТВС) ПСП понимается закономерная структура взаимного расположения на длительности L дискретного сигнала (ДС) (рекуррентной последовательности) отдельных элементов и блоков, неделимых символов алфавита ДС. При этом неделимыми символами алфавита являются простейшие символы алфавита, а блоком является определенное число kбл последовательно расположенных одинаковых символов.The fine internal structure (FA) of the PSP is understood as the regular structure of the relative position on the duration L of the discrete signal (DS) (recurrence sequence) of individual elements and blocks, indivisible characters of the alphabet DS. In this case, the indivisible characters of the alphabet are the simplest characters of the alphabet, and the block is a certain number k bl of consecutively located identical characters.
Так, в (Варакин Л.Е. Системы связи с шумоподобными сигналами - М.: Радио и связь, 1985. - 384 с.) рассмотрен способ обнаружения ШПС, позволяющий различать случайную последовательность и М-последовательность и определять степень n полинома С(х), соответствующего вырабатывающему ее РСЛОС. В основе этого способа лежат особенности распределения вероятностей появления в М-последовательностях различных длительностей L блоков, состоящих из нулей.So, in (Varakin L.E. Communication systems with noise-like signals - M .: Radio and communication, 1985. - 384 p.), A method for detecting SHPS is considered, which makes it possible to distinguish between a random sequence and an M-sequence and determine the degree n of the polynomial C (x ) corresponding to the RSLOS generating it. This method is based on the characteristics of the probability distribution of occurrence in M-sequences of various durations of L blocks consisting of zeros.
2) основанные на знании особенностей правил построения и формирования (генерирования) ПСП.2) based on knowledge of the features of the rules for the construction and formation (generation) of memory bandwidth.
Известен способ раскрытия структуры М-последовательности по ее символам при помощи алгоритма Берлекэмпа-Месси, основанный на построении регистра сдвига с линейной обратной связью (РСЛОС), порождающего заданную М-последовательность длительности L=2n-1 (Р. Галлагер. Теория информации и надежная связь. М.: «Советское радио», 1974, 720 с.; Блейхут Р. Теория и практика кодов, контролирующих ошибки. - М.: Мир, 1986. - 576 с.). Существование указанного способа обосновывает использование в системах связи различных технических средств усложнения аналитического строения М-последовательностей, к которым относятся, например, фильтрующие и комбинирующие генераторы, схемы с динамическим изменением закона рекурсии, схемы с элементами памяти и др. (Алферов А.П. и др. Основы криптографии: учеб. пособие, 2-е изд., испр. и доп. М.: Гелиос АРВ, 2002, 480 с.).A known method of disclosing the structure of the M-sequence according to its symbols using the Berlekamp-Messi algorithm, based on the construction of a linear feedback shift register (RSLOS) that generates a given M-sequence of duration L = 2 n -1 (R. Gallager. Information Theory and Reliable Communication. M: “Soviet Radio ", 1974, 720 pp .; Bleikhut R. Theory and Practice of Error Control Codes. - M.: Mir, 1986. - 576 pp.). The existence of this method justifies the use in communication systems of various technical means of complicating the analytical structure of M-sequences, which include, for example, filtering and combining generators, circuits with dynamic change of the recursion law, circuits with memory elements, etc. (Alferov A.P. and etc. Fundamentals of cryptography: textbook, 2nd ed., rev. and add. M .: Helios ARV, 2002, 480 p.).
Работа алгоритма Берлекэмпа-Месси основана на том положении, что n+1 последовательных состояний РСЛОС линейно зависимы, и если символов М-последовательности заданы, то полином, задающий обратные связи, однозначно определен. То есть в данном случае алгоритм работает так: при заданном регистре, генерирующем последовательность μ0…μi…μr-1, алгоритм проверяет, генерирует ли регистр последовательность μ0…μi…μr, т.е. правильное значение следующего символа последовательности сравнивается со значением символа μr, действительно генерируемым регистром. Если значения и μr совпадают, тот r увеличивается на 1, а регистр остается неизменным. Если значения не совпадают, то к многочлену добавляется поправочный член так, чтобы символ μr генерировался правильно.The work of the Berlekamp-Messi algorithm is based on the position that n + 1 consecutive states of the RSLOS are linearly dependent, and if characters of the M-sequence are given, then the polynomial defining the feedbacks is uniquely determined. That is, in this case, the algorithm works as follows: for a given register that generates the sequence μ 0 ... μ i ... μ r-1 , the algorithm checks whether the register generates the sequence μ 0 ... μ i ... μ r , i.e. the correct value for the next character in the sequence compares with the character value μ r actually generated by the register. If the values and μ r match, that r increases by 1, and the register remains unchanged. If the values do not match, then a correction term is added to the polynomial so that the symbol μ r is generated correctly.
Для каждого r, начиная с r=1, строится РСЛОС, генерирующий первые r элементов М-последовательности μ0…μi…μr. Затем r увеличивается на 1 и вычисляется выход предыдущего РСЛОС:For each r, starting from r = 1, an RSLOS is constructed that generates the first r elements of the M-sequence μ 0 ... μ i ... μ r . Then r increases by 1 and the output of the previous RSLOS is calculated:
где cj - коэффициенты полинома С(х), соответствующего построенному РСЛОС.where c j are the coefficients of the polynomial C (x) corresponding to the constructed RSLOS.
Вычисляется следующая разность d, которая показывает, соответствует ли действительное значение μr благоприятному :The following difference d is calculated, which shows whether the actual value of μ r corresponds to favorable :
где с0=1.where c 0 = 1.
Если d=0, то значения и μr совпадают, регистр остается неизменным. Если d=1, то значения и μr не совпадают, следовательно, необходимо модифицировать полином С(х). Новый полином будет иметь вид:If d = 0, then the values and μ r match, the register remains unchanged. If d = 1, then the values and μ r do not coincide; therefore, it is necessary to modify the polynomial C (x). The new polynomial will look like:
где В(х) - один из уже имеющихся полиномов С(х), вычисленных при последней r-ой операции, когда d было равно 1, а k - количество пройденных r-ых операций, при которых d равнялось 0:where B (x) is one of the existing polynomials C (x) calculated during the last rth operation, when d was 1, and k is the number of rth operations completed, for which d was 0:
После такой модификации d будет равно:After such a modification, d will be equal to:
Работа алгоритма прекращается, когда r становится равным . Последний полином С(х), при котором d=1, соответствует РСЛОС минимальной длины, генерирующему заданную М-последовательность.The algorithm stops when r becomes equal . The last polynomial C (x), for which d = 1, corresponds to a minimum length RSLOS generating a given M-sequence.
Алгоритм Берлекэмпа-Месси при восстановлении полинома С(х), задающего обратные связи РСЛОС, по символам М-последовательности, представлен на фиг. 1.The Berlekamp-Messi algorithm for reconstructing the polynomial C (x) defining feedbacks of the RSLOS by symbols of the M-sequence shown in FIG. one.
Однако указанный способ (алгоритм Берлекэмпа-Месси) является неприменимым для анализа и раскрытия структуры большого класса нелинейных псевдослучайных последовательностей и, как в частности, нелинейных рекуррентных последовательностей (НЛРП) (Сныткин И.И., Спирин А.В., Сныткин Т.И. Теоретическая концепция генерирования нелинейных рекуррентных последовательностей на основе использования регистров сдвига. - Международный научно-технический журнал «Нелинейный мир», №8, т. 11, 2013. - с. 531-539).However, this method (the Berlekamp-Messi algorithm) is not applicable for analysis and disclosure of the structure of a large class of nonlinear pseudorandom sequences and, in particular, nonlinear recurrence sequences (NLRP) (Snytkin I.I., Spirin A.V., Snytkin T.I. The theoretical concept of generating nonlinear recurrence sequences based on the use of shift registers. - International scientific and technical journal "Nonlinear World", No. 8, v. 11, 2013. - pp. 531-539).
Построение НЛРП в полях GF(p) и GF(pn) с двузначным характером отображения, например, μ={μ1,μ2,…,μi,…,μL}, где: μi={1;-1} или μi={1;0}; L={p,p-1,pn-1} - длительность; p - простое число, p>2, - в общем случае связано с вычислением характера ψ(⋅) соответствующего элемента поля GF(q)={a0,a1,…,ai,…,aL-1}, где q - порядок поля (для GF(p) ⇒ q=p, а GF(pn) ⇒ q=pn), ai - элементы поля (для GF(p) - числа от «0» до «р-1», для GF(pn) - числа от «0» до «р-1» и полиномы f(x) степени не больше n), т.е. элементы μi есть:The construction of NLRP in the fields GF (p) and GF (p n ) with a two-digit character of the map, for example, μ = {μ 1 , μ 2 , ..., μ i , ..., μ L }, where: μ i = {1; - 1} or μ i = {1; 0}; L = {p, p-1, p n -1} - duration; p is a prime, p> 2, - in the general case, is associated with the calculation of the character ψ (⋅) of the corresponding element of the field GF (q) = {a 0 , a 1 , ..., a i , ..., a L-1 }, where q is the field order (for GF (p) ⇒ q = p, and GF (p n ) ⇒ q = p n ), a i are the elements of the field (for GF (p), numbers are from "0" to "p-1 ”, For GF (p n ) - numbers from“ 0 ”to“ p-1 ”and polynomials f (x) of degree no greater than n), ie elements μ i are:
где (для GF(p) приведение осуществляется по mod(p), а для GF(pn) приведение осуществляется по двойному модулю modd(f*(x),p), где f*(x) - первообразный неприводимый полином для GF(pn)); θ - первообразный элемент поля, причем при двузначном отображении:Where (for GF (p) the reduction is carried out by mod (p), and for GF (p n ) the reduction is carried out by the double module modd (f * (x), p), where f * (x) is the primitive irreducible polynomial for GF ( p n )); θ is the primitive element of the field, moreover, in a two-digit display:
Ввиду того, что длительность L НЛРП всегда удовлетворяет при некотором n неравенству 2n-1-1<L<2n-1, т.е. всегда L≠2n-1, то циклические перестановки НЛРП μ={μ1,μ2,…,μi,…,μL} в совокупности с последовательностью μ={0,…,0} не могут сформировать абелеву группу относительно операции почленного сложения по модулю 2. Следовательно, НЛРП не обладают аддитивно-циклическим свойством, характерным для М-последовательностей, и не может быть найдено таких линейных логических обратных связей для РСЛОС, которые бы обеспечивали генерирование НЛРП заданной длительности L. Следовательно, структуру всей НЛРП невозможно раскрыть по определенному числу ее элементов при помощи алгоритма Берлекэмпа-Месси, как в случае с М-последовательностями.In view of the fact that the duration L of NLRP always satisfies for some n the inequality 2 n-1 -1 <L <2 n -1, i.e. always L ≠ 2 n -1, then the cyclic permutations of NLRP μ = {μ 1 , μ 2 , ..., μ i , ..., μ L } together with the sequence μ = {0, ..., 0} cannot form an Abelian group with respect to term-by-term addition operations modulo 2. Therefore, NLRP do not possess the additive-cyclic property characteristic of M-sequences, and linear logical feedbacks for LFRS cannot be found that would ensure the generation of NLRP of a given duration L. Therefore, the structure of the entire NLRP impossible to disclose by a certain number of its eleme comrade using Berlekamp-Massey algorithm, as in the case with M-sequences.
Простейшим представителем НЛРП являются коды квадратичных вычетов (ККВ), построение которых базируется на использовании двузначного характера мультипликативной группы простого поля GF(p), с длительностью L=p и правилом построения в терминах характеров (Свердлик М.Б. Оптимальные дискретные сигналы. М.: изд-во «Советское радио», 1975, 200 с.):The simplest representative of NLRP are quadratic residue codes (CCR), the construction of which is based on the use of the two-digit character of the multiplicative group of a simple field GF (p), with duration L = p and the construction rule in terms of characters (Sverdlik MB Optimal discrete signals. M. : publishing house "Soviet Radio", 1975, 200 pp.):
В целях однозначного описания сходных признаков указанного способа раскрытия структуры М-последовательности с заявляемым способом раскрытия структуры НЛРП в виде ККВ, введем следующие определения и понятия:In order to unambiguously describe similar features of this method of disclosing the structure of the M-sequence with the claimed method of disclosing the structure of NLRP in the form of CCV, we introduce the following definitions and concepts:
Определение 1. Под характеристикой рекуррентной ПСП (РПСП) будем понимать какой-либо параметр или набор параметров, которые необходимо определять в процессе раскрытия структуры данной РПСП.
Так, следуя сущности алгоритма Берлекэмпа-Месси, характеристикой М-последовательности будет являться, соответствующий вырабатывающему ее РСЛОС, полином С(х) вида:So, following the essence of the Berlekamp-Messi algorithm, the characteristic of the M-sequence will be, corresponding to the RSLOS generating it, a polynomial C (x) of the form :
где cj - коэффициенты полинома, n - степень полинома.where c j are the coefficients of the polynomial, n is the degree of the polynomial.
В (Сныткин И.И., Спирин А.В., Сныткин Т.И. Теоретическая концепция генерирования нелинейных…) определялось, что если i - номер элемента поля GF(p), то любой элемент - число ai простого поля GF(p) может быть вычислен через предыдущий элемент ai-1 и первообразный элемент θ согласно рекуррентного соотношения:In (Snytkin II, Spirin AV, Snytkin TI Theoretical concept of generating nonlinear ...) it was determined that if i is the number of an element of the field GF (p), then any element is the number a i of the simple field GF ( p) can be calculated through the previous element a i-1 and the antiderivative element θ according to the recurrence relation:
Решение задачи формирования ККВ связано с реализацией соотношения (12) и вычисления характеров ψ(ai) элементов ai мультипликативной группы поля GF(p).The solution to the problem of the formation of CCE is associated with the implementation of relation (12) and the calculation of the characters ψ (a i ) of the elements a i of the multiplicative group of the field GF (p).
Таким образом, для раскрытия структуры ККВ достаточно определить простое число p и соответствующий первообразный элемент θ. Однако, ввиду того, что значение характера ψ(ai) элемента ai мультипликативной группы поля GF(p) не зависит от выбранного первообразного элемента θ (Свердлик М.Б. Оптимальные дискретные сигналы. М: изд-во «Советское радио», 1975, 200 с.), то характеристикой ККВ будет являться только простое число р, значение которого будет равно, во-первых, количеству элементов поля GF(p), а во-вторых, длительности L данного кода.Thus, to reveal the structure of the CCE, it is sufficient to determine the prime number p and the corresponding primitive element θ. However, in view of the fact that the character value ψ (a i ) of the element a i of the multiplicative group of the field GF (p) does not depend on the selected primitive element θ (Sverdlik MB Optimal discrete signals. M: Sovetskoe Radio Publishing House, 1975, 200 pp.), Then the characteristic of the CCW will be only a prime number p , the value of which will be equal, firstly, to the number of elements of the field GF (p), and secondly, to the duration L of this code.
Определение 2. Под действительным значением μr r-го символа РПСП понимается то его значение, которое вырабатывается устройством генерирования РПСП при заданной характеристике.
Определение 3. Под благоприятным значением r-го символа РПСП понимается то его значение, которое поступает на вход устройства для раскрытия структуры или обнаружителя, и не зависит от заданной характеристики данной РПСП.
Определение 4. Под входными данными Z0 в данном случае понимается определенное число точно известных благоприятных значений последовательно расположенных элементов раскрываемой РПСП.
Сходными признаками известного способа раскрытия структуры М-последовательности по ее символам при помощи алгоритма Берлекэмпа-Месси с заявляемым способом являются следующие:Similar features of the known method of disclosing the structure of the M-sequence according to its symbols using the Berlekamp-Messi algorithm with the claimed method are as follows:
ввод входных данных Z0 в виде определенного числа точно известных благоприятных значений последовательно расположенных элементов раскрываемой последовательности;input data input Z 0 in the form of a certain number well-known favorable values sequentially arranged elements of the disclosed sequence;
формирование (генерирование устройством) при заданной характеристике действительного значения μr r-ого символа последовательности;the formation (generation by the device) for a given characteristic of the actual value μ r of the rth character of the sequence;
сравнение действительного значения μr с благоприятным comparison of the actual value of μ r with favorable
Алгоритм Берлекэмпа-Месси при восстановлении полинома С(х), задающего обратные связи РСЛОС, по символам М-последовательности, имеет многочисленные общедоступные (в том числе в сети Internet) программные реализации. Схему построенного на регистрах сдвига устройства, реализующего данный алгоритм, можно найти, например, в (Блейхут Р. Теория и практика кодов, контролирующих ошибки. - М.: Мир, 1986. - 576 с.).The Berlekamp-Messi algorithm for reconstructing the polynomial C (x) defining feedbacks of the RSLOS by symbols of the M-sequence, has numerous publicly available (including on the Internet) software implementations. A diagram of a device built on shift registers that implements this algorithm can be found, for example, in (Bleikhut R. Theory and Practice of Error Control Codes. - M.: Mir, 1986. - 576 p.).
Техническая реализация указанных сходных признаков при осуществлении заявляемого способа раскрытия структуры НЛРП в виде ККВ, существующих в простых полях Галуа GF(p), требует возможности, во-первых, формирования элементов мультипликативной группы простого поля GF(p), и, во-вторых, формирования элементов μr ККВ различных длительностей L.The technical implementation of these similar features in the implementation of the proposed method for revealing the structure of NLRP in the form of CCF existing in simple Galois fields GF (p) requires the possibility, firstly, of forming elements of the multiplicative group of a simple field GF (p), and, secondly, the formation of elements μ r CCV of various durations L.
В (Сныткин И.И., Спирин А.В., Сныткин Т.И. Теоретическая концепция генерирования нелинейных…) также определялось, что если i - номер элемента ai мультипликативной группы поля GF(p) и пробегает значения 1, 2, …, р-2, то формирование НЛРП в виде ККВ означает позициям μi присваивать значения меандра ψ(ai) ∈ {0,1} на позициях i=ai.In (Snytkin I.I., Spirin A.V., Snytkin T.I. Theoretical concept of generating nonlinear ...) it was also determined that if i is the number of the element a i of the multiplicative group of the field GF (p) and runs through the
Таким образом, формирование ККВ фиксированных длительностей представляет собой генерирование меандра ψ(ai) ∈ {0,1} с управлением по тактам i. Данный технический замысел реализован в устройствах формирования НЛРП (Устройство формирования словарей нелинейных рекуррентных последовательностей // Авторское свидетельство СССР №2024053, опубл. 30.11.1994. Бюл. №22; Устройство формирования кодовых словарей нелинейных рекуррентных последовательностей // Патент RU 2439657 С2, опубл. 10.01.2012. Бюл. №1; Устройство для формирования имитостойких нелинейных рекуррентных последовательностей // Патент RU 2574805 С1, опубл. 10.02.2016. Бюл. №4). Однако данные устройства обеспечивают формирование НЛРП только фиксированных длительностей и не могут быть использованы для решения задачи раскрытия структуры НЛРП произвольных длительностей.Thus, the formation of CCW of fixed durations is the generation of a meander ψ (a i ) ∈ {0,1} with control by ticks i. This technical concept is implemented in devices for forming NLRP (Device for forming dictionaries of nonlinear recurrence sequences // USSR Author's Certificate No. 2024053, publ. 11/30/1994. Bull. No. 22; Device for generating code dictionaries for nonlinear recurrence sequences // Patent RU 2439657 C2, publ. 01/10/2012 Bull. No. 1; Device for the formation of imitation resistant nonlinear recurrence sequences // Patent RU 2574805 C1, publ. 02.10.2016. Bull. No. 4). However, these devices provide the formation of NLRP only fixed durations and cannot be used to solve the problem of disclosing the structure of NLRP of arbitrary durations.
Формирование ККВ произвольных длительностей возможно за счет включения в схему устройства элемента памяти, в котором значение меандра ψ(ai) ∈ {0,1} будет записываться по адресу, соответствующему значению элемента ai мультипликативной группы поля GF(p) (Устройство для формирования псевдослучайных сигналов // Авторское свидетельство СССР №995292, опубл. в Б.И. 1983. Бюл. №5). В данном случае, считывание последовательности возможно только после того, как она будет полностью сформирована, и следовательно, не представляется возможным воспроизведение всей последовательности по определенному числу ее элементов.The formation of CCV of arbitrary durations is possible due to the inclusion in the device circuit of a memory element in which the meander value ψ (a i ) ∈ {0,1} will be written at the address corresponding to the value of element a i of the multiplicative group of the field GF (p) (Device for forming pseudo-random signals // USSR Author's Certificate No. 995292, published in B.I. 1983. Bull. No. 5). In this case, reading the sequence is possible only after it is fully formed, and therefore, it is not possible to play the entire sequence for a certain number of its elements.
Поэтому целесообразным путем технической реализации устройства для раскрытия структуры ККВ является использование средств формирования элементов мультипликативной группы поля GF(p).Therefore, it is advisable by technical implementation of the device to disclose the structure of the CCF is the use of means of forming elements of the multiplicative group of the field GF (p).
Решение задачи формирования последовательности элементов мультипликативных групп как простых GF(p), так и расширенных GF(pn) полей Галуа было осуществлено в рамках ряда устройств (А.С. №849895 (СССР). Устройство для формирования элементов мультипликативных групп полей Галуа // Сныткин И.И., Долгов В.И., Горбенко И.Д.; А.С. №1236497 (СССР). Устройство для формирования элементов мультипликативных групп полей Галуа // Сныткин И.И., Петренко В.И. - опубл. в Б.И. 1986, №21; А.С. №1334982 (СССР). Устройство для формирования элементов мультипликативных групп полей Галуа // Сныткин И.И., Горбенко И.Д., Ткач А.А.).The solution to the problem of forming a sequence of elements of multiplicative groups of both simple GF (p) and extended GF (p n ) Galois fields was carried out in the framework of a number of devices (AS No. 849895 (USSR). Device for forming elements of multiplicative groups of Galois fields / / Snytkin II, Dolgov VI, Gorbenko ID; AS No. 1236497 (USSR). Device for forming elements of multiplicative groups of Galois fields // Snytkin II, Petrenko VI - published in B.I. 1986, No. 21; A.S. No. 1334982 (USSR). Device for forming elements of multiplicative groups of Galois fields // С Nytkin I.I., Gorbenko I.D., Tkach A.A.).
Устройство для формирования элементов мультипликативных групп полей Галуа GF(p) (Патент RU 2007032 С1, опубл. 30.01.1994, Бюл. №28) предназначено для использования в устройствах формирования кодовых рекуррентных последовательностей, существующих в простых полях Галуа GF(p), что позволяет считать данное устройство близким аналогом (прототипом) к заявляемому устройству. Однако данное устройство не позволяет решать задачу раскрытия структуры НЛРП в виде ККВ, существующих в простых полях Галуа GF(p).A device for forming elements of multiplicative groups of Galois fields GF (p) (Patent RU 2007032 C1, publ. 01/30/1994, Bull. No. 28) is intended for use in devices for generating code recurrence sequences existing in simple Galois fields GF (p), which allows you to consider this device as a close analogue (prototype) to the claimed device. However, this device does not allow us to solve the problem of revealing the structure of NLRP in the form of CCW existing in simple Galois fields GF (p).
Сходными признаками данного устройства (прототипа) с заявляемым устройством являются:Similar features of this device (prototype) with the claimed device are:
устройство содержит: первый и второй блок элементов ИЛИ, схему сравнения, вычитатель, первый и второй формирователи импульсов, элемент задержки, первый и второй регистры хранения, элемент ИЛИ, блок умножения, первый и второй блоки и элементов И, с соответствующими связями.the device comprises: a first and second block of OR elements, a comparison circuit, a subtractor, first and second pulse shapers, a delay element, first and second storage registers, an OR element, a multiplication block, first and second blocks and AND elements, with corresponding connections.
3. Раскрытие изобретения3. Disclosure of invention
Как известно, схема произведения квадратичных вычетов и невычетов аналогична схеме сложения для «четного и нечетного» (Хассе Г. Лекции по теории чисел. - М.: изд-во Наука, 1953. - 528 с.), следовательно, для любых элементов ККВ μ={μ0,…,μi,…,μj,…,μp-1} всегда будет выполняться:As you know, the quadratic residue and non-residue product scheme is similar to the addition scheme for “even and odd” (Hasse G. Lectures on Number Theory. - M.: Nauka Publishing House, 1953. - 528 pp.), Therefore, for any elements of CCW μ = {μ 0 , ..., μ i , ..., μ j , ..., μ p-1 } will always be satisfied:
Таким образом, полностью раскрыть структуру НЛРП в виде ККВ можно на основе тех его элементов μi, номера i которых соответствуют простым числам, так как остальные элементы, номера k которых соответствуют составным числам, являются результатом произведения (13).Thus, it is possible to fully reveal the structure of NLRP in the form of CCW on the basis of its elements μ i whose numbers i correspond to primes, since the remaining elements whose numbers k correspond to composite numbers are the result of product (13).
Если ограничить сверху максимально возможную длительность Lmax последовательности (т.е. длительность L раскрываемой НЛРП в виде ККВ будет лежать в пределах 5≤L<Lmax), то количество всех возможных ККВ в этом промежутке будет определяться функцией π(Lmax) распределения простых чисел, равной числу простых чисел, меньших максимально возможной длительности последовательности Lmax. При определении числа p элементов поля GF(p) каждый известный элемент μi ККВ, номер i которого соответствует простому числу, будет уменьшать область поиска в 2 раза, и количество N необходимых для раскрытия структуры элементов ККВ μi, номера i которых соответствуют простым числам, будет определяться соотношением:If we restrict from above the maximum possible duration L max of the sequence (i.e., the duration L of the disclosed NLRP in the form of CCV will lie within 5≤L <L max ), then the number of all possible CCVs in this interval will be determined by the distribution function π (L max ) primes equal to the number of primes less than the maximum possible duration of the sequence L max . When determining the number p of elements of the field GF (p), each known CCV element μ i whose number i corresponds to a prime number will reduce the search area by 2 times, and the number N required to reveal the structure of the CCF elements μ i whose i numbers correspond to primes , will be determined by the ratio:
Количество же элементов ККВ , необходимых для раскрытия его структуры, будет равно значению простого числа Q, имеющего порядковый номер N:The number of elements of CCV required to reveal its structure will be equal to the value of a prime number Q, which has a serial number N:
Единица в выражении (15) добавляется ввиду того, что необходимо учитывать первый элемент ККВ μ0=0.The unit in expression (15) is added because it is necessary to take into account the first CCE element μ 0 = 0.
Например, для того чтобы раскрыть структуру ККВ, максимально возможная длительность Lmax которого равна Lmax=131, необходимо точно знать символов последовательности (см. пример на фиг. 5).For example, in order to reveal the structure of CCW, the maximum possible duration L max of which is equal to L max = 131, you need to know exactly sequence characters (see example in FIG. 5).
Так как для раскрытия структуры М-последовательности аналитику достаточно точно знать следующих подряд ее элементов, то абсолютная Za6c и относительная Zотн сложности раскрытия структуры М-последовательности в зависимости от длительности L соответственно равны Za6c=2n, Zотн=2n/2n-1.Since to reveal the structure of the M-sequence, the analyst needs to know exactly of its successive elements, then the absolute Z a6c and the relative Z rel of the complexity of revealing the structure of the M-sequence, depending on the duration L, are respectively equal to Z a6c = 2n, Z rel = 2n / 2 n -1.
Для НЛРП в виде ККВ абсолютная Za6c и относительная Zотн сложности раскрытия структуры при помощи заявляемого способа в соответствии с соотношением (15) представляют графики зависимостей, изображенные на фиг. 2.For NLRP in the form of CCV, the absolute Z a6c and relative Z rel the complexity of the disclosure of the structure using the proposed method in accordance with the relation (15) represent the dependency graphs shown in FIG. 2.
Существенными отличительными признаками заявляемого способа от способа (прототипа) раскрытия структуры М-последовательности по ее символам при помощи алгоритма Берлекэмпа-Месси являются следующие:Salient features of the proposed method from the method (prototype) of the disclosure of the structure of the M-sequence for its symbols using the Berlekamp-Messi algorithm are as follows:
простому числу p, являющемуся характеристикой кода квадратичных вычетов, присваивается минимальное значение:the prime p, which is a characteristic of the quadratic residue code, is assigned the minimum value:
, ,
где Lmax - максимально возможная длительность последовательности, π(Lmax) - количество простых чисел, меньших Lmax, Q - значение простого числа, имеющего порядковый номер N=log2π(Lmax);where L max is the maximum possible duration of the sequence, π (L max ) is the number of primes smaller than L max , Q is the value of a prime number n = log 2 π (L max );
вычисляется значение минимального первообразного элемента θ по модулю простого числа p;the value of the minimum antiderivative element θ is calculated modulo a prime p;
в соответствии с рекуррентным соотношением ai=ai-1⋅θ(modp) формируется последовательность элементов мультипликативной группы поля GF(p), GF(p)={а1,а2,…,ai=r}, до получения значения элемента ai, равного номеру r элемента поступившей последовательности;in accordance with the recurrence relation a i = a i-1 ⋅θ (modp), a sequence of elements of the multiplicative group of the field GF (p), GF (p) = {a 1 , a 2 , ..., a i = r} is formed, until the value of the element a i equal to the number r of the element the received sequence;
при разнице действительного значения μr с благоприятным значение числа p увеличивается до следующего простого значения p*, формируется последовательность элементов мультипликативной группы поля GF(p*), GF(p*)={a1*,a2*,…,ai*=r}, до получения значения элемента ai*, равного номеру r элемента поступившей последовательности;with a difference of the actual value of μ r with favorable the value of p increases to the next simple value p *, a sequence of elements of the multiplicative group of the field GF (p *), GF (p *) = {a 1 *, a 2 *, ..., a i * = r} is formed, until the value is obtained element a i * equal to the number r of the element the received sequence;
если действительное значения μr равно благоприятному , значение числа p не изменяется, r увеличивается на единицу, заново формируется последовательность элементов мультипликативной группы поля GF(p), GF(p)={a1,а2,…,ai=r}, до получения значения элемента ai, равного номеру r+1 элемента поступившей последовательности, пока уже значения μr+1=ψ(ai=r+1) и не будут равны;if the actual value of μ r is equal to favorable , the value of p does not change, r increases by one, a sequence of elements of the multiplicative group of the field GF (p), GF (p) = {a 1 , 2 , ..., a i = r} is re-formed until the value of the element a i equal to the number r + 1 of the element the received sequence, so far the values μ r + 1 = ψ (a i = r + 1) and will not be equal;
когда r становится равным , выводится значение простого числа p, являющегося характеристикой раскрываемой нелинейной рекуррентной последовательности в виде кода квадратичных вычетов, существующих в простых полях Галуа GF(p).when r becomes equal , the value of the prime number p, which is a characteristic of the revealed nonlinear recurrence sequence in the form of a code of quadratic residues existing in simple Galois fields GF (p), is derived.
4. Краткое описание чертежей4. Brief Description of the Drawings
На фиг. 1 изображен алгоритм Берлекэмпа-Месси при восстановлении полинома С(х), задающего обратные связи РСЛОС, по символам М-последовательности.In FIG. Figure 1 shows the Berlekamp-Messi algorithm for reconstructing the polynomial C (x) that defines the feedback of the RSLOS M-sequence characters.
На фиг. 2 изображены графики зависимости абсолютной Za6c и относительной Zo сложности раскрытия структуры ККВ от его длительности L (пунктиром показаны графики указанной зависимости без учета заявляемого способа).In FIG. 2 shows graphs of the dependence of the absolute Z a6c and relative Z o the complexity of the disclosure of the structure of the CCW on its duration L (dotted lines show graphs of this dependence without taking into account the proposed method).
На фиг. 3 изображен алгоритм раскрытия структуры нелинейных рекуррентных последовательностей в виде кодов квадратичных вычетов, существующих в простых полях Галуа GF(p).In FIG. Figure 3 shows the algorithm for revealing the structure of nonlinear recurrence sequences in the form of quadratic residue codes existing in simple Galois fields GF (p).
На фиг. 4 изображено главное окно программы для демонстрации работы способа раскрытия структуры нелинейных рекуррентных последовательностей в виде кодов квадратичных вычетов, существующих в простых полях Галуа GF(p).In FIG. 4 shows the main window of the program to demonstrate the operation of the method for revealing the structure of nonlinear recurrence sequences in the form of quadratic residue codes existing in simple Galois fields GF (p).
На фиг. 5 изображен пример раскрытия структуры кода квадратичных вычетов (L=p=67) по символам последовательности.In FIG. 5 shows an example of disclosing the quadratic residue code structure (L = p = 67) by sequence characters.
На фиг. 6 изображена функциональная схема устройства для раскрытия структуры нелинейных рекуррентных последовательностей в виде кодов квадратичных вычетов, существующих в простых полях Галуа GF(p).In FIG. 6 is a functional diagram of a device for revealing the structure of nonlinear recurrence sequences in the form of quadratic residue codes existing in simple Galois fields GF (p).
5. Осуществление изобретения5. The implementation of the invention
Заявляемый способ характеризуется в приведенном на фиг. 3 алгоритме следующей совокупностью последовательных действий (этапов):The inventive method is characterized in FIG. 3 algorithm the following set of sequential actions (steps):
Этап 1. Ввод данных (блоки 2 и 3 на фиг. 3).
Набором входных данных Z0 является определенное число точно известных благоприятных значений последовательно расположенных элементов раскрываемой НЛРП в виде ККВ.The input data set Z 0 is a certain number well-known favorable values sequentially located elements of the disclosed NLRP in the form of CCV.
К примеру, если принятый ШПС является фазоманипулированным НЛРП в виде ККВ сигналом, то после демодуляции он превращается в двоичную последовательность, которая в виде определенного числа точно известных благоприятных значений символов ККВ последовательно поступает на вход устройства для раскрытия структуры РПСП.For example, if the received SHPS is a phase-manipulated NLRP in the form of an CCW signal, then after demodulation it turns into a binary sequence, which in the form of a certain number well-known favorable values characters KKV sequentially fed to the input of the device to reveal the structure of the RPPS.
Простому числу р, являющемуся характеристикой кода квадратичных вычетов, присваивается значение:The prime number p, which is a characteristic of the quadratic residue code, is assigned the value:
, ,
где Lmax - максимально возможная длительность последовательности, π(Lmax) - количество простых чисел, меньших Lmax, Q - значение простого числа, имеющего порядковый номер N=log2π(Lmax).where L max is the maximum possible duration of the sequence, π (L max ) is the number of primes smaller than L max , Q is the value of a prime number with serial number N = log 2 π (L max ).
Далее вычисляется значение минимального первообразного элемента θ по модулю простого числа р.Next, the value of the minimum antiderivative element θ is calculated modulo a prime number p.
Переменной r присваивается значение номера элемента поступившей последовательности (если отрезок ККВ начинается с начала последовательности, то целесообразно переменной r присвоить значение числа 2, так как μ0=0, а в соответствии со свойствами двузначного характера μ1=1).The variable r is assigned the value of the number of the element of the received sequence (if the KKV segment starts from the beginning of the sequence, then it is advisable to assign the value of the
Этап 2. Формирование последовательности элементов мультипликативной группы поля GF(p), GF(p)={а1,а2,…,ai=r}, до получения значения элемента ai, равного номеру r элемента поступившей последовательности, а также формирование действительного значения μr r-ого элемента ККВ при заданной характеристике p (блоки 4-8 на фиг. 3).
Первому элементу a1 мультипликативной группы поля GF(p) присваивается значение числа 1. Одновременно двузначному характеру у присваивается значение 1.The first element a 1 of the multiplicative group of the field GF (p) is assigned the value of 1. At the same time, the two-digit character y is assigned the
Затем в соответствии с рекуррентным соотношением:Then, in accordance with the recurrence relation:
ai=ai-1⋅θ(modp)a i = a i-1 ⋅θ (modp)
циклически с каждым шагом i=2, 3… происходит вычисление значения следующего элемента ai мультипликативной группы поля GF(p), сравнение его со значением номера r элемента поступившей последовательности и изменение значения двузначного характера у на противоположное.cyclically with each step i = 2, 3 ... the value of the next element a i of the multiplicative group of the field GF (p) is calculated, it is compared with the value of the number r of the element of the received sequence and the opposite value of the two-digit character y is changed.
Таким образом, к моменту формирования элемента ai мультипликативной группы поля GF(p), равного номеру r элемента поступившей последовательности, будет сформировано действительное значение r-ого элемента ККВ при заданной характеристике p:Thus, by the time of formation of the element a i of the multiplicative group of the field GF (p) equal to the number r of the element of the received sequence, the real value of the rth element of the CCF will be generated for a given characteristic p:
μr=ψ(ai=r),μ r = ψ (a i = r),
что полностью соответствует правилу (10) построения ККВ в терминах характеров.which fully complies with rule (10) of the construction of CCE in terms of characters.
Этап 3. Сравнение действительного значения μr с благоприятным (блок 9 на фиг. 3).
Если значения μr=ψ(ai=r) и различны, то число p не удовлетворяет отрезку поступившей последовательности. Значение числа p увеличивается до следующего простого значения p*. Вычисляется значение минимального первообразного элемента θ* по модулю простого числа p*, числу r присваивается значение 2 (блок 10 на фиг. 3).If the values μ r = ψ (a i = r) and are different, then the number p does not satisfy the segment of the received sequence. The value of p increases to the next simple p * value. The value of the minimum primitive element θ * is calculated modulo the prime number p *, the value r is assigned the value 2 (block 10 in Fig. 3).
Последовательно выполняются этапы 2 и 3, пока значения μr и не будут равны.
Если же значения μr=ψ(ai=r) и равны, то число p удовлетворяет данному отрезку последовательности, r увеличивается на единицу (блок 12 на фиг. 3), и заново выполняются этапы 2 и 3, пока уже значения μr+1=ψ(ai=r+1) и не будут равны.If the values μ r = ψ (a i = r) and are equal, then the number p satisfies a given segment of the sequence, r increases by one (
Работа алгоритма прекращается, когда r становится равным (блок 11 на фиг. 3). Последнее значение простого числа p*, при котором , является характеристикой раскрываемого ККВ.The algorithm stops when r becomes equal (block 11 in Fig. 3). The last value of the prime number p *, at which is a characteristic of the disclosed CCV.
В целях проверки завершаемости (конечности) и результативности заявляемого способа раскрытия структуры НЛРП в виде ККВ, была составлена демонстрационная программа на языке Delphi, позволяющая по установленному ограничению максимальной длительности L последовательности определять количество необходимых для раскрытия структуры НЛРП в виде ККВ точно известных благоприятных значений последовательно расположенных элементов последовательности, а также на основе известности данных благоприятных значений раскрывать структуру всего кода.In order to verify the completeness (limb) and effectiveness of the proposed method for disclosing the structure of NLRP in the form of CCV, a demonstration program was compiled in Delphi, which allows to determine the number by the established limit on the maximum duration of the L sequence necessary for the disclosure of the structure of NLRP in the form of CCV of exactly known favorable values sequentially located elements of the sequence, as well as based on the popularity of these favorable values to reveal the structure of the entire code.
Главное окно программы представлено на фиг. 4.The main program window is shown in FIG. four.
Целью, достигаемой устройством для раскрытия структуры нелинейных рекуррентных последовательностей в виде кодов квадратичных вычетов, существующих в простых полях Галуа GF(p), является расширение функциональных возможностей устройства для формирования элементов мультипликативных групп полей Галуа GF(p) по выполнению функции раскрытия структуры НЛРП в виде ККВ.The goal achieved by the device for disclosing the structure of nonlinear recurrence sequences in the form of quadratic residue codes existing in simple Galois fields GF (p) is to expand the functionality of the device for generating elements of multiplicative groups of Galois fields GF (p) to perform the function of revealing the structure of NLRP in the form CCV.
Цель достигается тем, что в устройство для формирования элементов мультипликативных групп полей Галуа GF(p), содержащее первый и второй блок элементов ИЛИ, первую схему сравнения, вычитатель, первый и второй формирователи импульсов, первый элемент задержки, первый и второй регистры, элемент ИЛИ, блок умножения, первый и второй блоки элементов И, объединенные в блок формирования элементов мультипликативной группы поля (БФЭМГП), причем входы первой группы вычитателя соединены соответственно с выходами второго блока элементов ИЛИ, входы первой группы которого соединены соответственно с входами первой группы первого блока элементов ИЛИ и с выходами второго блока элементов И, входы второй группы которого соединены с выходами результата блока умножения, выход окончания умножения которого соединен с входами первой группы второго блока элементов И и со вторым входом элемента ИЛИ, выход которого соединен с входом элемента задержки, выход которого соединен с управляющим входом схемы сравнения, выход "меньше" которой соединен с входом разрешения записи первого регистра, выход вычитателя соединен с информационным входом второго регистра, разрядные выходы которого соединены соответственно с входами первой группы первого блока элементов И, выходы которого соединены соответственно с входами второй группы второго блока элементов ИЛИ и входами второй группы первого блока элементов ИЛИ, выходы которого соединены соответственно с входами первой группы схемы сравнения и информационными входами первого регистра, разрядные выходы которого соединены соответственно с входами регистра множимого блока умножения, выход "больше" схемы сравнения соединен с управляющим входом вычитателя и входом первого формирователя импульсов, выход которого соединен с входом разрешения записи второго регистра хранения и с входом второго формирователя импульсов, выход которого соединен с входами второй группы первого блока элементов И и первым входом элемента ИЛИ, введены: Т-триггер, D-триггер, счетчик, вторая схема сравнения, объединенные в блок формирования элементов кода, второй и третий элементы ИЛИ, второй и третий элементы задержки, блок управления, третья схема сравнения, причем вход записи элемента поступившей последовательности соединен с пятым входом блока управления, первый выход которого соединен со входом обнуления блока умножения, входом третьего элемента задержки и установочным входом Т-триггера, выход которого соединен с информационным входом D-триггера, выход которого соединен со вторым информационным входом третьей схемы сравнения, вход запуска устройства соединен с шестым входом блока управления и первым входом третьего элемента ИЛИ, выход которого соединен с установочным входом счетчика, выход третьего элемента задержки соединен с первым входом второго элемента ИЛИ, выход которого соединен со входом запуска блока умножения, выходы второй группы блока управления соединены соответственно с входами регистра множителя блока умножения, выходы третьей группы блока управления соединены соответственно со второй группой входов вычитателя, выходом значения простого числа устройства и второй группой входов первой схемы сравнения, выход "меньше" которой соединен с информационным входом Т-Триггера и управляющим входом второй схемы сравнения, выход "равно" которой соединен со входом синхронизации D-триггера и входом второго элемента задержки, выход которого соединен с управляющим входом третьей схемы сравнения, выход "равно" которой соединен с выходом ввода следующего элемента последовательности устройства и счетным входом счетчика, разрядные выходы которого соединены соответственно с первой группой входов второй схемы сравнения, выход "не равно" которой соединен со вторым входом второго элемента ИЛИ, разрядные выходы первого регистра соединены со второй группой входов второй схемы сравнения, четвертый выход блока управления соединен с первым входом третьей схемы сравнения, выход "не равно" которой соединен с седьмым входом блока управления и вторым входом третьего элемента ИЛИ.The goal is achieved in that in a device for forming elements of multiplicative groups of Galois fields GF (p), containing the first and second block of OR elements, the first comparison circuit, the subtracter, the first and second pulse shapers, the first delay element, the first and second registers, the OR element , a multiplication unit, the first and second blocks of AND elements combined into a unit for forming elements of a multiplicative field group (BFEMGP), the inputs of the first group of the subtractor being connected respectively to the outputs of the second block of OR elements, the inputs of the first group of which is connected respectively with the inputs of the first group of the first block of OR elements and with the outputs of the second block of AND elements, the inputs of the second group of which are connected with the outputs of the result of the multiplication block, the output of the end of the multiplication of which is connected to the inputs of the first group of the second block of AND elements and with the second input of the element OR, the output of which is connected to the input of the delay element, the output of which is connected to the control input of the comparison circuit, the output of which is "less than" is connected to the write enable input of the first register, the subtract output The studio is connected to the information input of the second register, the bit outputs of which are connected respectively to the inputs of the first group of the first block of AND elements, the outputs of which are connected respectively to the inputs of the second group of the second block of OR elements and the inputs of the second group of the first block of OR elements, the outputs of which are connected respectively to the inputs of the first groups of the comparison circuit and information inputs of the first register, the bit outputs of which are connected respectively to the inputs of the register of the multiplicable multiplication block, the output is less than the comparison circuit is connected to the control input of the subtractor and the input of the first pulse shaper, the output of which is connected to the write enable input of the second storage register and to the input of the second pulse shaper, the output of which is connected to the inputs of the second group of the first block of AND elements and the first input of the OR element, : T-flip-flop, D-flip-flop, counter, second comparison circuit combined into a block for generating code elements, second and third OR elements, second and third delay elements, control unit, third circuit compared the input of the entry element of the incoming sequence is connected to the fifth input of the control unit, the first output of which is connected to the input of zeroing the multiplication unit, the input of the third delay element and the installation input of the T-trigger, the output of which is connected to the information input of the D-trigger, the output of which is connected to the second information input of the third comparison circuit, the start input of the device is connected to the sixth input of the control unit and the first input of the third OR element, the output of which is connected to the installation input of the counter The output of the third delay element is connected to the first input of the second OR element, the output of which is connected to the start input of the multiplication unit, the outputs of the second group of the control unit are connected respectively to the inputs of the multiplier register of the multiplication unit, the outputs of the third group of the control unit are connected respectively to the second group of subtractor inputs, the output value of the prime number of the device and the second group of inputs of the first comparison circuit, the output of "less" of which is connected to the information input of the T-Trigger and the control input of the second comparison circuit, the output of "equal to" which is connected to the synchronization input of the D-flip-flop and the input of the second delay element, the output of which is connected to the control input of the third comparison circuit, the output of "equal" to which is connected to the input output of the next element of the device sequence and the counter counting input, bit the outputs of which are connected respectively to the first group of inputs of the second comparison circuit, the output of "not equal to" which is connected to the second input of the second OR element, the discharge outputs of the first register are connected to the second uppoy second inputs of the comparison circuit, a fourth control unit output is connected to a first input of a third comparison circuit, the output "not equal" which is connected to the seventh input of the control unit and the second input of the third OR member.
Функциональная схема устройства для раскрытия структуры НЛРП в виде ККВ, существующих в простых полях Галуа GF(p), представлена на фиг. 6.A functional diagram of a device for revealing the structure of NLRP in the form of CCF existing in simple Galois fields GF (p) is presented in FIG. 6.
Устройство содержит:The device contains:
блок 1 формирований элементов мультипликативной группы поля GF(p) (БФЭМГП), содержащий: первый и второй 3 и 5 блоки элементов ИЛИ, схему 4 сравнения, вычитатель 6, первый и второй 7 и 11 формирователи импульсов, первый элемент 8 задержки, первый и второй 9 и 10 регистры, элемент 12 ИЛИ, блок 13 умножения, первый и второй блоки 14 и 15 элементов И;
блок 2 формирования элементов кода (БФЭК), содержащий: Т-триггер 16, D-триггер 17, счетчик 18, схему 19 сравнения;
второй и третий 20 и 21 элементы ИЛИ; второй и третий элементы 22 и 23 задержки; блок 24 управления (БУ); третью схему 25 сравнения; с соответствующими функциональными связями.second and third 20 and 21 elements OR; second and
Устройство работает следующим образом.The device operates as follows.
Начало выполнения этапа 1 ввода данных осуществляется подачей благоприятного значения r-ого символа поступившей последовательности на вход 27 устройства. На вход 28 запуска устройства поступает импульс «Начало работы», который, проходя на шестой вход БУ 24, включает его, обеспечивая запись в него r-ого символа поступившей последовательности, а также, пройдя через элемент 21 ИЛИ, поступает на установочный вход счетчика 18, сбрасывая его в состояние «r», что соответствует номеру элемента поступившей последовательности. После окончания записи поступившего символа БУ 24 формирует с выхода 1 импульс, который обнуляет регистр множителя блока умножения 13 БФЭМГП, устанавливает Т-триггер 16 БФЭК 2 в состояние «1». В регистр множимого блока умножения 13 записывается единица. На выходе 3 БУ 24 формируется код модуля р, который поступает на входы Bn схемы 4 сравнения и на вторые входы вычитателя 6. На вторые входы блока умножения 13 со вторых выходов БУ 24 подается двоичный код числа минимального первообразного элемента θ по соответствующему модулю. Импульс с выхода 1 БУ 24, пройдя через элемент задержки 23, и далее через элемент ИЛИ 20, поступает на вход 3 блока умножения 13, и БФЭМГП начинает выполнять операцию умножения. Время задержки элемента задержки 23 выбирается несколько больше времени записи чисел в регистры блока умножения 13 для исключения его ложных срабатываний.The start of
Тем самым начинает выполняться этап 2 формирования последовательности элементов мультипликативной группы поля GF(p), GF(p)={а1,а2,…,ai=r}, до получения значения элемента ai, равного номеру r элемента поступившей последовательности, а также формирования действительного значения μr r-ого элемента ККВ при заданной характеристике р.Thus,
Блок умножения 13 умножает единицу на θ, и выдает результат умножения на свои выходы 7. Импульс окончания умножения с выхода 6 блока умножения 13 поступает на первые входы второго блока 15 элементов И. Результат умножения, пройдя через второй блок 15 элементов И, поступает на первые входы первого 3 и второго 5 блоков элементов ИЛИ и проходит на их выходы. Результат умножения с выходов 3 второго блока 5 элементов ИЛИ поступает на входы 1 вычитателя 6, а с выходов 3 первого блока 3 элементов ИЛИ - на входы регистра 9 и на первые входы схемы 4 сравнения. Импульс окончания умножения с блока умножения 13 также поступает на второй вход элемента ИЛИ 12 и далее через элемент 8 задержки на вход разрешения сравнения схемы 4 сравнения. Время задержки элемента 8 задержки выбирается несколько больше времени распространения сигнала через блок 15 элементов И и блок 3 элементов ИЛИ для исключения ложных срабатываний схемы 4 сравнения.The
В результате сравнения по схеме 4 сравнения поступивших на ее вход кодов чисел, а именно кода результата умножения и кода модуля р, возможны два случая:As a result of comparison according to
результат умножения меньше модуля р, т.е. является элементом поля GF(p). В этом случае на выходе "меньше" схемы 4 сравнения образуется импульс, который поступает на вход разрешения записи регистра 9 и дает команду на запись в него результата умножения с выхода блока 3 элементов ИЛИ.the result of multiplication is less than the modulus p, i.e. is an element of the field GF (p). In this case, an output “less” of the
результат умножения больше модуля р. В результате сравнения по схеме 4 сравнения кода результата умножения и кода модуля p появляется импульс на выходе "больше", который поступает на вход С разрешения вычитания вычитателя 6 и на вход формирователя 7 импульсов. На первых входах вычитателя 6 оказывается код результата умножения, а на вторых - код модуля р. Результат вычитания поступает на выходы 4 вычитателя 6 и по импульсу, сформированному формирователем 7 импульсов, записывается в регистр 10. Этот импульс поступает на вход формирователя 11 импульсов, который по его срезу формирует импульс, поступающий на вторые входы блока 14 элементов И и на первый вход элемента ИЛИ 12. Результат вычитания поступает через блок 14 элементов И на вторые входы блоков 3 и 5 элементов ИЛИ и далее на их выходы. С выходов блока 5 элементов ИЛИ эти коды поступают на входы 1 вычитателя 6, а с выходов блока 3 элементов ИЛИ - на входы схемы 4 сравнения и на информационные входы регистра 9. Импульс с формирователя 11 импульсов, пройдя через элемент ИЛИ 12 и элемент 8 задержки, поступает на вход разрешения сравнения схемы 4 сравнения. В результате сравнения возможны два варианта, описанные выше.the result of the multiplication is greater than the modulus p. As a result of the comparison according to
Работа БФЭМГП продолжается до тех пор, пока результат вычитания не станет меньше модуля р. В этом случае БФЭМГП выдает код элемента а; поля GF(p) на вход Bn схемы 19 сравнения БФЭК 2. Импульс с выхода «меньше» схемы 4 сравнения поступает на вход Т-триггера 16 и изменяет его состояние на противоположное, а также на вход разрешения сравнения схемы 19 сравнения.The work of BFEMGP continues until the result of the subtraction becomes less than the module p. In this case, BFEMGP gives the code of the element a; field GF (p) to the input B n of the
К этому времени на выходе счетчика 18 формируется номер r элемента поступившей последовательности, который поступает на вход An схемы сравнения 19.By this time, at the output of the
В результате сравнения по схеме 19 сравнения поступивших на ее вход кодов чисел, а именно номера r элемента поступившей последовательности и сформированного БФЭМГП элемента ai мультипликативной группы поля GF(p), возможны два случая:As a result of comparison according to
ai≠r. В результате сравнения по схеме 19 сравнения появляется импульс на выходе "не равно", который поступает на вход 2 элемента 20 ИЛИ и далее на вход 3 блока умножения 13 БФЭМГП. Тем самым БФЭМГП начинает формировать следующий элемент ai мультипликативной группы поля GF(p). Так продолжается до тех пор, пока элемент ai мультипликативной группы поля GF(p) не станет равен номеру r элемента поступившей последовательности.a i ≠ r. As a result of the comparison according to the
ai=r. В результате сравнения по схеме 19 сравнения появляется импульс на выходе "равно", который поступает на вход синхронизации D-триггера 17, выполняющего роль «защелки». Таким образом, на выходе Q D-триггера 17 по приходу синхронизирующего импульса с выхода «равно» схемы сравнения 19 формируется действительное значение символа кода квадратичных вычетов при соответствующем модуле р.a i = r. As a result of the comparison according to the
Действительное значение символа кода квадратичных вычетов при соответствующем модуле p приходит на вход В третьей схемы 25 сравнения. На вход третьей схемы 25 сравнения с выхода 4 БУ 24 подается благоприятное значение символа поступившей последовательности. Импульс с выхода "равно" схемы 19 сравнения, пройдя через элемент 22 задержки, поступает на вход разрешения сравнения схемы 25 сравнения. Время задержки элемента 22 задержки выбирается несколько больше времени записи чисел в схему 25 сравнения для исключения ее ложных срабатываний.Actual value of the quadratic residue code symbol with the corresponding module p comes to the input of the
Схема 25 сравнения производит сравнение действительного значения μr с благоприятным , тем самым начинает выполняться этап 3 заявляемого способа.The
В результате сравнения по схеме 25 сравнения поступивших на ее вход кодов чисел возможны два случая:As a result of comparison according to
, следовательно, значение простого числа p удовлетворяет поступившей последовательности. Импульс с выхода "равно" схемы 25 сравнения поступает на счетный вход счетчика 18, а также на выход 29 устройства, тем самым подается сигнал на ввод следующего элемента поступившей последовательности. therefore, the value of the prime p satisfies the received sequence. The pulse from the “equal” output of the
, следовательно, значение простого числа p не удовлетворяет поступившей последовательности. Импульс с выхода "не равно" схемы 25 сравнения, пройдя через элемент 21 ИЛИ, поступает на установочный вход счетчика 18, сбрасывая его в состояние «r», что соответствует номеру элемента поступившей последовательности, а также на вход 7 БУ 24, который увеличивает значение числа p до следующего простого значения p*, формирует значение минимального первообразного элемента θ при новом модуле p*, формирует на выходе 1 импульс, и БФЭМГП начинает формировать последовательность элементов мультипликативной группы поля GF(p*). therefore, the value of the prime p does not satisfy the received sequence. The pulse from the output is "not equal" to the
Таким образом, работа устройства продолжается, пока не будет произведено сравнение благоприятного значенияпоследнего элемента поступившей последовательности с действительным значением ККВ при соответствующем модуле р.Thus, the operation of the device continues until a comparison of the favorable value last element of the received sequence with a valid value CCV with the corresponding module p.
На выходе 26 устройства формируется код простого числа p, являющегося характеристикой раскрываемой НЛРП в виде ККВ.At the
Claims (14)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
RU2017109308A RU2661542C1 (en) | 2017-03-20 | 2017-03-20 | Method for disclosure of the structure of nonlinear recurrence sequences as codes of quadratic residues existing in simple galois fields gf(p) and device for its implementation |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
RU2017109308A RU2661542C1 (en) | 2017-03-20 | 2017-03-20 | Method for disclosure of the structure of nonlinear recurrence sequences as codes of quadratic residues existing in simple galois fields gf(p) and device for its implementation |
Publications (1)
Publication Number | Publication Date |
---|---|
RU2661542C1 true RU2661542C1 (en) | 2018-07-17 |
Family
ID=62917086
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
RU2017109308A RU2661542C1 (en) | 2017-03-20 | 2017-03-20 | Method for disclosure of the structure of nonlinear recurrence sequences as codes of quadratic residues existing in simple galois fields gf(p) and device for its implementation |
Country Status (1)
Country | Link |
---|---|
RU (1) | RU2661542C1 (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
SU1441413A1 (en) * | 1987-01-15 | 1988-11-30 | Войсковая Часть 25840 | Device for shaping components of extended fields and coded sequences based on them |
RU2007032C1 (en) * | 1990-12-17 | 1994-01-30 | Иван Дмитриевич Горбенко | Device which produces members of multiplicative groups of galois fields gf(p) |
US6888941B2 (en) * | 1998-08-28 | 2005-05-03 | Qualcomm, Inc. | Method and apparatus for generating encryption stream ciphers |
RU2439657C2 (en) * | 2009-04-06 | 2012-01-10 | Иван Илларионович Сныткин | Device to generate code dictionaries of non-linear recurrent sequences |
RU2574805C1 (en) * | 2014-12-29 | 2016-02-10 | Федеральное государственное казенное военное образовательное учреждение высшего образования "Краснодарское высшее военное училище имени генерала армии С.М.Штеменко" Министерства обороны Российской Федерации (Краснодарское высшее военное училище) | Device for generating spoofing resistant nonlinear recurrent sequences |
-
2017
- 2017-03-20 RU RU2017109308A patent/RU2661542C1/en not_active IP Right Cessation
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
SU1441413A1 (en) * | 1987-01-15 | 1988-11-30 | Войсковая Часть 25840 | Device for shaping components of extended fields and coded sequences based on them |
RU2007032C1 (en) * | 1990-12-17 | 1994-01-30 | Иван Дмитриевич Горбенко | Device which produces members of multiplicative groups of galois fields gf(p) |
US6888941B2 (en) * | 1998-08-28 | 2005-05-03 | Qualcomm, Inc. | Method and apparatus for generating encryption stream ciphers |
RU2439657C2 (en) * | 2009-04-06 | 2012-01-10 | Иван Илларионович Сныткин | Device to generate code dictionaries of non-linear recurrent sequences |
RU2574805C1 (en) * | 2014-12-29 | 2016-02-10 | Федеральное государственное казенное военное образовательное учреждение высшего образования "Краснодарское высшее военное училище имени генерала армии С.М.Штеменко" Министерства обороны Российской Федерации (Краснодарское высшее военное училище) | Device for generating spoofing resistant nonlinear recurrent sequences |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Cusick et al. | Cryptographic Boolean functions and applications | |
Golomb | Shift register sequences: secure and limited-access code generators, efficiency code generators, prescribed property generators, mathematical models | |
Cusick et al. | Stream ciphers and number theory | |
Gong et al. | Fast discrete Fourier spectra attacks on stream ciphers | |
JP2011528444A (en) | Closed Galois encryption system | |
Mandal et al. | Cryptographically strong de Bruijn sequences with large periods | |
Masoodi et al. | An analysis of linear feedback shift registers in stream ciphers | |
Zuev et al. | Practical implementation of a pseudo-random signal generator based on the Lorenz system realized on FPGA | |
EP1941349A2 (en) | Method of generating pseudo-random numbers | |
US6757323B1 (en) | Rapid signal acquisition by spread spectrum transceivers | |
RU2661542C1 (en) | Method for disclosure of the structure of nonlinear recurrence sequences as codes of quadratic residues existing in simple galois fields gf(p) and device for its implementation | |
García et al. | Generation and correlation architectures of multilevel complementary sets of sequences | |
Sadkhan et al. | Investigation of the best structure for the nonlinear combining function | |
Jetzek | Galois Fields, Linear Feedback Shift Registers and Their Applications | |
Canteaut et al. | Attacks against filter generators exploiting monomial mappings | |
Zakharov et al. | Representing maximal pseudo-random sequences on the basis of non-linear vector-valued complication function over a finite field | |
RU2756833C1 (en) | Pseudorandom number generator | |
RU2669506C1 (en) | Method of transmission complication of non-linear recurrent sequences in the form of codes of quadratic residues existing in simple galois fields gf(p) and device for its implementation | |
CN110045947B (en) | Random number generating unit and device | |
JP3917864B2 (en) | Pseudorandom signal generation method and apparatus | |
AKCENGİZ et al. | Statistical randomness tests of long sequences by dynamic partitioning | |
Falih | A Pseudorandom Binary Generator Based on Chaotic Linear Feedback Shift Register | |
Singh et al. | FPGA Implementation of Chaos based Pseudo Random Number Generator | |
Beletsky et al. | Generators of pseudo random sequences of Galois | |
Hell et al. | Some attacks on the bit-search generator |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
MM4A | The patent is invalid due to non-payment of fees |
Effective date: 20200321 |