*/linux-*: enable CONFIG_CRYPTO_XTS (MR 1405)

Enable CONFIG_CRYPTO_XTS for each kernel, so we can switch to using
aes-xts-plain64 as default cipher for cryptsetup (override with
"pmbootstrap --cipher"), instead of aes-cbc-plain64 (pmbootstrap#1940).

I have executed "pmbootstrap kconfig edit" on each kernel, and manually
toggled the option. The diff is not always clean, because for some
kernels it is apparently the first time, that menuconfig was executed on
the configs like that. In a few instances, it turned out that
CONFIG_ANDROID_PARANOID_NETWORK needed to be disabled too (this is
already a requirement, but as the config was incomplete, it was not
visible that this option was enabled). Very few times, I had to enable
CONFIG_EXPERIMENTAL in order to see and enable CONFIG_CRYPTO_XTS.

It would be great if we could automate such mass kconfig edits in the
future, see pmbootstrap#1942.

[skip ci]: I have verified, that every single one of these kernels builds.
           CI will likely run out of time while downloading source tarballs.
This commit is contained in:
Oliver Smith 2020-07-11 15:24:19 +02:00
parent 2a8897b079
commit 0cfcc52e0d
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
260 changed files with 7493 additions and 1509 deletions

View file

@ -13,7 +13,7 @@ _kernver=${pkgver%_rc*}
_mainver=${_kernver%.*}
_patchlevel=${_kernver/$_mainver./}
_basever=$_mainver.$((_patchlevel-1))
pkgrel=0
pkgrel=1
arch="aarch64"
pkgdesc="Google Pixel 3 XL mainline kernel; only USB networking works, nothing else"
@ -160,4 +160,4 @@ dev() {
"$subpkgdir"/lib/modules/$_abi_release/build
}
sha512sums="1ce235689d7ce0b40be203cb16c1bdfe9bc7b2c5e793a942afc5ea4f3268a0a15b684d9c4017a87916d989d8592a96a4223976c95bf7fcca603e71d2f20fee86 linux-google-crosshatch-mainline-9c9b87cec239101274451cc9c086da60108f9fda.tar.gz
6fc2984314332669176efb46cb336b56e164892db0a405e31924e1ad88c4379434813ef31b9e914825f8f01ca1caec9f5427f945f0d3ef226f96c15ba1d18ff5 config-google-crosshatch-mainline.aarch64"
e33913137709c3192458fc95f23580e1659b4714bb4031bc2c354c4db790e455df84c104cdb85078d3dc7c3a456f8891f285f4ae480e7751ebfce283346b2924 config-google-crosshatch-mainline.aarch64"

View file

@ -4,10 +4,10 @@
#
#
# Compiler: gcc (Alpine 8.3.0) 8.3.0
# Compiler: gcc (Alpine 9.3.0) 9.3.0
#
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=80300
CONFIG_GCC_VERSION=90300
CONFIG_CLANG_VERSION=0
CONFIG_CC_CAN_LINK=y
CONFIG_CC_HAS_ASM_GOTO=y
@ -7187,11 +7187,11 @@ CONFIG_CRYPTO_CBC=y
# CONFIG_CRYPTO_CFB is not set
CONFIG_CRYPTO_CTR=m
# CONFIG_CRYPTO_CTS is not set
CONFIG_CRYPTO_ECB=m
CONFIG_CRYPTO_ECB=y
# CONFIG_CRYPTO_LRW is not set
# CONFIG_CRYPTO_OFB is not set
# CONFIG_CRYPTO_PCBC is not set
# CONFIG_CRYPTO_XTS is not set
CONFIG_CRYPTO_XTS=y
# CONFIG_CRYPTO_KEYWRAP is not set
# CONFIG_CRYPTO_ADIANTUM is not set