diff options
| author | Havard Skinnemoen <hskinnemoen@google.com> | 2020-11-02 17:14:55 -0800 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2020-11-10 11:03:48 +0000 |
| commit | 8006c9842bf6f52fdcfb1c8f64c9bd714e661301 (patch) | |
| tree | 4f4a322bf4aaca345860b4b02af5d6fd0bbc1321 /qemu-io.c | |
| parent | 0e5dc775736fda574e0df9c4c9a29c92201833fe (diff) | |
| download | focaccia-qemu-8006c9842bf6f52fdcfb1c8f64c9bd714e661301.tar.gz focaccia-qemu-8006c9842bf6f52fdcfb1c8f64c9bd714e661301.zip | |
tests/qtest/npcm7xx_rng-test: count runs properly
The number of runs is equal to the number of 0-1 and 1-0 transitions, plus one. Currently, it's counting the number of times these transitions do _not_ happen, plus one. Source: https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-22r1a.pdf section 2.3.4 point (3). Signed-off-by: Havard Skinnemoen <hskinnemoen@google.com> Message-id: 20201103011457.2959989-2-hskinnemoen@google.com Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'qemu-io.c')
0 files changed, 0 insertions, 0 deletions