diff options
author | Shane Lontis <shane.lontis@oracle.com> | 2019-07-16 09:46:14 +1000 |
---|---|---|
committer | Shane Lontis <shane.lontis@oracle.com> | 2019-07-16 09:46:14 +1000 |
commit | 459b15d451194ee90834ea58bfb8c91479e9ef9b (patch) | |
tree | 89aee6711deb4b8523865674562cee52522fbfe7 /crypto/modes/cts128.c | |
parent | 0d03acea7aa45e94903fb12186ed6cc324eb1b03 (diff) |
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)
Diffstat (limited to 'crypto/modes/cts128.c')
-rw-r--r-- | crypto/modes/cts128.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/modes/cts128.c b/crypto/modes/cts128.c index aca4ea877b..b4f2f37775 100644 --- a/crypto/modes/cts128.c +++ b/crypto/modes/cts128.c @@ -7,9 +7,9 @@ * https://www.openssl.org/source/license.html */ -#include <openssl/crypto.h> -#include "modes_lcl.h" #include <string.h> +#include <openssl/crypto.h> +#include "internal/modes_int.h" /* * Trouble with Ciphertext Stealing, CTS, mode is that there is no |