summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/strerror_r.c
diff options
context:
space:
mode:
authorjsing <>2024-03-27 08:24:13 +0000
committerjsing <>2024-03-27 08:24:13 +0000
commit721d0a31336b93c6ffed91fb1b1395ca8653afc7 (patch)
treed2d10a0d0b90a02caab0f6dcd2d81c8eac19605a /src/lib/libc/string/strerror_r.c
parent8bc0ca2dfb60ec9a449cb6928302c3ebd41d1abb (diff)
downloadopenbsd-721d0a31336b93c6ffed91fb1b1395ca8653afc7.tar.gz
openbsd-721d0a31336b93c6ffed91fb1b1395ca8653afc7.tar.bz2
openbsd-721d0a31336b93c6ffed91fb1b1395ca8653afc7.zip
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.
Diffstat (limited to 'src/lib/libc/string/strerror_r.c')
0 files changed, 0 insertions, 0 deletions