CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2024/03/27 19:49:29
Modified files:
lib/libcrypto/arch/amd64: Makefile.inc
lib/libcrypto/arch/i386: Makefile.inc
lib/libcrypto/rc4: rc4.c
lib/libcrypto/rc4/asm: rc4-586.pl rc4-x86_64.pl
Log message:
Use C functions for RC4 public API.
Rather than having public API switch between C and assembly, always
use C functions as entry points, which then call an assembly
implementation (if available). This makes it significantly easier
to deal with symbol aliasing/namespaces and it also means we
benefit from vulnerability prevention provided by the C compiler.
Rename the assembly generated functions from RC4() to rc4_internal()
and RC4_set_key() to rc4_set_key_internal(). Always include rc4.c
and change it to use defines that are similar to those used in BN.
ok beck@ joshua@ tb@