summaryrefslogtreecommitdiffstats
path: root/regress/usr.bin/ssh/unittests/sshkey
diff options
context:
space:
mode:
authorpatrick <patrick@openbsd.org>2019-10-31 22:28:26 +0000
committerpatrick <patrick@openbsd.org>2019-10-31 22:28:26 +0000
commitd89a8ed247a5ffefdd2701e126f867ef18689723 (patch)
tree5a62fb9b5b2ec745eab396ab77197285da703603 /regress/usr.bin/ssh/unittests/sshkey
parentundo debugging bits that shouldn't have been committed (diff)
downloadwireguard-openbsd-d89a8ed247a5ffefdd2701e126f867ef18689723.tar.xz
wireguard-openbsd-d89a8ed247a5ffefdd2701e126f867ef18689723.zip
In 2013, when OpenBSD/armv7 was still rather early, improvements for
that platform have been trickling in bit by bit. One of those changes unfortunately introduced a regression in cache flushes. The check for the length in the cache-flush-loop was changed from the instruction bpl to bhi. This has the effect that it does not branch on zero anymore. Due to the length decrement at the beginning of the function, which was not removed, a length of (n * cacheline) + 1 means that the loop misses one run! This means it is possible that the last byte of a DMA transfer was incorrect, as one could see on network packets often enough. Remove that instruction, which makes it even more similar to the OpenBSD/arm64 code. ok deraadt@
Diffstat (limited to 'regress/usr.bin/ssh/unittests/sshkey')
0 files changed, 0 insertions, 0 deletions