Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3773b5bd authored by Gilad Ben-Yossef's avatar Gilad Ben-Yossef Committed by Bernhard Thoben
Browse files

crypto: introduce crypto wait for async op



Invoking a possibly async. crypto op and waiting for completion
while correctly handling backlog processing is a common task
in the crypto API implementation and outside users of it.

This patch adds a generic implementation for doing so in
preparation for using it across the board instead of hand
rolled versions.

Signed-off-by: default avatarGilad Ben-Yossef <gilad@benyossef.com>
CC: Eric Biggers <ebiggers3@gmail.com>
CC: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
(cherry picked from commit ada69a1639eca54ff74d839a6513c43db8d57d70)
parent 149ce6a4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment