# git rev-parse -q --verify e3a606f2c544b231f6079c8c5fea451e772e1139^{commit} e3a606f2c544b231f6079c8c5fea451e772e1139 already have revision, skipping fetch # git checkout -q -f -B kisskb e3a606f2c544b231f6079c8c5fea451e772e1139 # git clean -qxdf # < git log -1 # commit e3a606f2c544b231f6079c8c5fea451e772e1139 # Author: Ard Biesheuvel # Date: Wed Apr 21 09:55:11 2021 +0200 # # fsverity: relax build time dependency on CRYPTO_SHA256 # # CONFIG_CRYPTO_SHA256 denotes the generic C implementation of the SHA-256 # shash algorithm, which is selected as the default crypto shash provider # for fsverity. However, fsverity has no strict link time dependency, and # the same shash could be exposed by an optimized implementation, and arm64 # has a number of those (scalar, NEON-based and one based on special crypto # instructions). In such cases, it makes little sense to require that the # generic C implementation is incorporated as well, given that it will never # be called. # # To address this, relax the 'select' clause to 'imply' so that the generic # driver can be omitted from the build if desired. # # Acked-by: Eric Biggers # Signed-off-by: Ard Biesheuvel # Signed-off-by: Herbert Xu # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 e3a606f2c544b231f6079c8c5fea451e772e1139 # < make -s -j 120 ARCH=x86_64 O=/kisskb/build/crypto_x86_64-allnoconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- allnoconfig # < make -s -j 120 ARCH=x86_64 O=/kisskb/build/crypto_x86_64-allnoconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- help # make -s -j 120 ARCH=x86_64 O=/kisskb/build/crypto_x86_64-allnoconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- olddefconfig # make -s -j 120 ARCH=x86_64 O=/kisskb/build/crypto_x86_64-allnoconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- Completed OK # rm -rf /kisskb/build/crypto_x86_64-allnoconfig_x86_64-gcc8 # Build took: 0:00:19.821221