crypto: skcipher - call cond_resched() directly
authorEric Biggers <ebiggers@google.com>
Sun, 5 Jan 2025 19:34:16 +0000 (11:34 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 14 Jan 2025 03:38:33 +0000 (11:38 +0800)
commit878d87fc6877bc6989b40bb02c4c2ce58be51a6b
tree1355a93645e5bb1ee544cce6f512a4ecaec94e27
parent8b13c2239d8b65604b7a0ff18c2eb74b531c4c06
crypto: skcipher - call cond_resched() directly

In skcipher_walk_done(), instead of calling crypto_yield() which
requires a translation between flags, just call cond_resched() directly.
This has the same effect.

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