SYNCHRONOUS STREAM CIPHER

Abstract: A synchronous data-stream generator, suitable for use as a synchronous stream cipher providing copy right protection for audio/video data, generates a stream of output data items in synchronisation with a clock trigger. The data-stream generator comprises at least two parallel arranged subgenerators, Mi, i >/= 1, such as linear feedback shift registers. The output of the subgenerators Mi is combined forming the output data items of the data-stream generator. A control subgenerator C is used for generating a stream of control data items. Control means (150) comprises for at least one subgenerator Mi an associated number selector Si for, in dependence on the control data item of the control subgenerator C, selecting a number ni,j from a group Hi of different integer numbers. At least two numbers of the group Hi are larger than zero. The control means (150) causes the associated subgenerator Mi to provide at the output the selected ni,j-th data item successive to a last generated data item (effectively skipping ni,j-1 data items).

Description: Synchronous stream cipher The invention relates to a synchronous data-stream generator for generating a stream of output data items of at least one bit in synchronisation with a clock tπgger; the data- stream generator comprising: a plurality of subgenerators M„ i > 1, each subgenerator M, comprising a respective clock input and a respective output; each subgenerator M, being operative to generate a data item of at least one bit on the respective output in response to a trigger received via the respective clock input; means for combining a generated data item of each of the subgenerators M„ forming the output data item of the data-stream generator; a control subgenerator C comprising an input for receiving the clock trigger and an output; the control subgenerator C being operative to generate a control data item of at least one bit on the output in response to the clock trigger; and control means operative to provide a trigger to at least one of the clock inputs of the subgenerators M, in dependence on the control data item of the control subgenerator C. The invention further relates to an encryptor and/or decryptor station comprising the synchronous data-stream generator. The invention also relates to an apparatus comprising a decryptor station comprising the synchronous data-stream generator. The invention further relates to a method for generating an output stream of data items, each of at least one bit in synchronisation with a clock trigger; the method comprises: generating a control stream of control data items, each of at least one bit, in synchronisation with the clock trigger; and generating a plurality of data streams DS, of data items, each of at least one bit; each data stream DS, being generated according to a respective predetermined algorithm A,; controlling the generation of data items for at least one of the data streams DS, in dependence on the control data items of the control stream; and forming the output stream by combining the generated data streams DSj. The invention relates also to a computer program for performing the method and a computer- readable storage medium having the program recorded thereon. Such a synchronous data-stream generator is known as the alternating step generator from "Handbook of Applied Cryptography", A.J. Menzes, P.C. van Oorschot, S.A. Vanstone, CRC Press, 1997, pages 209-211. In this system, two Linear Feedback Shift Registers (LFSRs) Ml and M2 are used to generate two data-streams. The data-streams are combined into one bit output stream of the data-stream generator via an XOR (Exclusive OR) operation. A third LFSR C is used as a control subgenerator whose output controls the clocking of the LFSRs Ml and M2. The sequence of operation is as follows: - register C is clocked - if the output of C is a logic "1", then Mi is clocked; M 2 is not clocked but its output is repeated - if the output of C is a logic "0", then M 2 is clocked; Mj is not clocked but its output is repeated - the outputs of Mi and M 2 are combined. Non-linearity is introduced in this system by using C to irregularly clock one of the subgenerators at a time under control of the output of the subgenerator C. The data stream generator can be used in many applications. For instance, the data-stream generator may be used as a pseudo-random generator, and as such can be used for encrypting/decrypting data by adding the output bits modulo 2 (XOR) to the data bits. It is an object of the invention to provide a synchronous data-stream generator of the kind set forth which is more resistant against known attacks. It is a further object to provide such an improved data-stream generator that is suitable for use in digital consumer electronics systems with a low gate-complexity for a hardware implementation and offering a speed suitable for encryption/decryption of digital audio/video signals. To meet the object of the invention, the control means comprises for at least one subgenerator M, an associated number selector Sj for, in dependence on the control data item of the control subgenerator C, selecting a number n,, j from a group Hi of different integer numbers; at least two numbers of the group H, being larger than zero; the group Hi being associated with the number selector S,; and in that the control means is operative to cause the associated subgenerator M, to provide at the output the selected n,, j -th data item successive to a last generated data item. In this way, the subgenerator(s) M, is triggered/clocked more irregularly causing a higher level of non-linear behaviour. Instead of approximately half of the time the subgenerator not being clocked (i.e. maintaining the same output), the group may be larger with at least two integers being different from zero, allowing the subgenerator to be clocked more frequently (i.e. the output is less frequently kept constant which is the result of a 'zero' being selected for the subgenerator and consequently the subgenerator not being clocked whereas another one is being clocked) and being provided with more than one trigger at a time (i.e. in fact skipping a number of n^-l data items and providing the n;, j -th data item at the output). Such a skipping may simply be performed by in response to one clock trigger to the data-stream generator, clocking a subgenerator n, j times. By not or less frequently maintaining the same output of a subgenerator, the data stream generator has more states. The hardware/software required to achieve this can be kept to a minimum, making the improvements suitable for high-speed consumer electronic applications. A data item may simply consist of one bit (0 or 1), or be formed using more bits, representing a larger range of numbers. Combining the output of the subgenerators may be done using a simple operation, such as a bitwise XOR, or may be a more complicated (nonlinear operation. In an embodiment according to the measure as defined in the dependent claim 2, the balanced selection is an effective way to ensure maximum period. According to the measure defined in the dependent claim 3, the subgenerator is always clocked at least once, ensuring that the combined output always contains a new contribution of each of the subgenerators. Selecting from two numbers, of which one number is a 'one' allows for a simple and fast implementation. According to the measure defined in the dependent claim 4, at least two subgenerators are 'irregularly' and differently clocked, increasing the non-linearity further. According to the measure defined in the dependent claim 5, a finite state machine is used as a generator. According to the measure defined in the dependent claim 6, a feedback shift register is used as the finite state machine, allowing a simple and fast implementation suitable for consumer electronic applications. The feedback shift register may have a linear feedback or, alternatively, a non-linear feedback. According to the measure defined in the dependent claim 7, the n,, j -th output data item is generated in one operation (one trigger) instead of using τ\ j successive clock triggers. In this way a high bit-rate can be achieved at an only marginal increase in gate- complexity. This makes the stream generator particularly suitable for use in digital audio/video equipment, such as a CD or DVD-like player, where a high bit-rate at low cost is required. According to the measure defined in the dependent claim 8, more output bits of the control data item are used, increasing the variability in the number selection process Preferably, the data-stream generator is used in an encryptor and/or decryptor station for generating a pseudo-random stream of data items Symmetrical encryption/decryption can then be achieved by combining (e g using an XOR operation) the generated data stream with a stream to be encrypted decrypted Advantageously, the decryptor is incorporated in a playback device, such as a disc player, where the data stream to be encrypted is read from a record earner, such as a tape or disc The encryptor and decryptor may also be used for protecting transfer of digital data, in particular audio and/or video data, via a network such as LEEE 1394 In such a case, raw digital data is encrypted in the transmitter station and decrypted in the receiving station Key information may be provided in any suitable way, such as using public key exchange methods It is an object of the invention to provide a method for generating a synchronous data-stream, which is more resistant against known attacks. It is a further object to provide such method that is suitable for use m digital consumer electronics systems with a low gate-complexity for a hardware implementation and offeπng a speed suitable for encryption/decryption of digital audio/video signals To meet the object of the invention, the method is characterised in that the step of controlling the generation of data items for at least one of the data streams DS, compπses selecting for the data stream DS, a number n from an associated group of different integer numbers; at least two numbers of the groups being larger than zero; the selection being in dependence on the control data items of the control stream; and the step of generating a data item for the data stream DS, compπses generating as a next data item of the data stream DS, a data item which according to the algoπthm A, would be the n-th data item successive to a last generated data item In this method, the algoπthm A, corresponds to the functionality of subgenerator M \ and as such will not be descπbed in detail separately The invention also relates to computer program for causing a processor to perform this method The program may be for any suitable processor, such as an embedded microcontroller or Rise-processor, or for processors optimized for executing encryption software. Implementing the steps of the method in software functions lies within the skills of a skilled person and will not be elaborated further. The invention also relates to a computer-readable storage medium having the computer program. Any suitable medium may be used, like a magnetic storage medium (e.g. floppy disk), or optical storage medium, such as a CD-ROM, or electrical storage medium, such as (non-volatile) RAM or ROM. These and other aspects of the invention will be apparent from and elucidated with reference to the embodiments shown in the drawings. Fig. 1 shows a block diagram of the synchronous data-stream generator 100 according to the invention; Fig. 2 illustrates a feedback shift register; Fig. 3 illustrates a 'one-clock, multi-step/feedback' LFSR; Fig. 4 shows a block diagram of a preferred embodiment of the data-stream generator; and Fig. 5 illustrates an encryptor/decryptor apparatus. Fig.l. The shown generator 100 comprises two subgenerators 110 (Mi) and 120 (M 2 ). The subgenerators Mi and M 2 comprise a respective input 112 and 122 for receiving a clock trigger. In response to a clock trigger received via the respective inputs 112 and 122, the subgenerators Mi and M 2 provide a data item at the respective output 114 and 124. This results in respective streams of data items OS and DS 2 . Typically, each data item consists of one bit. However, it will be appreciated that the data item may have any desired value range, e.g. expressed using more than one bit. Preferably, the output data items of the subgenerators are from the same range. The generator 100 comprises combination means 130 for combining the data items generated by the subgenerators Mi and M . A simple way of combining the data streams DS] and DS is to use a bit-wise XOR operation. It will be appreciated that although only two subgenerators Mj and M 2 are shown, equally well more than two subgenerators can be arranged in parallel and their output combined. Using more subgenerators will in general increase the period of the data-stream generator 100 and increase the linear complexity, at the expense of requiring more hardware or software processing for the implementation. The data- stream generator 100 further comprises a control subgenerator 140 (C). The control subgenerator C comprises an input 142 for receiving a clock trigger. The input 142 is coupled to the clock input 102 of the data-stream generator 100. In response to the clock tπgger, the subgenerator C provides a control data item at the output 144. The control data item of the subgenerator C is used to control the clocking of the subgenerators M, (m Fig 1, 1 < l ≤ 2). Since the generated control data item normally is not combined with the output data items of M„ the size of the control data item may be chosen independently of the size of the data items of the subgenerators Mj and M 2 The data-stream generator 100 also compπses a control means 150 The control means 150 compπses a clock input 152 for receiving a clock tπgger. Preferably, the clock input 152 is coupled to the clock input 102 of the data stream generator 100, ensuπng that the control means 150 operates synchronous with the control subgenerator C However, also a separate clock may be used, as long as the output of the data-stream generator 100 is synchronous with the clock tπgger received via the clock input 102. The control means 150 further compπses a number selector The number selector selects a number n, from a predetermined group of different integer numbers. The selection is performed in dependence on the control data item of the control subgenerator C. The control means 150 is operative to, in response to the clock tπgger, cause a selected one of the subgenerators M, to provide at the output the n,-th data item successive to a last output data item. This may, for instance, be implemented by, for nι=3, providing three clock tπggers to Mi. So, in this way one clock tπgger at input 152 may, depending on the value of the control data item, result in providing e.g. 3 tπggers to input 112 of Mi . The number selector preferably stores the numbers of the group in a memory (e.g. in ROM or RAM whose content is loaded from a non-volatile memory such as a record earner) Alternatively also other means, such as an algonthm may be used to generate a number. In pπnciple, the number selection and related tπggenng according to the invention may be performed for only one of the subgenerators. Preferably, a number selection is performed for each of the subgenerators M„ which number determines how many times M, is 'clocked'. This selection may be done using only one number selector, which m turn selects a number for the various subgenerators M,. In order to increase speed, preferably, the control means 150 compπses a respective number generator S, for each respective subgenerator M,. In Fig. 1, number generator 116 (S is associated with the subgenerator Mi and number generator 126 (S 2 ) with subgenerator M 2 . In the example, each of the number generators 116 and 126 compπses a respective memory 118 and 128 for stoπng the respective group H, of numbers n, 0 . Advantageously, at least two of the groups H, are different. Preferably, all groups H, are different. According to the invention, the group H, compπses at least two different integer numbers, of which at least two numbers are larger than zero. For instance, possible groups are: 1 and 3; 1 and 5; 0, 1 and 7; 0, 3 and 11, etc. Preferably, the group does not include the integer zero. In this way, each clock trigger to the data-stream generator 100 results in the subgenerator M, associated with the group being 'clocked' at least once. Preferably, the group does include the integer one, since in general it is simple to cause a subgenerator Mj to generate the next data item at the output (e.g. by simply providing one clock trigger to the subgenerator M;). It will be appreciated that according to the invention at least one subgenerator Mj is controlled in the manner as described above, where the number of triggers is selected from an associated group Hi with at least two integers larger than zero. Preferably, all subgenerators are controlled in this way. However if so desired, one or more of the subgenerators may also be controlled by selecting a number from the group {0, 1 }. Preferably, the group Hj consists of only two integers, of which a first one, advantageously, is a one and a second one is larger than one. In this way the control means 150 only needs to take a simple binary decision on which number to use for 'clocking' the subgenerator. Such a decision can be based on one output bit of the control subgenerator C. In a further embodiment, the number selector Si is operative to perform a balanced selection where each of the numbers ny of group Hj has a substantially same chance of being selected. This can be achieved in various different ways. For instance, by using a control subgenerator C with a balanced output and maintaining this balance during the selection (e.g. directly using one bit of the balanced control data item to select between two numbers of Hi, where Hj consists of only two numbers). In a further embodiment a finite state machine is used by a subgenerator to create a pseudo-random stream of data items. Preferably, all subgenerators Mj and the control subgenerator C are based on finite state machines. Advantageously, different machines are used for each subgenerator. For a finite state machine, a clock trigger causes a state transition of the machine, where a state transition results in outputting a data item. If according to the invention n, j is larger than one, then rii -l outputs need to be suppressed (for instance, sampling of the output is only enabled after nι, j state transition triggers have been provided to the finite state machine). Any suitable finite state machine may be used. For instance, DES may be used in an output feedback mode. Advantageously, the finite state machine is based on a feedback shift register. Any suitable feedback shift register may be used. Fig. 2 illustrates a feedback shift register 200. The register 200 comprises k sequentially arranged storage cells p 0 to pn. In the example, p 0 is the low-order cell from which the output data item is supplied. Typically, a data item is one bit, but a cell may also be able to store more bits. In response to a trigger received via the input 210, the content of all cells is shifted over, usually, one location towards the low order cell. Since normally the trigger is a clock pulse, this can be seen as a transition in time from t to t+1. The shift can be expressed using the following formula O + l) (I) P ~ p ,for i = 0 to k - \ The previous content of p 0 (i.e. p 0 (t> ) has been made available at the output 220 of the register 200. Due to the shift, cell p κ has become empty. This cell is reloaded with a combination of the data items in one or more of the other cells at time t. Shown is a simple linear combination, where the content of p 0 (t) and p 3 (t) are combined using a bit-wise XOR operation. The shown linear feedback shift register (LFSR) can be represented by the following polynomial: f(x) = x k + x 3 + l In this formula, for n-bit storage cells, f (x) e F 2 „ [x] . The LFSR can be in one of 2 k -l internal states (the state with all zeros is not used). A pseudo-random sequence of 2 k -l output items without any repetition of the output occurs if the representing polynomial is a so-called primitive polynomial. Primitive polynomials are well known for various degrees of the polynomials. Preferably LFSRs based on primitive polynomials are used for each subgenerator based on an LFSR. Such primitive polynomials are well known for various degrees of the polynomials. For a simple implementation in hardware, preferably a sparse polynomial is used (i.e. a polynomial with only a few coefficients), requiring only a small amount of logic to implement the feedback function. It will be appreciated that instead of a linear feedback function also a non-linear feedback function may be used. A conventional FSR can be caused to output the n-th data item, where n>l, following the last output data item by providing n triggers (clock pulses) to the FSR. For high speed applications, the resulting form of clock multiplication (one input clock trigger provided to the data stream generator 100 resulting in n internal triggers to an FSR) may be a problem. According to the invention, for LFSRs the n-th data item is supplied using only one internal trigger at the expense of some additional logic. This is illustrated for the LFSR represented by the polynomial: f(x) = x η + x' + l A shift over one position (n=l) can be described as: P? *l) =P ,foτi = 0to5; P X) = Po° ® PV > or equivalent: p, (,+1 = p, ( !> θ £,<!> , for = 6 Similarly a shift over two positions (n=2) can be described as: p<' +1) = p<° θ p<' p<' +1) = θ p<° , or equivalent: p t ' +1) = / > ® p, 2 , for i = 5 to 6 A shift over three positions (n=3) can be described as: Fig.3 illustrates a possible implementation of this principle where the LFSR is associated with group H = {1,3} (i.e. a shift over one position or three position occurs). For each cell a respective switch 310 to 370 has been added, where a first position corresponds to the conventional feedback (n=l) and the second position corresponds to the newly defined feedback which has the same effect as three successive conventional shifts and feedbacks. For above defined polynomial, the same 'one-trigger, multiple shift/feedback' principle can also be executed for n=4: p =p ,fσri = 0to2; p!" l) =p%®PΪ foτi = 3 to 6 In more general terms for the polynomial f(x) = x 1 + x 3 + 1 a shift over n positions (with 1 < n ≤ 4) in one operation is given by: Generalising the principle for any LFSR with a characteristic polynomial given by: k-n /( ) = X + ∑fl, j ' > ≤" > gives that in response to the trigger to transit in time from t to ι=0 t+1 the following shifting of data items between the storage cells needs to be performed in parallel: (r+l) ( P = D ,for = 0 to k- n-\, (/+1) * ~ " P, =Σa J p j+ι =0 ι+l+ + n n_-k f ori = k - ntok - 1 In this way a fast implementation is achieved, avoid complications of 'internal feedback loops'. Such an internal feedback loop occurs if the highest order cell needs to be fed with a data item which is not yet explicitly present in the register, i.e. the item first needs to be created from items which are present. This situation, for instance, occurs for the sample polynomial of f (x) = x 1 + Λ - 3 + 1 if five internal shifts/feedbacks occur in response to one general trigger. To illustrate this, extending the principle described above for π=5 would give: which for p 6 gives: p^ +i} = p ® Pη" , where actually cell p does not exist (in fact a form of a double feedback occurs: once p 6 is fed-back in the conventional way, followed by a feedback of the new content of p 6 to p 6 (in combination with p 3 )). Realising that the content of p 7 corresponds to the content of p 6 after one normal shift operation and as such: p? = p ® pi" , this gives: p^ = p? ® P ® PV ■ As such it will be appreciated that the general principle described above can be expanded, albeit at the expense of more logic or operations (in the example two instead of one XOR operation). In a further embodiment, the control data items of the control subgenerator C comprise a plurality of L bits. At least one and, preferably, all number selectors S; comprise mapping means for mapping the L bits of the control data item, as output by the control subgenerator, to one of the integers ny of the corresponding group Hj. In principle any suitable mapping may be used. Advantageously, a balanced mapping is used. Fig. 4 illustrates a preferred arrangement for mapping multiple bits (in the example: L is three bits) to one of the integers (in the example: the integer is selected from a group of two integers). In the example, two subgenerators LFSRl (410) and LFSR2 (420) are used, each with a respective number selector 416 and 426. Each of the number selectors comprises a respective boolean function Fj for mapping more than one bit to one bit. In the example, two bits (k 2 and ki) are mapped to one bit. The mapping may be chosen in a fixed way, such as shown in the following table: According to the value in the table, if k 2 t kι (t) = '01' (binary), both F) and F 2 generate as output a binary T, whereas if k 2 (t> k = '00', Fi generates a T and F 2 generates a '0'. Alternatively, the mapping table may be loaded to a configurable initial value, e.g. from a key. In the arrangement of Fig. 4 it is preferred that Fi and F 2 perform a different mapping. The functions F] and F 2 may be chosen such that their output is balanced. In the shown arrangement it is not required that Fi and F 2 provide a balanced output Balancing is achieved by combining the outputs of the functions with an output bit k 0 (t) of the control subgenerator C, assuming that this output is balanced (which is the case for an LFSR). In the arrangement, respective functions G, are used to map the two respective bit streams 419 and 429 to respective streams of numbers, selected from respective groups H„ which numbers determine the number of 'internal clocking' of the respective subgenerators M,. Examples of suitable groups of numbers are: Hi = { 1 , 5 } and H = { 1 , 7 } . The functions G, may be defined as follows: G 1 (0) = 1; G,(1) = 5, G 2 (0) = 1; G 2 (1) = 7. Alternative mapping functions may also be used for G,. Assuming that the subgenerators H, are finite state machines with a peπod q,, then the functions G, preferably meet the following cπtenon m order to obtain optimal non-hnear behaviour and length of the peπod of the overall generator 100: assuming that p, is the smallest peπod of the stream of input bits for G, and a, and b, respectively indicate the number of binary 'O's and Ts dunng this peπod (p,=a,+b,), then the gcd(a,G,(0) + b,G,(l), q,) = 1 A similar cπteπon applies for groups with more than two numbers. The arrangement of Fig 4 m combination with the internal multiple shifting/feedback technique of Fig. 3 for LFSRl and LFSR2 can be implemented in hardware using less than 2000 gates for registers of approx. 35 one-bit cells, and can operate at bit rates of over 80 Mbps using conventional techniques, such as standard programmable devices. Obviously, the system may also be implemented using software techniques Fig. 5 illustrates a block diagram of an encryptor or decryptor station 500. The station 500 compnses an input 510 for receiving a stream 515 of encrypted, respectively, decrypted data items in synchronisation with a clock tngger 520. The clock may be generated internally to the apparatus or be accompanying the stream of data items. The station further includes the data-stream generator 100 according to the invention The clock tngger 520 is supplied as input to the data stream generator 100, which in response generates a synchronous stream 530 of data items The station 500 compnses combination means 540, such as an XOR operator, for combining the received data stream 515 with the generated data steam 530. By using a same stream generator 100 (i.e. a same generation function used under control of the same initial values, such as a key) in both an encryptor station as well as a decryptor station a so-called symmetπcal encryption system is achieved. Advantageously, the encryptor station is used to encrypt digital audio/video data, which is then stored in an encrypted form on a record carrier, such as an optical storage medium, or is transmitted in an encrypted form, e.g. via Internet. The encrypted data may then be made readily accessible to a reader/receiver apparatus, whereas access to the key is restricted to the decryptor station in the reader/receiver station. Such a restricted access may, for instance, be achieved using public key encryption methods to transfer the key in an encrypted form. With such techniques it can be assured that only an authorised receiver receives the key and is able to decrypt the data. For distribution via a storage medium, special authorised hardware may be used in the reader to extract the key from the storage medium. The key may be stored in the storage medium in a way not accessible to the normal data read-back hardware. Preferably, such a key is then supplied to the decryptor station in a way not normally accessible from the outside. For instance, the key read-back hardware and the decryptor station may be incorporated in the same IC, which may even be made tamper-resistant. Fig.5 illustrates using a decryptor station 500 in a reader/playback apparatus 550. The apparatus 550 comprises a storage medium 560. Instead of permanently comprising the storage medium (record carrier), the apparatus may also comprise berthing means, such as a tray, for receiving the storage means. The apparatus 550 comprises a clock 570, providing the timing for the reading/supply of data from the storage medium to the decryptor station 500. The reading is performed by a reader 580, which provides the data stream 515. The reader 580 also retrieves data, such as a key, for initialising the decryptor station 500. The initialisation data 590 is supplied to the decryptor station. It will be appreciated that a similar reverse arrangement can be used for encrypting data and storing the data in encrypted form, if required in combination with the used initialisation data. Using the encryption/decryption according to the invention the content owner or distributor achieves an effective copyright protection, which particularly for consumer electronics receiver/reader apparatuses can be implemented in a cost-effective manner.

