summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/objects/obj_dat.c
diff options
context:
space:
mode:
authortb <>2023-05-20 12:03:02 +0000
committertb <>2023-05-20 12:03:02 +0000
commita875e04ed3014912ab09376e2dfebe7eb86419d5 (patch)
tree11b37b64c3af5d399f11a74b5a3f525d94ceff15 /src/lib/libcrypto/objects/obj_dat.c
parentb8db5bf4eefc4e9aa767b9762b52e773c1fdaccd (diff)
downloadopenbsd-a875e04ed3014912ab09376e2dfebe7eb86419d5.tar.gz
openbsd-a875e04ed3014912ab09376e2dfebe7eb86419d5.tar.bz2
openbsd-a875e04ed3014912ab09376e2dfebe7eb86419d5.zip
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 'src/lib/libcrypto/objects/obj_dat.c')
0 files changed, 0 insertions, 0 deletions