# git rev-parse -q --verify 9f6035af06b526e678808d492fc0830aef6cfbd8^{commit} # git fetch -q -n -f git://fs.ozlabs.ibm.com/kernel/crypto master # git rev-parse -q --verify 9f6035af06b526e678808d492fc0830aef6cfbd8^{commit} 9f6035af06b526e678808d492fc0830aef6cfbd8 # git checkout -q -f -B kisskb 9f6035af06b526e678808d492fc0830aef6cfbd8 # git clean -qxdf # < git log -1 # commit 9f6035af06b526e678808d492fc0830aef6cfbd8 # Author: Nathan Huckleberry # Date: Tue Oct 18 16:04:12 2022 -0700 # # crypto: x86/polyval - Fix crashes when keys are not 16-byte aligned # # crypto_tfm::__crt_ctx is not guaranteed to be 16-byte aligned on x86-64. # This causes crashes due to movaps instructions in clmul_polyval_update. # # Add logic to align polyval_tfm_ctx to 16 bytes. # # Cc: # Fixes: 34f7f6c30112 ("crypto: x86/polyval - Add PCLMULQDQ accelerated implementation of POLYVAL") # Reported-by: Bruno Goncalves # Signed-off-by: Nathan Huckleberry # Reviewed-by: Eric Biggers # Signed-off-by: Herbert Xu # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 9f6035af06b526e678808d492fc0830aef6cfbd8 # < make -s -j 160 ARCH=powerpc O=/kisskb/build/crypto_powernv_defconfig+NO_PERF_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- powernv_defconfig # Added to kconfig CONFIG_PERF_EVENTS=n # < make -s -j 160 ARCH=powerpc O=/kisskb/build/crypto_powernv_defconfig+NO_PERF_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 160 ARCH=powerpc O=/kisskb/build/crypto_powernv_defconfig+NO_PERF_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 160 ARCH=powerpc O=/kisskb/build/crypto_powernv_defconfig+NO_PERF_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- Completed OK # rm -rf /kisskb/build/crypto_powernv_defconfig+NO_PERF_powerpc-gcc5 # Build took: 0:01:31.985235