diff options
author | jsing <> | 2025-04-23 14:12:38 +0000 |
---|---|---|
committer | jsing <> | 2025-04-23 14:12:38 +0000 |
commit | 0846d43744d6b6951a96dae0b1276507c34c1d31 (patch) | |
tree | 5c695e71d6556cc4f076675e14bd89b34925fb3e /src/lib/libc | |
parent | 87b4aa4f0c1a819187551854f2557308698dd67f (diff) | |
download | openbsd-0846d43744d6b6951a96dae0b1276507c34c1d31.tar.gz openbsd-0846d43744d6b6951a96dae0b1276507c34c1d31.tar.bz2 openbsd-0846d43744d6b6951a96dae0b1276507c34c1d31.zip |
Rewrite gcm_gmult_1bit() to avoid sizeof(long) hacks.
We're already using 64 bit variables, so just continue to do so and let
the compiler deal with code generation. While here, use unsigned right
shifts instead of relying on signed right shifts and implementation-defined
behaviour (which the original code did).
Feedback from lucas@
ok beck@ tb@
Diffstat (limited to 'src/lib/libc')
0 files changed, 0 insertions, 0 deletions