krb5 commit: Update Gladman AES code
Greg Hudson
ghudson at mit.edu
Sat Oct 17 18:38:37 EDT 2020
https://github.com/krb5/krb5/commit/cb5f190056ef4d123c5fe5d4923982b830288438
commit cb5f190056ef4d123c5fe5d4923982b830288438
Author: Greg Hudson <ghudson at mit.edu>
Date: Sat Oct 10 11:18:12 2020 -0400
Update Gladman AES code
Update lib/crypto/builtin/aes to commit
8798ad829374cd5ff312f55ba3ccccfcf586fa11 of
https://github.com/BrianGladman/aes .
The following changes are made to the upstream code:
* In aes.h, #defines are added to give the linker-visible symbols a
prefix.
* In aes.h, AES_192 is undefined, since we only need AES-128 and
AES-256.
* In aesopt.h, USE_INTEL_AES_IF_PRESENT and USE_VIA_ACE_IF_PRESENT are
suppressed by changing the corresponding "#if 1"s to "#if 0"s.
* In aesopt.h, the conditionals for ENC_UNROLL, DEC_UNROLL, ENC_ROUND,
LAST_ENC_ROUND, DEC_ROUND, LAST_DEC_ROUND, and KEY_SCHED are changed
from "#if 1" to "#if !defined(CONFIG_SMALL) ||
defined(CONFIG_SMALL_NO_CRYPTO)".
bigredbutton: whitespace
ticket: 8954
NOTICE | 31 +-
doc/notice.rst | 29 +-
src/lib/crypto/builtin/aes/Makefile.in | 1 +
src/lib/crypto/builtin/aes/aes-gen.c | 61 +-
src/lib/crypto/builtin/aes/aes.h | 343 ++++++--
src/lib/crypto/builtin/aes/aes.txt | 662 ++++++++++++++--
src/lib/crypto/builtin/aes/aescpp.h | 55 --
src/lib/crypto/builtin/aes/aescrypp.c | 488 -----------
src/lib/crypto/builtin/aes/aescrypt.asm | 402 ---------
src/lib/crypto/builtin/aes/aescrypt.c | 507 +++++-------
src/lib/crypto/builtin/aes/aeskey.c | 753 +++++++++++-------
src/lib/crypto/builtin/aes/aeskeypp.c | 400 ---------
src/lib/crypto/builtin/aes/aesopt.h | 1138 ++++++++++++--------------
src/lib/crypto/builtin/aes/aessrc.url | 1 -
src/lib/crypto/builtin/aes/aestab.c | 445 +++++------
src/lib/crypto/builtin/aes/aestab.h | 173 ++++
src/lib/crypto/builtin/aes/brg_endian.h | 144 ++++
src/lib/crypto/builtin/aes/brg_types.h | 217 +++++
src/lib/crypto/builtin/aes/deps | 12 +-
src/lib/crypto/builtin/aes/kresults.expected | 223 +++++
src/lib/crypto/builtin/enc_provider/aes.c | 92 ++-
src/lib/crypto/krb/crypto_int.h | 6 +-
src/lib/crypto/krb/prng_fortuna.c | 8 +-
src/lib/crypto/libk5crypto.exports | 4 +-
src/lib/crypto/openssl/crypto_mod.h | 6 +-
src/lib/crypto/openssl/stubs.c | 8 +-
26 files changed, 3149 insertions(+), 3060 deletions(-)
Diff larger than 5000 lines; suppressing.
More information about the cvs-krb5
mailing list