summaryrefslogtreecommitdiffstats
path: root/crypto/modes/xts128.c
diff options
context:
space:
mode:
authorShane Lontis <shane.lontis@oracle.com>2019-07-16 01:46:14 +0200
committerShane Lontis <shane.lontis@oracle.com>2019-07-16 01:46:14 +0200
commit459b15d451194ee90834ea58bfb8c91479e9ef9b (patch)
tree89aee6711deb4b8523865674562cee52522fbfe7 /crypto/modes/xts128.c
parentremove end of line whitespace (diff)
downloadopenssl-459b15d451194ee90834ea58bfb8c91479e9ef9b.tar.xz
openssl-459b15d451194ee90834ea58bfb8c91479e9ef9b.zip
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/xts128.c')
-rw-r--r--crypto/modes/xts128.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/modes/xts128.c b/crypto/modes/xts128.c
index 6c17fdc58f..03b83aa0ed 100644
--- a/crypto/modes/xts128.c
+++ b/crypto/modes/xts128.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"
int CRYPTO_xts128_encrypt(const XTS128_CONTEXT *ctx,
const unsigned char iv[16],