JPH0450769B2 - - Google Patents

Info

Publication number
JPH0450769B2
JPH0450769B2 JP60500689A JP50068985A JPH0450769B2 JP H0450769 B2 JPH0450769 B2 JP H0450769B2 JP 60500689 A JP60500689 A JP 60500689A JP 50068985 A JP50068985 A JP 50068985A JP H0450769 B2 JPH0450769 B2 JP H0450769B2
Authority
JP
Japan
Prior art keywords
shift register
pseudo
binary sequence
recirculating
sequence generator
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP60500689A
Other languages
Japanese (ja)
Other versions
JPS61502435A (en
Inventor
Henrii Joozefu Beekaa
Ryutsuku Emieru Rushian Boosu
Piitaa Robaato Burenando
Edomundo Rafuaeru Buraun
Jerarudo Ofurei Kurozaa
Uiruherumusu Maruteinusu Doon
Sutanrei Meikinson Edowaadoson
Sutefuan Erii
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
British Broadcasting Corp
Original Assignee
British Broadcasting Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by British Broadcasting Corp filed Critical British Broadcasting Corp
Publication of JPS61502435A publication Critical patent/JPS61502435A/en
Publication of JPH0450769B2 publication Critical patent/JPH0450769B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Error Detection And Correction (AREA)
  • Tests Of Electronic Circuits (AREA)

Description

【発明の詳細な説明】 本発明は擬似ランダムバイナリシーケンス発生
器に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a pseudorandom binary sequence generator.

擬似ランダムバイナリシーケンス発生器は既知
であり、その構成および作動はベーカーおよびパ
イパーの著書“暗号システム”1982年ロンドン,
ノースウツド ブツク社発行に記載されている。
特にこの種の発生器は直線性フイードバツクシフ
トレジスタの形態を採り、特にこの種直線性フイ
ードバツクシフトレジスタには、“ガロア”型又
は“デユアル”型のものがある。
Pseudo-random binary sequence generators are known, and their construction and operation are described in Baker and Piper, Cryptographic Systems, London, 1982.
Published by Northwood Books.
In particular, this type of generator takes the form of a linear feedback shift register, which in particular is of the "Galois" or "dual" type.

かかる擬似ランダムバイナリシーケンス発生器
は主としてn段の再循環シフトレジスタおよび1
個以上の関連する論理ゲートを、少なくとも2個
のシフトレジスタ段の出力側を結合するループ内
に具える。論理ゲートを適当に選択することによ
り長さが2n−1ビツトの繰返しシーケンスを得る
ことができる。このnを適当な大きさの数とする
場合にはこのシーケンスは実際上極めて長くな
り、且つ上記ビツトはランダム従つて“擬似ラン
ダム”であると見做すことができる。
Such pseudo-random binary sequence generators primarily consist of n-stage recirculating shift registers and one
One or more associated logic gates are included in a loop coupling the outputs of at least two shift register stages. By appropriate selection of logic gates, repeating sequences of length 2 n -1 bits can be obtained. If n is a suitably large number, this sequence can be very long in practice, and the bits can be considered random and therefore "pseudo-random."

擬似ランダムバイナリシーケンス発生器の出力
が模倣される可能性を減少する必要があり、且つ
これら発生器の出力信号および数個のシフトレジ
スタ段の内容が知られている場合でもこれらシフ
トレジスタ段の内容の双方の非予知性を増大する
必要がある用途は多数ある。
It is necessary to reduce the possibility that the outputs of pseudorandom binary sequence generators are imitated, and even if the output signals of these generators and the contents of several shift register stages are known. There are many applications where it is necessary to increase the unpredictability of both.

本発明の要旨は後述の請求の範囲から明らかで
ある。
The gist of the invention will be apparent from the claims below.

図面につき本発明の実施例を説明する。 Embodiments of the invention will be explained with reference to the drawings.

第1図に示す本発明擬似ランダムバイナリシー
ケンス発生器は2つの直線性フイードバツクシフ
トレジスタSおよびTを具える。シフトレジスタ
Sには29個のシフトレジスタ段S0……S28を設け
ると共にシフトレジスタTには31個のシフトレジ
スタ段T0……T30を設ける。各シフトレジスタで
は最終のシフトレジスタ段の出力を常規作動中再
循環ループの第1シフトレジスタ段に入力として
供給する。またこのループには排他的OR回路の
形態の複数の論理ゲートGを設け、これらゲート
によつて最終シフトレジスタ段の出力と、次のシ
フトレジスタ段に供給する関連のシフトレジスタ
段の出力とを合成する。
The pseudo-random binary sequence generator of the present invention, shown in FIG. 1, comprises two linear feedback shift registers S and T. The shift register S is provided with 29 shift register stages S 0 ...S 28 , and the shift register T is provided with 31 shift register stages T 0 ...T 30 . Each shift register provides the output of the last shift register stage as an input to the first shift register stage of the recirculation loop during normal operation. This loop is also provided with a plurality of logic gates G in the form of exclusive OR circuits, which connect the output of the last shift register stage and the output of the associated shift register stage to feed the next shift register stage. Synthesize.

論理ゲートGの位置を適宜選定してレジスタに
より発生するシーケンスの長さが最大可能な長さ
となるようにする。従来論理ゲートの位置は次式
で表されるように多項式の形態で示すことができ
る。
The location of the logic gate G is chosen accordingly so that the length of the sequence generated by the register is the maximum possible length. The position of a conventional logic gate can be expressed in polynomial form as expressed by the following equation.

f(x)=1+C1X+C2X2+……CiXi+…… Co-1Xn-1+Xn 上式を用いることにより擬似ランダムバイナリシ
ーケンス発生器Sは次式で表すことができる。
f(x)=1+C 1 X+C 2 X 2 + ... C i X i + ... C o -1 I can do it.

1+X2+X3+X4+X5+X7+X11 +X13+X14+X20+X29 上式から明らかなように論理ゲートはシフトレ
ジスタ段S2,S3,S4,S5,S7,S11,S13,S14
よびS20への入力側に位置するようになる。これ
がため9個の論理ゲートが存在し、且つ各ゲート
によつて多項式に追加の項を導入する。
1 + X 2 + X 3 + X 4 + X 5 + X 7 + X 11 + X 13 + X 14 + X 20 + , S 13 , S 14 and S 20 . There are therefore nine logic gates, and each gate introduces an additional term into the polynomial.

同様にして擬似ランダムバイナリシーケンス発
生器Tの論理ゲートGもシフトレジスタ段T1
T2,T3,T5,T6,T7,T9,T10,T11,T15
T19,T23およびT27への入力側に位置するように
なる。この場合には13個の論理ゲートが存在す
る。
Similarly, the logic gate G of the pseudo-random binary sequence generator T also has shift register stages T 1 ,
T 2 , T 3 , T 5 , T 6 , T 7 , T 9 , T 10 , T 11 , T 15 ,
It will be located on the input side to T 19 , T 23 and T 27 . In this case there are 13 logic gates.

又、第1図に示す回路にはマルチプレクサM、
即ち選択回路を設ける。この選択回路には5個の
アドレス入力端子Aiおよび32個のデータ入力端子
Biを設け、この選択回路によりアドレス入力端子
に供給されるアドレスワードに従つて出力側に供
給するデータ入力端子の1つを選択する。一般
に、p個のデータ入力端子が存在する場合にはq
個のアドレス入力端子が存在し、ここにqは2q
pを満足する最低値とする。
The circuit shown in FIG. 1 also includes a multiplexer M,
That is, a selection circuit is provided. This selection circuit has 5 address input terminals A i and 32 data input terminals.
A selection circuit B i is provided which selects one of the data input terminals to be supplied to the output according to the address word supplied to the address input terminal. Generally, when there are p data input terminals, q
There are address input terminals, where q is 2 q
Let p be the lowest value that satisfies.

データ入力端子にはシフトレジスタTのシフト
レジスタ段の出力が供給され、従つてTiはBiに接
続され(i=0,1,……30)且つT30もB31
接続される。
The data input terminal is supplied with the output of the shift register stage of the shift register T, so that T i is connected to B i (i=0, 1, . . . 30) and T 30 is also connected to B 31 .

アドレス入力端子にはシフトレジスタSの最初
の5個のシフトレジスタ段の出力が供給され、従
つてSiはAiに接続され(i=0,1,2,3,
4)、その結果q個の出力がシフトレジスタSか
ら得られるようになる。
The address input terminals are supplied with the outputs of the first five shift register stages of the shift register S, so that S i is connected to A i (i=0, 1, 2, 3,
4) As a result, q outputs can be obtained from the shift register S.

作動に当たり、2つのシフトレジスタSおよび
Tを同時にクロツク作動させる。シフトレジスタ
Tに保持される擬似ランダムバイナリシーケンス
の31ビツトを選択回路Mのデータ入力端子に供給
する。これらビツトの1個を任意瞬時に出力とし
て選択する。この選択したビツトはシフトレジス
タSの最初の5個のシフトレジスタ段の内容によ
つて決まる。これがためシフトレジスタTの内容
が既知であつても出力の数を予知するのは困難と
なる。
In operation, the two shift registers S and T are clocked simultaneously. The 31 bits of the pseudo-random binary sequence held in the shift register T are applied to the data input terminal of the selection circuit M. One of these bits is selected as the output at any instant. This selected bit depends on the contents of the first five shift register stages of shift register S. Therefore, even if the contents of the shift register T are known, it is difficult to predict the number of outputs.

シフトレジスタに含まれるシフトレジスタ段の
総数はq−ビツトアドレスおよびpデータビツト
のみを得るために必要とされるシフトレジスタ段
の数よりも多く、60とする。シフトレジスタ段の
総数をrとすると、次式が成立する。
The total number of shift register stages included in the shift register is greater than the number of shift register stages required to obtain only the q-bit address and p data bits, which is 60. When the total number of shift register stages is r, the following equation holds true.

r>p+q これらシフトレジスタ段の出力が選択回路Mに
供給されない場合に多数の“未使用”シフトレジ
スタ段を設ける必要があり、且つこの数をアドレ
スビツトの数に比べて大きくする必要があること
は明らかである。従つて次式が成立する。
r>p+q If the outputs of these shift register stages are not supplied to the selection circuit M, it is necessary to provide a large number of "unused" shift register stages, and this number needs to be large compared to the number of address bits. is clear. Therefore, the following equation holds.

r≧p+q2 これら未使用シフトレジスタ段を設けることに
よつてアドレスワードの非予知性を増大し、従つ
てシフトレジスタTの内容が既知である場合でも
擬似ランダムバイナリシーケンス発生器の出力を
予知し得なくすることができる。
r≧p+q 2The provision of these unused shift register stages increases the unpredictability of the address word, thus making it possible to predict the output of the pseudo-random binary sequence generator even if the contents of the shift register T are known. It can be done without benefit.

又、シフトレジスタに使用する論理ゲートGの
数を大きく、本例では22とするのは明らかであ
る。上述したように、これら論理ゲートは各々の
場合に最大長さのシーケンスが得られるように選
定する。しかし、この目的のみのためにかかる多
数のゲートを必ずしも使用する必要はない。
It is also obvious that the number of logic gates G used in the shift register is large, 22 in this example. As mentioned above, these logic gates are selected in such a way that a sequence of maximum length is obtained in each case. However, it is not necessary to use such a large number of gates solely for this purpose.

しかるに、論理ゲートの数を多くすればする程
シフトレジスタの内容を予知するのが一層困難と
なる。その理由は所定のシーケンスがシフトレジ
スタの始端から終端に簡単に位相されず、多数の
箇所で変化し得るからである。
However, the greater the number of logic gates, the more difficult it becomes to predict the contents of the shift register. The reason is that the predetermined sequence is not easily phased from the beginning to the end of the shift register and can change at many points.

これがためかかる論理ゲートの数を最小でsと
すると、次式は得られ、これによりシフトレジス
タ段の総数に対する非予知性の程度を高めること
ができる。
If the minimum number of logic gates this accumulates is s, then the following equation is obtained, which increases the degree of unpredictability for the total number of shift register stages.

2s≧r2 シフトレジスタ段の総数を60とする場合には最
小で12個の論理ゲートを設ける必要があり、この
場合その各シフトレジスタに対する最小数はシフ
トレジスタ段の数にほぼ比例させるのが好適であ
る。通常sの値はr/2よりも小さくする。
2 s ≧ r 2 If the total number of shift register stages is 60, a minimum of 12 logic gates must be provided, and in this case the minimum number for each shift register should be approximately proportional to the number of shift register stages. is suitable. The value of s is usually smaller than r/2.

図面から明らかなようにスイツチSW1,SW
2,SW3およびSW4を設け、これらスイツチ
によつて常規作動(ラン)状態でシフトレジスタ
SおよびTを中心として2つの再循環ループを形
成し得るようにする。しかしこれら4個のスイツ
チは図示の位置からロード位置に切換えることが
でき、このロード位置ではシフトレジスタSの出
力をシフトレジスタTの入力として供給すると共
に論理ゲートGの全部にはそのシフトレジスタの
出力側が通常持続されている入力側に零値を供給
する。次いで60個のシフトレジスタ段の全部を経
てクロツク作動されるスイツチSW1のロード入
力端子に60ビツト初期設定ワードを供給し得るよ
うにする。
As is clear from the drawing, switches SW1 and SW
2, SW3 and SW4 are provided so that in normal running conditions two recirculation loops can be formed around the shift registers S and T. However, these four switches can be switched from the position shown to the load position, in which the output of shift register S is supplied as the input of shift register T, and all of the logic gates G are supplied with the output of that shift register. The side supplies a zero value to the input side which is normally sustained. A 60-bit initialization word can then be applied to the load input terminal of clocked switch SW1 through all 60 shift register stages.

この再初期設定作動は被定義キユーの受信によ
りバイナリシーケンス発生器の常規作動中正しく
行われると共に第4図につき後に説明するように
行われる。これによつても、シフトレジスタの内
容が任意瞬時に既知であつても出力を予知し得な
いようにする。
This reinitialization operation is properly performed during normal operation of the binary sequence generator upon receipt of a defined cue, and is performed as described below with respect to FIG. This also makes it impossible to predict the output even if the contents of the shift register are known at any given moment.

初期設定ワードの受信後バイナリシーケンス発
生器をその出力の利用前数サイクルに亘つてクロ
ツク作動させる必要がある。
After receiving the initialization word, the binary sequence generator must be clocked for several cycles before its output can be used.

第2図は第1図の擬似ランダムバイナリシーケ
ンス発生器の変形例を示す。本例の装置の大部分
は第1図に示す装置と同一であるため、その相違
点のみを説明する。
FIG. 2 shows a modification of the pseudo-random binary sequence generator of FIG. Since most of the apparatus of this example is the same as the apparatus shown in FIG. 1, only the differences will be described.

本例でもシフトレジスタSには29個のシフトレ
ジスタ段を設けると共にシフトレジスタTには31
個のシフトレジスタ段を設ける。又、論理ゲート
を次に示すシフトレジスタ段の入力側に結合す
る。シフトレジスタS−シフトレジスタ段S2
S3,S4,S8,S11,S16およびS20 シフトレジスタT−シフトレジスタ段T1,T2
T3,T7,T14,T19およびT25 従つて本例では全部で60個のシフトレジスタ段
と、選択回路Mの32個のデータ入力端子及び5個
のアドレス入力端子と、14個の論理ゲートとを設
ける。
In this example, the shift register S has 29 shift register stages, and the shift register T has 31 stages.
shift register stages are provided. A logic gate is also coupled to the input side of the shift register stage shown below. Shift register S - shift register stage S 2 ,
S 3 , S 4 , S 8 , S 11 , S 16 and S 20 Shift Register T - Shift Register Stages T 1 , T 2 ,
T 3 , T 7 , T 14 , T 19 and T 25 Therefore, in this example there are a total of 60 shift register stages, 32 data input terminals and 5 address input terminals of the selection circuit M, and 14 A logic gate is provided.

しかし、この場合各シフトレジスタのシフトレ
ジスタ段の数個をデータおよびアドレス入力端子
の各々の数個に夫々接続する。即ちこの接続を以
下のように示す。
However, in this case several of the shift register stages of each shift register are respectively connected to several of each of the data and address input terminals. That is, this connection is shown below.

A0−S0 A1−S1 A2−T0 A3−T1 A4−T2 B0〜B7−S2〜S9(夫々対応) B8〜T31-T3〜T26(夫々対応) かようにしてシフトレジスタの出力と選択回路
Mの入力とを混合することにより、その状態に関
する大部分が既知である場合でもバイナリシーケ
ンス発生器き作動を予知するのは極めて困難であ
る。
A 0 −S 0 A 1 −S 1 A 2 −T 0 A 3 −T 1 A 4 −T 2 B 0 ~B 7 −S 2 ~S 9 (corresponding to each) B 8 ~T 31- T 3 ~T 26 (corresponding to each) By thus mixing the output of the shift register and the input of the selection circuit M, it is extremely difficult to predict the operation of the binary sequence generator even if most of its state is known. It is.

第3図は本発明擬似ランダムバイナリシーケン
ス発生器の更に他の例を示す。本例では第1およ
び2図の2個のシフトレジスタの代わりに61個の
シフトレジスタ段S0〜S60を有する単一のシフト
レジスタSを設ける。また、25個の論理ゲートG
を次に示すシフトレジスタ段の入力側に図示のよ
うに接続する。
FIG. 3 shows yet another example of the pseudorandom binary sequence generator of the present invention. In this example, instead of the two shift registers of FIGS. 1 and 2, a single shift register S having 61 shift register stages S 0 to S 60 is provided. Also, 25 logic gates G
is connected to the input side of the next shift register stage as shown.

シフトレジスタ段S2,S3,S7,S8,S9,S10
S12,S15,S19,S20,S22,S24,S25,S28,S30
S33,S34,S37,S40,S43,S44,S46,S54,S56
よびS60これがため、5個のアドレスビツトA0
…A4はシフトレジスタ段S4,S9,S14,S19および
S24の出力側から取出し、且つ32個のデータビツ
トをシフトレジスタ段S29〜S60の出力側から取出
す。かようにして単一の再循環ループによつてマ
ルチプレクサMのデータおよびアドレス入力側の
双方に出力を供給する。
Shift register stages S 2 , S 3 , S 7 , S 8 , S 9 , S 10 ,
S 12 , S 15 , S 19 , S 20 , S 22 , S 24 , S 25 , S 28 , S 30 ,
S 33 , S 34 , S 37 , S 40 , S 43 , S 44 , S 46 , S 54 , S 56 and S 60 This results in 5 address bits A 0 ...
…A 4 is the shift register stage S 4 , S 9 , S 14 , S 19 and
S24 and 32 data bits from the outputs of shift register stages S29 to S60 . A single recirculating loop thus provides outputs to both the data and address inputs of multiplexer M.

この場合には61ビツト初期設定ワードによる再
初期設定に2個のスイツチSW1およびSW2を
必要とするのみである。
In this case, only two switches SW1 and SW2 are required for reinitialization with the 61-bit initialization word.

第3図に示す擬似ランダムバイナリシーケンス
発生器でも単一の再循環ループを用いてマルチプ
レクサMのアドレスおよびデータ入力ビツトを供
給し得るようにする。
The pseudo-random binary sequence generator shown in FIG. 3 also allows a single recirculating loop to be used to supply the address and data input bits of multiplexer M.

この技術の従来の例によればかかる発生器は個
別の回路により記載および説明されている。しか
し明細書の記載および請求の範囲は、発生器の多
項式を数学的に、又は論理ステツプにより再現し
て上述した発生器と同様の合成シーケンスを発生
させるコンピユータプログラムの形態で発明の実
行に同様に適用し得ることは明らかである。
According to the prior art, such generators have been described and explained in terms of separate circuits. However, the description and claims similarly provide for carrying out the invention in the form of a computer program that reproduces the polynomials of the generator mathematically or by logical steps to generate a composite sequence similar to the generator described above. The applicability is clear.

擬似ランダムバイナリシーケンス発生器の出力
は、直接衛星放送信号のような条件付アクセス
(即ちサブスクリプシヨン)テレビジヨン信号の
信号成分をスクランブルするために用いることが
できる。上述した再初期設定作動によればビデオ
信号をスクラブルするために新たなコードを10秒
毎に伝送するのが好適であるが、このコードは10
秒の期間中多数回繰返す。その理由は、デコーダ
をロツクする最大時間を1秒より著しく短かくす
る必要があるからである。しかし、これは画像情
報を同一シーケンスの繰返しでスクランブルする
ことを意味する。これは比較的危険である。その
理由はスクランブルされた画像の種々の部分間の
相関を行い得るからである。
The output of the pseudorandom binary sequence generator can be used to scramble the signal components of a conditional access (or subscription) television signal, such as a direct satellite broadcast signal. According to the reinitialization operation described above, it is preferable to transmit a new code every 10 seconds to scrabble the video signal;
Repeat many times during a period of seconds. The reason is that the maximum time to lock the decoder needs to be significantly less than 1 second. However, this means that the image information is scrambled by repeating the same sequence. This is relatively dangerous. The reason is that correlations between different parts of the scrambled image can be performed.

テレビジヨンフレームを計数するためには8−
ビツトフレーム計数ワード(FCNT)を直接衛
星放送信号のようなテレビジヨン信号と共に伝送
する。この計数は40ns毎(フレーム毎)に進段さ
せると共に予定数のフレーム後、例えば256フレ
ーム毎(ほぼ10秒)に繰返す。
To count television frames, use 8-
A Bit Frame Count Word (FCNT) is transmitted directly with a television signal, such as a satellite broadcast signal. This counting is advanced every 40 ns (every frame) and repeated after a predetermined number of frames, for example every 256 frames (approximately 10 seconds).

次いでこのフレーム計数ワード(FCNT)は
送信機の擬似ランダムバイナリシーケンス発生器
に入力として供給し得ると共に受信機のデコーダ
の関連する発生器に供給し得るようにする。これ
がためフレーム計数信号および秘密制御信号の双
方を送信機の擬似ランダムバイナリシーケンス発
生器に各テレビジヨンフレームの始端に供給す
る。フレーム計数信号の使用によりバイナリシー
ケンス発生器に及ぼす影響によつて同一の制御ワ
ード値の各ローデイング中に異なる出力を発生す
るようになる。このことは、画像信号を異なるキ
ーストリームで常時スクランブルすることを意味
し、これは一層安全である。更に各シーケンスが
テレビジヨンフレーム(40ns)毎に発生するため
デコーダのビデオ情報へのアクセスを迅速とする
ことができる。フレーム計数ワードは適当に制御
ワードと組合せることができる。この場合には簡
単なモジユロ−2加算を行うことができる。
This frame count word (FCNT) may then be provided as input to a pseudo-random binary sequence generator at the transmitter and to an associated generator at the receiver's decoder. To this end, both a frame count signal and a secret control signal are provided to the transmitter's pseudo-random binary sequence generator at the beginning of each television frame. The use of the frame count signal has an effect on the binary sequence generator to produce different outputs during each loading of the same control word value. This means that the image signal is always scrambled with a different key stream, which is more secure. Furthermore, since each sequence occurs every television frame (40 ns), the decoder can quickly access the video information. Frame count words can be combined with control words as appropriate. In this case, a simple modulo-2 addition can be performed.

上述した作動を第4図につき以下に説明する。 The operation described above will be explained below with reference to FIG.

フレーム計数器10によつてフレーム毎に増加
するいわゆる8−ビツトワードの形態の出力を発
生する。フレーム計数器は歩進動作を行う度毎に
その出力10aを分周回路11に供給し、これに
より繰返し周期の所要の長さに等しい数、本例で
は256で分周を行つて10秒の繰返し周期を得るよ
うにする。分周回路の出力によつて制御ワード発
生器12をクロツク動作させ、これにより異なる
長さの制御ワード例えば60−ビツト制御ワードを
発生させるようにする。
A frame counter 10 produces an output in the form of so-called 8-bit words that increases from frame to frame. The frame counter supplies its output 10a to the frequency divider circuit 11 every time it performs a step operation, which divides the frequency by a number equal to the required length of the repetition period, in this example 256, and divides the frequency into 10 seconds. Try to get the repetition period. The output of the frequency divider circuit clocks control word generator 12, which generates control words of different lengths, such as 60-bit control words.

フレーム計数器の8−ビツト出力を1/2分周反
転回路14に供給し、ここで8−ビツトフレーム
計数ワード毎に交互に補数がとられるようにす
る。次いで反転回路12の出力を、排他的ORゲ
ート15で表わされるモジユロ−2加算器に供給
し、ここで各フレーム計数ワードを60−ビツト制
御ワードより成る1バイトにモジユロ−2加算す
る。これがため、制御ワードの第1の8−ビツト
バイトを第1フレーム計数ワードにモジユロ−2
加算し、第2バイトを第2フレーム計数ワードの
補数に加算し、第3バイトを第3フレーム計数ワ
ードに加算し、これを最後のバイトまで繰返す。
この最後のバイトは60−ビツト制御ワードに対し
て4−ビツトのみとし、これを第8フレーム計数
ワードの補数の最下位4ビツトに加算する。排他
的ORゲート15の出力を初期設定入力として擬
似ランダムバイナリシーケンス発生器16に供給
してフレーム計数毎に、即ちフレーム計数器10
が進段する度毎にこの発生器にロードする。この
発生器16は上述した発生器の任意のものとし得
るが、第2図に示す発生器とするのが好適であ
る。
The 8-bit output of the frame counter is applied to a divide-by-2/2 inverter circuit 14 where each 8-bit frame count word is alternately complemented. The output of inverter circuit 12 is then applied to a modulo-2 adder, represented by exclusive-OR gate 15, which adds each frame count word modulo-2 to a byte consisting of a 60-bit control word. This allows the first 8-bit byte of the control word to be modulo 2 in the first frame count word.
add the second byte to the complement of the second frame count word, add the third byte to the third frame count word, and repeat until the last byte.
This last byte is only 4 bits for the 60-bit control word and is added to the least significant 4 bits of the complement of the 8th frame count word. The output of the exclusive OR gate 15 is supplied as an initialization input to a pseudo-random binary sequence generator 16 for each frame count, i.e., to the frame counter 10.
Loads this generator every time the stage advances. The generator 16 may be any of the generators described above, but is preferably the generator shown in FIG.

従つて擬似ランダムバイナリシーケンス発生器
の入力側には2種類の信号、即ち一方の信号(フ
レーム計数)が既知で、他方の信号(制御ロー
ド)が未知であるような信号を供給する。かかる
状態では既知の入力と発生器の出力との双方によ
つても未知入力を検知することはできない。これ
がため、同一の制御ワードは擬似ランダムバイナ
リシーケンス発生器に繰返しロードし得るが、そ
の出力が同一のシーケンスで繰返されるのを防止
し、これにより安全性を高め得るようにする。
The input of the pseudo-random binary sequence generator is therefore supplied with two types of signals, one signal (frame count) being known and the other signal (control load) being unknown. In such a state, the unknown input cannot be detected by both the known input and the output of the generator. This allows the same control word to be loaded repeatedly into the pseudo-random binary sequence generator, but prevents its output from being repeated in the same sequence, thereby increasing security.

上述した処理はワード毎に、又は連絡して行う
ことができる。
The processing described above can be performed word by word or in series.

フレーム計数はこの目的のための好適な周期的
シーケンスであるが、絶対的なシーケンスではな
い。例えば好適な計数を日付/時間信号のような
関連するデータ信号から取出すか、又はライン計
数のような他の計数から得るか或いはこれら計数
の組合せから得ることができる。
Frame counting is a suitable periodic sequence for this purpose, but not an absolute sequence. For example, suitable counts may be derived from an associated data signal, such as a date/time signal, or from other counts, such as line counts, or from a combination of these counts.

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

第1,2および3図は本発明の実施例である各
擬似ランダムバイナリシーケンス発生器の構成を
夫々示すブロツク回路図、第4図は第1,2また
は3図に示す擬似ランダムバイナリシーケンス発
生器への入力を変更する回路を示すブロツク図で
ある。 M……選択手段、B0〜B31……データ入力端
子、A0〜A4……アドレス入力端子、G……論理
ゲート、S,T……再循環シフトレジスタ手段、
10……フレーム計数器、10a……出力、11
……分周回路、12……制御ワード発生器、14
……1/2分周反転回路、15……排他的ORゲー
ト、16……擬似ランダムバイナリシーケンス発
生器。
1, 2, and 3 are block circuit diagrams showing the configuration of each pseudo-random binary sequence generator according to an embodiment of the present invention, and FIG. 4 is a block circuit diagram of the pseudo-random binary sequence generator shown in FIG. 1, 2, or 3. FIG. 2 is a block diagram illustrating a circuit for changing the input to the circuit. M...Selection means, B0 to B31 ...Data input terminals, A0 to A4 ...Address input terminals, G...Logic gates, S, T...Recirculation shift register means,
10...Frame counter, 10a...Output, 11
... Frequency divider circuit, 12 ... Control word generator, 14
...1/2 frequency divider/inverter circuit, 15... Exclusive OR gate, 16... Pseudo-random binary sequence generator.

Claims (1)

【特許請求の範囲】 1 p個のデータ入力端子B0〜B31及びq個のア
ドレス入力端子A0〜A4,2q≧pを有し、アドレ
ス入力ワードに従つてデータ入力ビツトの1つを
任意瞬時に選択して装置の出力を発生し、この際
アドレス入力端子qの数を特にp個のデータ入力
端子の各々のアドレスに必要な最小数とする選択
手段Mと、合計でr個のシフトレジスタ段及びこ
れらシフトレジスタ段間に位置するs個の論理ゲ
ートGを有し選択されたシフトレジスタ段の出力
を論理的に組合せて疑似ランダムシーケンスを発
生する再循環シフトレジスタ手段S,Tと、前記
選択手段のp個のデータ入力端子を選択されたシ
フトレジスタ段の出力端子に接続して選択手段の
q個のアドレス入力端子をq個の選択されたシフ
トレジスタ段の出力端子に接続する手段とを具え
る疑似ランダムバイナリシーケンス発生器におい
て、前記シフトレジスタ段の数rがqビツトアド
レス及びpデータビツトを発生するためにのみ必
要とする数よりも大きくなるようにし、前記論理
ゲートの数sが再循環シフトレジスタ手段のシフ
トレジスタ段の総数に対する最小値よりも大きく
なるようにし、次式で示す条件2S≧r2を満足する
ようにしたことを特徴とする疑似ランダムバイナ
リシーケンス発生器。 2 シフトレジスタ段の数rが次式で示す条件r
≧p+q2を満足するようにしたことを特徴とする
特許請求の範囲第1項記載の疑似ランダムバイナ
リシーケンス発生器。 3 再循環シフトレジスタ手段S,Tは、少なく
とも1つの再循環ループを具え、前記接続手段に
よつて前記ループのシフトレジスタ段の数個の出
力端子を前記選択手段のデータ入力端子に接続す
ると共に同一のループのシフトレジスタ段の他の
出力端子を前記選択手段のアドレス入力端子に接
続するようにしたことを特徴とする特許請求の範
囲第1項または第2項記載の疑似ランダムバイナ
リシーケンス発生器。 4 再循環シフトレジスタ手段は、2つの再循環
ループを具え、各ループには前記選択手段のデー
タ入力端子の各々を接続すると共に選択手段のア
ドレス入力端子の各々を接続するようにしたこと
を特徴とする請求の範囲第1項又は第2項記載の
疑似ランダムバイナリシーケンス発生器。 5 再初期設定ワードを再循環シフトレジスタ手
段に正しくロードするローデイング手段を具える
ことを特徴とする特許請求の範囲第1項〜第4項
の何れかの項に記載の疑似ランダムバイナリシー
ケンス発生器。 6 前記再循環シフトレジスタ手段は第1および
第2シフトレジスタを具え、第1シフトレジスタ
Sは特性原始多項式1+X2+X3+X4+X5+X7
X11+X13+X14+X20+X29を有し、第2シフトレ
ジスタTは特性原始た1+X+X2+X3+X5+X6
+X7+X9+X10+X11+X15+X19+X23+X27
X31を有することを特徴とする特許請求の範囲第
1項記載の疑似ランダムバイナリシーケンス発生
器。 7 前記再循環シフトレジスタ手段は第1および
第2シフトレジスタを具え、第1シフトレジスタ
Sは特性原始多項式1+X2+X3+X4+X8+X11
+X16+X20+X29を有し、第2シフトレジスタT
は特性原始多項式1+X+X2+X3+X7+X14
X19+X25+X31を有することを特徴とする特許請
求の範囲第1項に記載の疑似ランダムバイナリシ
ーケンス発生器。 8 前記再循環シフトレジスタ手段はシフトレジ
スタSを有し、このシフトレジスタSは特性原始
多項式1+X2+X3+X7+X8+X9+X10+X12
X15+X19+X20+X22+X24+X25+X28+X30
X33+X34+X37+X40+X43+X44+X46+X54
X56+X60+X61を有することを特徴とする特許請
求の範囲第1項に記載の疑似ランダムバイナリシ
ーケンス発生器。
[Scope of Claims] 1 has p data input terminals B 0 to B 31 and q address input terminals A 0 to A 4 , 2 q ≧p, and one of the data input bits according to the address input word. a selection means M for selecting at any instant an output of the device, the number of address input terminals q being in particular the minimum number necessary for the address of each of the p data input terminals; recirculating shift register means S having s shift register stages and s logic gates G located between the shift register stages and logically combining the outputs of selected shift register stages to generate a pseudo-random sequence; T and the p data input terminals of the selection means are connected to the output terminals of the selected shift register stages, and the q address input terminals of the selection means are connected to the output terminals of the q selected shift register stages. a pseudo-random binary sequence generator comprising means for connecting said logic gates, wherein said number r of shift register stages is greater than the number required only to generate q-bit addresses and p data bits; A pseudo-random binary sequence characterized in that the number s of the recirculating shift register means is larger than the minimum value for the total number of shift register stages, and the condition 2 S ≧ r 2 expressed by the following equation is satisfied. generator. 2 Condition r where the number r of shift register stages is expressed by the following formula
The pseudo-random binary sequence generator according to claim 1, characterized in that ≧p+q 2 is satisfied. 3. The recirculating shift register means S, T comprise at least one recirculating loop, and by means of said connecting means several output terminals of the shift register stages of said loop are connected to the data input terminal of said selection means. A pseudo-random binary sequence generator according to claim 1 or 2, characterized in that the other output terminals of the shift register stages in the same loop are connected to the address input terminal of the selection means. . 4. The recirculating shift register means comprises two recirculating loops, each of which is connected to each of the data input terminals of the selection means and to each of the address input terminals of the selection means. A pseudorandom binary sequence generator according to claim 1 or 2. 5. Pseudo-random binary sequence generator according to any one of claims 1 to 4, characterized in that it comprises loading means for correctly loading the re-initialization word into the recirculating shift register means. . 6. The recirculating shift register means comprises first and second shift registers, the first shift register S having a characteristic primitive polynomial 1+X 2 +X 3 +X 4 +X 5 +X 7 +
X 11 +X 13 +X 14 +X 20 +X 29 , and the second shift register T has the characteristic primitives 1 + X +
+X 7 +X 9 +X 10 +X 11 +X 15 +X 19 +X 23 +X 27 +
Pseudo-random binary sequence generator according to claim 1, characterized in that it has X 31 . 7. The recirculating shift register means comprises first and second shift registers, the first shift register S having a characteristic primitive polynomial 1+X 2 +X 3 +X 4 +X 8 +X 11
+X 16 +X 20 +X 29 , and the second shift register T
is the characteristic primitive polynomial 1+X+X 2 +X 3 +X 7 +X 14 +
Pseudo-random binary sequence generator according to claim 1, characterized in that it has X 19 +X 25 +X 31 . 8. The recirculating shift register means has a shift register S, which has a characteristic primitive polynomial 1+X 2 +X 3 +X 7 +X 8 +X 9 +X 10 +X 12 +
X 15 +X 19 +X 20 +X 22 +X 24 +X 25 +X 28 +X 30 +
X 33 +X 34 +X 37 +X 40 +X 43 +X 44 +X 46 +X 54 +
Pseudo-random binary sequence generator according to claim 1, characterized in that it has X 56 +X 60 +X 61 .
JP60500689A 1984-02-06 1985-02-04 Pseudo-random binary sequence generator Granted JPS61502435A (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
GB8403046 1984-02-06
GB8403046 1984-02-06
GB8412431 1984-05-16

Related Child Applications (2)

Application Number Title Priority Date Filing Date
JP62257056A Division JPS64812A (en) 1984-02-06 1987-10-12 Pseudo random binary sequence generator
JP62257055A Division JPS64811A (en) 1984-02-06 1987-10-12 Pseudo random binary sequence generator

Publications (2)

Publication Number Publication Date
JPS61502435A JPS61502435A (en) 1986-10-23
JPH0450769B2 true JPH0450769B2 (en) 1992-08-17

Family

ID=10556137

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60500689A Granted JPS61502435A (en) 1984-02-06 1985-02-04 Pseudo-random binary sequence generator

Country Status (1)

Country Link
JP (1) JPS61502435A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014164342A (en) * 2013-02-21 2014-09-08 Fujitsu Semiconductor Ltd Pseudo-random number generation circuit and pseudo-random number generation method

Also Published As

Publication number Publication date
JPS61502435A (en) 1986-10-23

Similar Documents

Publication Publication Date Title
JPH0519327B2 (en)
JPH01811A (en) pseudorandom binary sequence generator
JPH01812A (en) pseudorandom binary sequence generator
US5566099A (en) Pseudorandom number generator
KR100333255B1 (en) Apparatus and method for converting N-bit input values to converted N-bit output values
US6072873A (en) Digital video broadcasting
US4771429A (en) Circuit combining functions of cyclic redundancy check code and pseudo-random number generators
US5943248A (en) w-bit non-linear combiner for pseudo-random number generation
JP3024702B2 (en) Dynamic feedback scramble technology key stream generator
WO1996021183A1 (en) Digital randomizer for on-chip generation and storage of random self-programming data block
US4937828A (en) High speed parallel CRC device for concatenated data frames
US7123720B2 (en) Key scheduler for encryption apparatus using data encryption standard algorithm
US7106859B2 (en) Parallel data scrambler
US4649419A (en) Pseudo-random binary sequency generator
US20040091106A1 (en) Scrambling of data streams having arbitrary data path widths
JPS60235587A (en) Video signal fading circuit
US7092979B1 (en) Random data generator and scrambler using the same, and method therefore
US6931127B2 (en) Encryption device using data encryption standard algorithm
JPH0450769B2 (en)
KR100756435B1 (en) Methods and apparatus for keystream generation
JP4342798B2 (en) Digital processing apparatus and digital decoding apparatus
JPH0129444B2 (en)
US20030156720A1 (en) Scrambler with scramble process bypass capability and descrambler with descramble process bypass capability
US7469374B2 (en) Circuit for generating a cyclic code
JPH0430797B2 (en)

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term