Skip to contentSkip to conversation

crypto: fix compile errors of XTS

PATCH Applied Stephan Mueller 2 participants 2 messages Feb 17, 2016

Subsystems (7)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 crypto: fix compile errors of XTS

Commit 28856a9e52c7 missed the addition of the crypto/xts.h include file for different architecture-specific AES implementations.

---
 arch/arm/crypto/aes-ce-glue.c      | 1 +
 arch/arm/crypto/aesbs-glue.c       | 1 +
 arch/arm64/crypto/aes-glue.c       | 1 +
 arch/powerpc/crypto/aes-spe-glue.c | 1 +
 arch/s390/crypto/aes_s390.c        | 1 +
 5 files changed, 5 insertions(+)
arch/arm/crypto/aes-ce-glue.c +1 -0
index 85ff69b..b6961a2 100644
@@ -15,6 +15,7 @@
 #include <crypto/ablk_helper.h>
 #include <crypto/algapi.h>
 #include <linux/module.h>
+#include <crypto/xts.h>
 
 MODULE_DESCRIPTION("AES-ECB/CBC/CTR/XTS using ARMv8 Crypto Extensions");
 MODULE_AUTHOR("Ard Biesheuvel <[email protected]>");
arch/arm/crypto/aesbs-glue.c +1 -0
index d004bd1..0511a6c 100644
@@ -13,6 +13,7 @@
 #include <crypto/ablk_helper.h>
 #include <crypto/algapi.h>
 #include <linux/module.h>
+#include <crypto/xts.h>
 
 #include "aes_glue.h"
 
arch/arm64/crypto/aes-glue.c +1 -0
index c963d75..897ad14 100644
@@ -15,6 +15,7 @@
 #include <crypto/algapi.h>
 #include <linux/module.h>
 #include <linux/cpufeature.h>
+#include <crypto/xts.h>
 
 #include "aes-ce-setkey.h"
 
arch/powerpc/crypto/aes-spe-glue.c +1 -0
index 1608079..ab11319 100644
@@ -22,6 +22,7 @@
 #include <asm/byteorder.h>
 #include <asm/switch_to.h>
 #include <crypto/algapi.h>
+#include <crypto/xts.h>
 
 /*
  * MAX_BYTES defines the number of bytes that are allowed to be processed
arch/s390/crypto/aes_s390.c +1 -0
index 3f1a1a4..48e1a2d 100644
@@ -27,6 +27,7 @@
 #include <linux/cpufeature.h>
 #include <linux/init.h>
 #include <linux/spinlock.h>
+#include <crypto/xts.h>
 #include "crypt_s390.h"
 
 #define AES_KEYLEN_128		1
Signature · 1 line
2.5.0
maintainer Applied
#1 lore raw
Quoted 4 lines · Stephan Mueller

Commit 28856a9e52c7 missed the addition of the crypto/xts.h include file for different architecture-specific AES implementations.

Applied.

Signature · 3 lines
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt