CVSROOT: /cvs Module name: src Changes by: js...@cvs.openbsd.org 2025/04/23 08:12:38
Modified files: lib/libcrypto/modes: gcm128.c Log message: 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@