# git rev-parse -q --verify b4e9e931e9bb2f5b302ce66640832f5a3e57e8c4^{commit} b4e9e931e9bb2f5b302ce66640832f5a3e57e8c4 already have revision, skipping fetch # git checkout -q -f -B kisskb b4e9e931e9bb2f5b302ce66640832f5a3e57e8c4 # git clean -qxdf # < git log -1 # commit b4e9e931e9bb2f5b302ce66640832f5a3e57e8c4 # Author: Iuliana Prodan # Date: Fri Mar 22 14:12:30 2019 +0200 # # crypto: caam - fix copy of next buffer for xcbc and cmac # # Fix a side effect of adding xcbc support, when the next_buffer is not # copied. # The issue occurs, when there is stored from previous state a blocksize # buffer and received, a less than blocksize, from user. In this case, the # nents for req->src is 0, and the next_buffer is not copied. # An example is: # { # .tap = { 17, 15, 8 }, # .psize = 40, # .np = 3, # .ksize = 16, # } # # Fixes: 12b8567f6fa4 ("crypto: caam - add support for xcbc(aes)") # Signed-off-by: Iuliana Prodan # Reviewed-by: Horia Geantă # 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 b4e9e931e9bb2f5b302ce66640832f5a3e57e8c4 # < make -s -j 40 ARCH=x86 O=/kisskb/build/crypto_x86-allmodconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- allmodconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_SAMPLES=n # yes \n | make -s -j 40 ARCH=x86 O=/kisskb/build/crypto_x86-allmodconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- oldconfig yes: standard output: Broken pipe # make -s -j 40 ARCH=x86 O=/kisskb/build/crypto_x86-allmodconfig_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-allmodconfig_x86_64-gcc8 # Build took: 0:11:20.044270