Claims: CLAIMS: 1. A synchronous data-stream generator for generating a stream of output data items of at least one bit in synchronisation with a clock trigger; the data-stream generator comprising: a plurality of subgenerators M„ i ≥ 1, each subgenerator M, comprising a respective clock input and a respective output; each subgenerator M, being operative to generate a data item of at least one bit on the respective output in response to a trigger received via the respective clock input; means for combining a generated data item of each of the subgenerators M„ forming the output data item of the data-stream generator; a control subgenerator C comprising an input for receiving the clock trigger and an output; the control subgenerator C being operative to generate a control data item of at least one bit on the output in response to the clock trigger, and control means operative to provide a trigger to at least one of the clock inputs of the subgenerators M, in dependence on the control data item of the control subgenerator C; characterised in that the control means comprises for at least one subgenerator Mj an associated number selector S, for, in dependence on the control data item of the control subgenerator C, selecting a number n^ j from a group H; of different integer numbers; at least two numbers of the group Hj being larger than zero; the group Hj being associated with the number selector S,; and in that the control means is operative to cause the associated subgenerator M, to provide at the output the selected n,, r th data item successive to a last generated data item. 2. A clock-controlled data-stream generator as claimed in claim 1, characterised in that the number selector S, is operative to perform a balanced selection where each of the numbers n,, j of group H, has a substantially same chance of being selected. 3. A clock-controlled data-stream generator as claimed in claim 1, characterised in that at least one of the groups H, consists of the integer one and one integer larger than one. 4. A clock-controlled data-stream generator as claimed in claim 8, characterised in that the control means comprises for at least two of the subgenerators M, an associated number selector S, for selecting the number n,, j from an associated group H, of different integer numbers; at least two of the groups H, being different. 5. A clock-controlled data-stream generator as claimed in claim 1, characterised in that the subgenerator M, and/or the control subgenerator C comprises a finite state machine for creating a pseudo-random stream of data items. 6. A clock-controlled data-stream generator as claimed in claim 4, characterised in that the finite state machine comprises a feedback shift register. 7. A clock-controlled data-stream generator as claimed in claim 6, characterised in that the feedback shift register is a linear feedback shift register associated with a k-n characteristic polynomial f{x) = χ + ∑ β ,;t' > 1 ≤ « < , the linear feedback shift register 1=0 comprising K sequentially arranged storage cells p 0 to pκ-ι, po being the low-order cell from which the output data item is supplied; the linear shift register being operative to provide the n-th data item as output data item in response to the trigger to transit in time from t to t+1 performing the following shifting of data items between the storage cells in parallel: P = p ,for ι = 0 to k - n - l, ( /+1) *-„ P, = ∑a J p j, + + l i + + n n_-k i = k - " to k -ι ;=0 8. A clock-controlled data-stream generator as claimed in claim 1, characterised in that the control data item of the control subgenerator C comprises a plurality of L output bits; and in that the number selector S, comprises mapping means for mapping the L output bits to one of the integers n, 0 of the group H,. 9. An encryptor and/or decryptor station comprising: an input for receiving a stream of encrypted, respectively, decrypted data items in synchronisation with a clock trigger; a data-stream generator as claimed in claim 1 for in response to the clock trigger generating a stream of generated data items; and means for combining the received stream of encrypted, respectively, decrypted data items with the stream of generated data items providing a stream of decrypted, respectively, encrypted data items. 10. A consumer electronics apparatus comprising a decryptor station as claimed in claim 9 and means for reading a stream of encrypted data items from a record carrier and for providing the stream of data items to the decryptor station for decryption. 11. A method for generating an output stream of data items, each of at least one bit in synchronisation with a clock trigger; the method comprises: generating a control stream of control data items, each of at least one bit, in synchronisation with the clock trigger; and generating a plurality of data streams DSj of data items, each of at least one bit; each data stream DSj being generated according to a respective predetermined algorithm A,; controlling the generation of data items for at least one of the data streams DSj in dependence on the control data items of the control stream; and forming the output stream by combining the generated data streams DS,; characterised in that the step of controlling the generation of data items for at least one of the data streams DSj comprises selecting for the data stream DSj a number n from an associated group of different integer numbers; at least two numbers of the groups being larger than zero; the selection being in dependence on the control data items of the control stream; and the step of generating a data item for the data stream DSj comprises generating as a next data item of the data stream DSj a data item which according to the algorithm Aj would be the n-th data item successive to a last generated data item. 12. A computer program for causing a processor to perform the method as claimed in claim 11. 13. A computer-readable storage medium having the computer program as claimed in claim 12 recorded thereon.

Inventors: JANSEN CORNELIS J A, ROELSE PETRUS L A, JANSEN, CORNELIS, J., A., ROELSE, PETRUS, L., A.
Applicants: KONINKL PHILIPS ELECTRONICS NV, PHILIPS SVENSKA AB, KONINKLIJKE PHILIPS ELECTRONICS N.V., PHILIPS AB
Application year: 1999
Main classification: H04L9
IPC codes: H04L9