]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: sha1_generic - add cra_priority
authorEric Biggers <ebiggers@google.com>
Sat, 30 Jun 2018 00:01:41 +0000 (17:01 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sun, 8 Jul 2018 16:30:20 +0000 (00:30 +0800)
commitdb0eec0e5b13655d435e7db00dac9b56f8deb3da
treee084df65c846f87dfff951d9a8c56d69508aaf39
parenta74996bd6702fadd6e8a24bb93852c600e7938ba
crypto: sha1_generic - add cra_priority

sha1-generic had a cra_priority of 0, so it wasn't possible to have a
lower priority SHA-1 implementation, as is desired for sha1_mb which is
only useful under certain workloads and is otherwise extremely slow.
Change it to priority 100, which is the priority used for many of the
other generic algorithms.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/sha1_generic.c