crypto: x86/poly1305 - unify Poly1305 state struct with generic code
authorArd Biesheuvel <ardb@kernel.org>
Fri, 8 Nov 2019 12:22:20 +0000 (13:22 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sun, 17 Nov 2019 01:02:41 +0000 (09:02 +0800)
commitad8f5b88383ea685f2b8df2a12ee3e08089a1287
tree99ffdc85bc2f6ed40a976a6896b02b95b2dbe181
parent48ea8c6ebc96bc0990e12ee1c43d0832c23576bb
crypto: x86/poly1305 - unify Poly1305 state struct with generic code

In preparation of exposing a Poly1305 library interface directly from
the accelerated x86 driver, align the state descriptor of the x86 code
with the one used by the generic driver. This is needed to make the
library interface unified between all implementations.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/x86/crypto/poly1305_glue.c
crypto/poly1305_generic.c
include/crypto/internal/poly1305.h
include/crypto/poly1305.h