Revision 4468e2efc64e3e2f7b45e0928aca14fbc0931a71 authored by Daan Sprenkels on 05 March 2020, 09:23:55 UTC, committed by Daan Sprenkels on 05 March 2020, 09:32:40 UTC
There is an unreported bug present where _wait_for_start will read
garbage from the chip *before* the first '=' char is received.

It occurs when the chip is not synced with the benchmarking
script, and is running an implementation without the benchmarking
script listening.  In this case, there is still data in the serial
buffer from a lost (unsynced) benchmark run.

This commit flushes (i.e. erases) the contents of the serial buffer
before trying to sync to the '=' chars coming from the chip.
1 parent 12f6d39
History
File Mode Size
common
crypto_kem
crypto_sign
pqclean @ 7729c76
.gitignore -rw-r--r-- 1.7 KB
.gitmodules -rw-r--r-- 98 bytes
mupq.py -rw-r--r-- 21.6 KB

back to top