[krbdev.mit.edu #8954] git commit

Greg Hudson via RT rt at krbdev.mit.edu
Sat Oct 17 18:38:44 EDT 2020


<URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=8954 >


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

https://github.com/krb5/krb5/commit/cb5f190056ef4d123c5fe5d4923982b830288438
Author: Greg Hudson <ghudson at mit.edu>
Commit: cb5f190056ef4d123c5fe5d4923982b830288438
Branch: master
 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(-)



More information about the krb5-bugs mailing list