]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
crypto: x86/poly1305 - add back a needed assignment
authorEric Biggers <ebiggers@google.com>
Fri, 23 Oct 2020 22:27:48 +0000 (15:27 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 23 Oct 2020 22:38:32 +0000 (09:38 +1100)
commitc3a98c3ad5c0dc60a1ac66bf91147a3f39cac96b
tree2de75ce8308407e950a85ac7cfe6503750e5693d
parent3093e7c16e12d729c325adb3c53dde7308cefbd8
crypto: x86/poly1305 - add back a needed assignment

One of the assignments that was removed by commit 4a0c1de64bf9 ("crypto:
x86/poly1305 - Remove assignments with no effect") is actually needed,
since it affects the return value.

This fixes the following crypto self-test failure:

    alg: shash: poly1305-simd test failed (wrong result) on test vector 2, cfg="init+update+final aligned buffer"

Fixes: 4a0c1de64bf9 ("crypto: x86/poly1305 - Remove assignments with no effect")
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/x86/crypto/poly1305_glue.c