Eric Biggers 85b84327b3 crypto: ahash - check for shash type instead of not ahash type
Since the previous patch made crypto_shash_type visible to ahash.c,
change checks for '->cra_type != &crypto_ahash_type' to '->cra_type ==
&crypto_shash_type'.  This makes more sense and avoids having to
forward-declare crypto_ahash_type.  The result is still the same, since
the type is either shash or ahash here.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2023-10-27 18:04:29 +08:00
..
2023-09-20 13:15:29 +08:00
2022-03-03 10:49:20 +12:00
2021-03-26 19:55:55 +11:00
2023-02-14 13:39:33 +08:00
2023-06-27 15:40:24 +08:00
2023-09-20 13:15:29 +08:00
2020-02-28 08:43:21 +08:00
2023-02-14 13:39:33 +08:00
2022-12-02 18:12:40 +08:00
2022-04-08 16:12:46 +08:00
2022-12-02 18:12:40 +08:00
2023-10-20 13:39:26 +08:00
2023-10-27 18:04:24 +08:00
2022-06-10 16:40:16 +08:00
2021-11-08 16:55:21 -08:00