crypto: sparc - rename sha256 to sha256_alg
authorEric Biggers <ebiggers@google.com>
Wed, 8 Jul 2020 16:39:39 +0000 (09:39 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 16 Jul 2020 11:49:04 +0000 (21:49 +1000)
commit6e8f972fc3fb03797abb88feee6704dccada93f6
treebb72c88bc85931c4aa2de72709e1869ae1a6d146
parente79a31715193686e92dadb4caedfbb1f5de3659c
crypto: sparc - rename sha256 to sha256_alg

To avoid a naming collision when we add a sha256() library function,
rename the "sha256" static variable in sha256_glue.c to "sha256_alg".
For consistency, also rename "sha224" to "sha224_alg".

Reported-by: kernel test robot <lkp@intel.com>
Cc: sparclinux@vger.kernel.org
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/sparc/crypto/sha256_glue.c