]> git.baikalelectronics.ru Git - 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)
commitb19b07d60b243eec405073165f84b748fbbf50f8
tree2de75ce8308407e950a85ac7cfe6503750e5693d
parent05affe83768b716033198a37a8e1b58cccb93529
crypto: x86/poly1305 - add back a needed assignment

One of the assignments that was removed by commit 7d5eed69afa0 ("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: 7d5eed69afa0 ("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