]> git.ipfire.org Git - thirdparty/krb5.git/commit
Update Gladman AES code 1124/head
authorGreg Hudson <ghudson@mit.edu>
Sat, 10 Oct 2020 15:18:12 +0000 (11:18 -0400)
committerGreg Hudson <ghudson@mit.edu>
Sat, 17 Oct 2020 20:25:10 +0000 (16:25 -0400)
commitcb5f190056ef4d123c5fe5d4923982b830288438
tree3ed48b6b5d1f02964291bbbca5e011cddfaab1be
parentad1c56d9b7dc3ce37b50cb3d72ff98513bf84073
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
26 files changed:
NOTICE
doc/notice.rst
src/lib/crypto/builtin/aes/Makefile.in
src/lib/crypto/builtin/aes/aes-gen.c
src/lib/crypto/builtin/aes/aes.h
src/lib/crypto/builtin/aes/aes.txt
src/lib/crypto/builtin/aes/aescpp.h [deleted file]
src/lib/crypto/builtin/aes/aescrypp.c [deleted file]
src/lib/crypto/builtin/aes/aescrypt.asm [deleted file]
src/lib/crypto/builtin/aes/aescrypt.c
src/lib/crypto/builtin/aes/aeskey.c
src/lib/crypto/builtin/aes/aeskeypp.c [deleted file]
src/lib/crypto/builtin/aes/aesopt.h
src/lib/crypto/builtin/aes/aessrc.url [deleted file]
src/lib/crypto/builtin/aes/aestab.c
src/lib/crypto/builtin/aes/aestab.h [new file with mode: 0644]
src/lib/crypto/builtin/aes/brg_endian.h [new file with mode: 0644]
src/lib/crypto/builtin/aes/brg_types.h [new file with mode: 0644]
src/lib/crypto/builtin/aes/deps
src/lib/crypto/builtin/aes/kresults.expected [new file with mode: 0644]
src/lib/crypto/builtin/enc_provider/aes.c
src/lib/crypto/krb/crypto_int.h
src/lib/crypto/krb/prng_fortuna.c
src/lib/crypto/libk5crypto.exports
src/lib/crypto/openssl/crypto_mod.h
src/lib/crypto/openssl/stubs.c