This application claims priority from French patent application No. 05/51377, filed May 25, 2005, which is incorporated herein by reference.
1. Technical Field
An embodiment of the present invention generally relates to electronic circuits and more specifically to the generation of a pseudo-random digital flow.
An embodiment of the present invention particularly applies to secure circuits, for example, of smart card type, implementing ciphering, authentication, identification, etc. algorithms requiring pseudo-random data.
Another example of application of an embodiment of the present invention relates to the generation of a clock signal with pseudo-random frequency jumps.
2. Discussion of the Related Art
Many methods and circuits for generating in hardware or software fashion pseudo-random digital flows are known.
An embodiment of the present invention more specifically relates to generators using hardware means rather than algorithms executed by a microcontroller, software methods generally suffering from being deterministic.
Among known hardware solutions, some implement exclusively digital means, for example, a linear feedback shift register (LFSR). Others exploit an analog source, for example, a natural noise source linked to the thermal noise of a resistor or of a diode, or the sampling of a relatively fast oscillator by a relatively slow oscillator.
Another solution to which an embodiment of the present invention more specifically applies uses a controllable-bias oscillator.
If, as shown, the maximum interval of time between switchings of the switches is greater than the stabilizabon time of oscillator 2, a dock signal with pseudo-random frequency jumps is obtained.
Conversely, if the maximum interval of time between switchings of the switches is shorter than the oscillator stabilizabon time, a pseudo-random digital signal which, when exploited at a fixed frequency by a downstream circuit (not shown), forms a pseudo-random digital data signal, is obtained.
A disadvantage is that the control of switches Ki performed by microcontroller 4 utilizes a control algorithm to control a determined number of bias sources. Such an algorithm is necessarily deterministic, which adversely affects the random character of the generated digital flow.
An embodiment of the present invention is a generator of a pseudo-random digital flow which overcomes all or some of the disadvantages of known oscillators.
An embodiment of the present invention more specifically is a solution based on a controllable-bias amplifier.
Another embodiment of the present invention is a digital data generator based on such an oscillator which overcomes all or part of the disadvantages of known generators.
Another embodiment of the present invention makes the generated flow independent from discrete values of different current sources.
An embodiment of the present invention provides a generator of a pseudo-random digital flow comprising a controllable-bias oscillator, comprising an analog bias source controlled by a signal with continuous amplitude and time variations.
According to an embodiment of the present invention, said bias source is controlled by a circuit for sampling/holding a periodic signal with more than two amplitude levels, the sampling times being set by a threshold detector of a pseudo-random signal source.
According to an embodiment of the present invention, the periodic signal is provided by a triangular generator.
According to an embodiment of the present invention, the amplitude range of the bias source is set by the amplitude of the triangular signal.
According to an embodiment of the present invention, said source of a pseudo-random signal is a chaotic oscillator, preferably with several scroll attractors.
According to an embodiment of the present invention, the range of the time variations of the biasing of the controllable-bias oscillator is set by the range of possible intervals between the jumps from one scroll attractor to another of the chaotic oscillator.
According to an embodiment of the present invention, the maximum value of the range of time variations of the biasing of the controllable-bias oscillator is selected to be smaller than the stabilizabon time of this oscillator, to obtain a generator of pseudo-random digital data.
According to an embodiment of the present invention, the minimum value of the range of time variations of the biasing of the controllable-bias oscillator is selected to be greater than the stabilizabon time of this oscillator to obtain a clock signal generator with pseudo-random frequency jumps.
Another embodiment of the present invention is a method for controlling a generator of a pseudo-random digital flow, comprising the control of the biasing of the biasable oscillator by means of a stepped signal where the duration of the steps varies in pseudo-random continuous fashion within a given interval and where the amplitude of the steps also varies in pseudo-random and continuous fashion within a given interval.
Features and advantages of embodiments of the present invention will be discussed in detail in the following non-limitng description of specific embodiments in connection with the accompanying drawings.
Same elements have been designated with same reference numerals in the different drawings. For clarity, only those elements which are useful to the understanding of embodiments of the present invention have been shown in the drawings and will be described hereafter. In particular, what exploitabon is made of a pseudo-random digital signal generated by an oscillator according to an embodiment of the present invention has not been detailed, such a signal the present invention being compatible with any conventonal exploitabon of a pseudo-random flow.
A feature of an embodiment of the present inventon is to replace the current sources digitally controlled to bias an oscillator with a current source controllable by a pseudo-random analog signal.
Another feature of an embodiment of the present inventon is to control this current source to obtain a bias current with continuous amplitude and time variabons.
Preferably, the control signal of the current source is made equiprobable.
According to this embodiment of the present invention, signal CTRL is a stepped signal likely to vary, not only in amplitude, but also in switching frequency. Time width T of the different steps varies in pseudo-random fashion over a continuous limited interval and amplitude A of these steps also varies in pseudo-random fashion over a continuous limited interval. As a result, the output signal of oscillator 2 exhibits frequency jumps occurring at pseudo-random times, between frequency values which are themselves pseudo-random.
With a maximum value of the intervals between frequency jumps (and thus a selected frequency variation range) smaller than or equal to the oscillator stabilization time, output signal Vout can be sampled at fixed frequency to obtain a pseudo-random digital data flow.
With a minimum value of the intervals between frequency jumps greater than the oscillator stabilization time, signal Vout forms a clock signal with pseudo-random frequency jumps.
In this example, the circuit for generating control signal CTRL comprises a pseudo-random signal source 61 (RNG), a detector 62 of one or several thresholds (TH-DET), a sample-and-hold circuit 63 (SAMP-HOLD), an analog signal generator 64 (S-OSC), a voltage-to-current converter 65 (U→I), for example, a MOS transistor of a transconductance amplifier (OTA), and a source 5 of a constant current /0. Source 5 sets the average frequency of oscillator 2. The variation of bias current /pol of oscillator 2 is obtained by varying current /mod provided by element 65, which adds to fixed current /0.
Output S61 of pseudo-random source 61 is connected to the input of threshold detector 62. As a result, each crossing of a threshold by pseudo-random signal S61 translates as a state switching at output S62 of detector 62. Preferably, the threshold detector detects the crossings of a same threshold (or of several thresholds) in both directions by signal S61. Output S62 switches from an inactive state to an active state for a short time on each crossing of this threshold. Signal S62 controls sample-and-hold circuit 63 having its input connected to output S64 of analog signal generator 64. Output S63 of the sample-and-hold circuit provides a voltage Vmod to converter 65, the output S65 of which provides modulation current /mod.
Functionally, the output of generator 64 is sampled at pseudo-random times by sample-and-hold circuit 63 each time the output signal of source 61 crosses the threshold set by detector 62.
According to an embodiment of the present inventon, generator 61 is a chaotic oscillator. The signals generated by this type of oscillator have the advantage of being pseudo-random and very sensitive to variatons in the initial conditions (butterfly effect). The initial conditions are set by physical parameters sensitive to the operation conditions, and especially to temperature. Sequences different from one another are then obtained. An oscillator with two scroll attractors where the passing from one scroll to another is performed in unanticipated fashion according to the initial conditions may be used. The intrinsic defects of the oscillator (phase jitter, thermal noise, etc.) also take part in the increasing of the entropy of the generated digital flow.
The circuit of
“Construction of C1asses of Circuit-Independent Chaotic Oscillators Using Passive-Only Nonlinear Devices” by Ahmed S. Elwakil and Michael Peter Kennedy, published in March 2001 in IEEE Transactions on Circuits and Systems-I: Fundamental Theory and Applications, vol. 48, N° 3 (pages 289-307);
“MOS Realization of the Double-Scroll-Like Chaotic Equation”, by Ahmed G. Radwan, Ahmed M. Soliman, and Abdel-Latif EI-Sedeek, published in February 2003 in IEEE Transactions on Circuits and Systems-I: Fundamental Theory and Applications, vol. 50, N° 2 (pages 285-288); and
“Design and Analysis of Multiscroll Chaotic Attractors From Saturated Function Series” by Jinhu Lü, Guanrong Chen, Xinghuo Yu, and Henry Leung, published in December 2004 in IEEE Transactions on Circuits and Systems-l: Fundamental Theory and Applications, vol. 51, N° 12 (pages 2476-2490).
The number of thresholds detected by circuit 62 depends on the number of scroll attractors of the chaotic oscillator 61. In the case of an oscillator with two scroll attractors, a single threshold equal to approximately half the maximum voltage amplitude of signal S61 will be detected.
As a variation, the chaotic oscillator may be replaced with a microprocessor provided with a pseudo-random digital algorithm of generation of a signal intended for threshold detector 62.
According to an embodiment of the present invention, analog signal generator 64 is a triangular signal generator which has the advantage of bringing an equiprobable character to the sampling times of circuit 63. The forming of a triangular signal generator is within the abilities of those skilled in the art. As a variation, generator 64 provides any periodic signal (for example, a sinusoidal or stepped signal), with more than two amplitude levels to exclude a rectangular signal (pulse train), which may destroy the pseudo-random character of the sampling.
Signal S64 is provided by analog generator 64 to the sample-and-hold circuit. Output signal S63 of the sample-and-hold circuit is averaged at the input of converter 65, which converts into current the intervals with respect to the detected average value. Converter 65 is, for example, an operational transconductance amplifier (OTA) used in a range of linear variation of the transconductance gain.
In this example, a threshold of detector 62 at a 900-millivolt level on a 1.8-volt amplitude range of signal S61 is assumed. Each time signal S61 crosses the threshold, be it in one direction or another, detector 62 provides an edge on its output S62.
Such edges are used to sample triangular signal S64. At output S63 of the sample-and-hold circuit, a stepped signal Vmod having not only its amplitude varying continuously within the range of possible voltages (here, of approximately 600 millivolts to 1.2 volts) set by the amplitude of signal S64, but also its duration varying continuously within the range of possible values (here, from approximately 25 to 2000 nanoseconds) is obtained. This range of durations is set by the range of possible intervals between jumps from one scroll attractor to the other of the chaotic oscillator (values of capacitors C1, C3, and C7 and the transconductance of the CMOS transistors of
Bias current /pol of oscillator 2 is directly linked to stepped signal /mod (S65). Since this signal is pseudo-random with a continuous time and amplitude variation, the same holds true for the biasing of oscillator 2. Thus, output signal Vout provided by the oscillator exhibits an equiprobable pseudo-random character. A pseudo-random digital data flow (not shown) is then obtained, with an average value of the time intervals smaller than the oscillator stabilizabon time.
In the case of an average value of the intervals between frequency jumps greater than the oscillator stabilizabon time, its output transits in quasi-random fashion between steady pseudo-random states. A dock signal that may be used to dock a digital system (for example, a cryptographic system) to mask these current signatures is then obtained.
An electronic system such as a computer system may include the circuit of
Of course, the present invention is likely to have various alterations, improvements, and modificabons which will readily occur to those skilled in the art. In particular, the practical forming of the circuits forming a generator according to an embodiment of the present invention is within the abilities of those skilled in the art based on the functonli indications given hereabove, using circuits known per se. Further, the selection of the frequencies of the dfferent signals to obtain the pseudo-random digital flow according to the application is also within the abilities of those skilled in the art.
Such alterations, modificabons, and improvements are intended to be part of this disclosure, and are intended to be within the spirit and the scope of the present invention. Accordingly, the foregoing description is by way of example only and is not intended to be limiting.
Number | Date | Country | Kind |
---|---|---|---|
05/51377 | May 2005 | FR | national |