diff options
| author | 2023-10-22 01:10:59 -0700 | |
|---|---|---|
| committer | 2023-10-27 18:04:29 +0800 | |
| commit | 85b84327b3f0df32be19e01257fb375972be115c (patch) | |
| tree | df7441abfa69becce07a84876ba7118ec802da82 /include/uapi/linux/android/ssh:/git@git.zx2c4.com | |
| parent | crypto: hash - move "ahash wrapping shash" functions to ahash.c (diff) | |
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>
Diffstat (limited to 'include/uapi/linux/android/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
