summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/labs.c
diff options
context:
space:
mode:
authorjsing <>2023-05-16 07:04:57 +0000
committerjsing <>2023-05-16 07:04:57 +0000
commit1b444f75a951b233b38acfea196d180bbb134432 (patch)
tree102080b2fe0c0a04e2a92d62b81970545817878f /src/lib/libc/stdlib/labs.c
parentee5cbc8399111947d47e4ab91f70578811219481 (diff)
downloadopenbsd-1b444f75a951b233b38acfea196d180bbb134432.tar.gz
openbsd-1b444f75a951b233b38acfea196d180bbb134432.tar.bz2
openbsd-1b444f75a951b233b38acfea196d180bbb134432.zip
Clean up SHA-512 input handling and round macros.
Avoid reach around and initialisation outside of the macro, cleaning up the call sites to remove the initialisation. Use a T2 variable to more closely follow the documented algorithm and remove the gorgeous compound statement X = Y += A + B + C. There is no change to the clang generated assembly on aarch64. ok tb@
Diffstat (limited to 'src/lib/libc/stdlib/labs.c')
0 files changed, 0 insertions, 0 deletions