CVSROOT: /cvs Module name: src Changes by: js...@cvs.openbsd.org 2025/08/14 08:55:43
Modified files: lib/libcrypto/rc4: rc4.c Log message: Clean up parts of rc4. Provide a static inline rc4_step() function that replaces the near identical RC4_STEP and RC4_LOOP macros. Simplify the processing loop and use for loops with small constants, which the compiler can unroll if it wants to do so. Inline the SK_LOOP macro in rc4_set_key_internal(), also using a small loop that the compiler will most likely unroll. ok tb@