CVSROOT: /cvs Module name: src Changes by: js...@cvs.openbsd.org 2024/03/27 02:24:13
Modified files: lib/libcrypto/aes: aes_core.c Log message: Remove near duplicate AES_set_{encrypt,decrypt}_key() functions. There are currently three ways in which AES is implemented - all in assembly (amd64 et al), all in C (aarch64 et al) and, half in C and half in assembly (hppa and sparc64). The last of these cases currently makes use of a near duplicate AES_set_{encrypt,decrypt}_key() implementation that avoids using the AES tables. Remove the near duplicate version and if only a half assembly version is implemented, use the same C version of AES_set_{encrypt,decrypt}_key() as everyone else. This adds around 8KB of rodata to libcrypto on these two platforms. Discussed with beck and tb.