Add Common shared code needed to move aes ciphers to providers
authorShane Lontis <shane.lontis@oracle.com>
Mon, 15 Jul 2019 23:46:14 +0000 (09:46 +1000)
committerShane Lontis <shane.lontis@oracle.com>
Mon, 15 Jul 2019 23:46:14 +0000 (09:46 +1000)
commit459b15d451194ee90834ea58bfb8c91479e9ef9b
tree89aee6711deb4b8523865674562cee52522fbfe7
parent0d03acea7aa45e94903fb12186ed6cc324eb1b03
Add Common shared code needed to move aes ciphers to providers

Custom aes ciphers will be placed into multiple new files
(instead of the monolithic setup used in the e_aes.c legacy code)
so it makes sense to have a header for the platform specific
code that needs to be shared between files.
modes_lcl.h has also moved to modes_int.h to allow sharing with the
provider source.
Code that will be common to AEAD ciphers has also been added. These
will be used by seperate PR's for GCM, CCM & OCB.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9301)
28 files changed:
crypto/evp/e_aes.c
crypto/evp/e_aes_cbc_hmac_sha1.c
crypto/evp/e_aes_cbc_hmac_sha256.c
crypto/evp/e_aria.c
crypto/evp/e_camellia.c
crypto/evp/evp_enc.c
crypto/evp/evp_lib.c
crypto/evp/evp_locl.h
crypto/evp/evp_utils.c
crypto/include/internal/aes_platform.h [new file with mode: 0644]
crypto/include/internal/modes_int.h
crypto/include/internal/siv_int.h [new file with mode: 0644]
crypto/modes/cbc128.c
crypto/modes/ccm128.c
crypto/modes/cfb128.c
crypto/modes/ctr128.c
crypto/modes/cts128.c
crypto/modes/gcm128.c
crypto/modes/modes_lcl.h [deleted file]
crypto/modes/ocb128.c
crypto/modes/ofb128.c
crypto/modes/siv128.c
crypto/modes/xts128.c
include/openssl/core_names.h
include/openssl/core_numbers.h
providers/common/ciphers/aes_basic.c
test/build.info
test/modes_internal_test.c