Eric Biggers 2b091e32a2 crypto: shash - remove pointless checks of shash_alg::{export,import}
crypto_init_shash_ops_async() only gives the ahash tfm non-NULL
->export() and ->import() if the underlying shash alg has these
non-NULL.  This doesn't make sense because when an shash algorithm is
registered, shash_prepare_alg() sets a default ->export() and ->import()
if the implementor didn't provide them.  And elsewhere it's assumed that
all shash algs and ahash tfms have non-NULL ->export() and ->import().

Therefore, remove these unnecessary, always-true conditions.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2019-01-18 18:40:24 +08:00
..
2018-06-18 20:17:38 +05:30
2018-10-23 10:57:06 -07:00
2018-09-04 11:35:03 +08:00
2018-05-26 09:16:44 +02:00
2019-01-11 14:16:58 +08:00
2018-09-04 11:35:03 +08:00
2018-04-21 00:58:34 +08:00
2019-01-11 14:16:57 +08:00
2018-04-21 00:58:34 +08:00
2018-07-20 13:51:21 +08:00
2019-01-11 14:16:58 +08:00
2019-01-11 14:16:56 +08:00
2018-05-16 07:23:35 +02:00
2018-09-04 11:35:03 +08:00
2018-04-21 00:58:30 +08:00