Minor textual changes.
This commit is contained in:
parent
e5cbb260cd
commit
e92ed9ea54
|
@ -16,7 +16,7 @@ These PRNGs are a good alternative to linear feedback shift registers (LFSR).
|
||||||
Although LFSRs are commonly used, their output exhibits strong correlations.
|
Although LFSRs are commonly used, their output exhibits strong correlations.
|
||||||
Furthermore, correctly generating multi-bit random words with LFSRs is tricky.
|
Furthermore, correctly generating multi-bit random words with LFSRs is tricky.
|
||||||
|
|
||||||
NOTE: This library is not suitable for cryptographic applications
|
NOTE: This library is not designed for cryptographic applications
|
||||||
(such as generating passwords, encryption keys).
|
(such as generating passwords, encryption keys).
|
||||||
Most of the RNGs in this library are cryptographically weak.
|
Most of the RNGs in this library are cryptographically weak.
|
||||||
|
|
||||||
|
@ -105,7 +105,7 @@ This RNG passes all known statistical tests. However, little is known
|
||||||
about its period. The period depends on the seed value, and is believed
|
about its period. The period depends on the seed value, and is believed
|
||||||
to be long (at least 2**80) for the vast majority of seed choices.
|
to be long (at least 2**80) for the vast majority of seed choices.
|
||||||
|
|
||||||
After reset and after each reseeding, the RNG needs to process 1152 bits
|
After reset and after each reseeding, the RNG must process 1152 bits
|
||||||
to initialize its state. This takes up to 1152 clock cycles, depending
|
to initialize its state. This takes up to 1152 clock cycles, depending
|
||||||
on the configured number of bits per cycle. The RNG can not provide random
|
on the configured number of bits per cycle. The RNG can not provide random
|
||||||
data during this time.
|
data during this time.
|
||||||
|
|
|
@ -28,6 +28,8 @@ architecture arch of tb_trivium is
|
||||||
|
|
||||||
type test_vectors is array (natural range <>) of test_vector;
|
type test_vectors is array (natural range <>) of test_vector;
|
||||||
|
|
||||||
|
-- This is a small subset of the test vectors from
|
||||||
|
-- the ECRYPT stream cipher project.
|
||||||
constant testvec: test_vectors(0 to 4) := (
|
constant testvec: test_vectors(0 to 4) := (
|
||||||
0 => ( key => x"0053A6F94C9FF24598EB",
|
0 => ( key => x"0053A6F94C9FF24598EB",
|
||||||
iv => x"0D74DB42A91077DE45AC",
|
iv => x"0D74DB42A91077DE45AC",
|
||||||
|
|
Loading…
Reference in New Issue