crypto: arm64/sha512-ce - clean up backwards function names
authorEric Biggers <ebiggers@google.com>
Tue, 10 Oct 2023 06:41:25 +0000 (23:41 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 20 Oct 2023 05:39:25 +0000 (13:39 +0800)
commit5f720a3df346548db69fe3bc0bef44a16eda4513
treeba9538e35d96e35e63167d8ac9fdeed53568c851
parentba30d31121fe6fad34b0e7018f848b5d11b359dd
crypto: arm64/sha512-ce - clean up backwards function names

In the Linux kernel, a function whose name has two leading underscores
is conventionally called by the same-named function without leading
underscores -- not the other way around.  __sha512_ce_transform() and
__sha512_block_data_order() got this backwards.  Fix this, albeit
without changing "sha512_block_data_order" in the perlasm since that is
OpenSSL code.  No change in behavior.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/arm64/crypto/sha512-ce-core.S
arch/arm64/crypto/sha512-ce-glue.c