diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2023-05-20 12:03:03 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2023-05-20 12:03:03 +0000 |
commit | 4e0a1fc48e65af2c30ba175595d7222d74ef1ee1 (patch) | |
tree | 4176c7ddf89ab5785906cdc10411fe139c86937c /usr.bin/infocmp | |
parent | 08f563726411c64235b14f42d5f34d47c1bd2f5f (diff) |
openssl speed: add an '-unaligned n' option
All hashes and ciphers covered by speed should be able to handle unaligned
input and output. The buffers used in openssl speed are well aligned since
they are large, so will never exercise the more problematic unaligned case.
I wished something like this was available on various occasions. It would
have been useful to point more easily at OpenSSL's broken T4 assembly.
Yesterday there were two independent reasons for wanting it, so I sat down
and did it. It's trivial: make the allocations a bit larger and use buffers
starting at an offset inside these allocations. Despite the trivality, I
managed to have a stupid bug. Thanks miod.
discussed with jsing
ok miod
Diffstat (limited to 'usr.bin/infocmp')
0 files changed, 0 insertions, 0 deletions