diff options
| author | jsing <> | 2025-08-14 14:55:43 +0000 |
|---|---|---|
| committer | jsing <> | 2025-08-14 14:55:43 +0000 |
| commit | 3d3d845569e98c5b0f11899e4958cca728c8b99a (patch) | |
| tree | a341bde2bee149d6abd69978567dd1198a091e3d /src/lib/libssl/bs_ber.c | |
| parent | a3eb15e012fb4bb74bd6789fdb9318e71bb32d97 (diff) | |
| download | openbsd-3d3d845569e98c5b0f11899e4958cca728c8b99a.tar.gz openbsd-3d3d845569e98c5b0f11899e4958cca728c8b99a.tar.bz2 openbsd-3d3d845569e98c5b0f11899e4958cca728c8b99a.zip | |
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@
Diffstat (limited to 'src/lib/libssl/bs_ber.c')
0 files changed, 0 insertions, 0 deletions
