]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit67b8dab45e2943c717ea85c86d43286cca17b91f
tree99ffdc85bc2f6ed40a976a6896b02b95b2dbe181
parentbbe2ae445405c82fb3762ef043761c90dd622c22
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