Gilad Ben-Yossef a2985b1c98 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: Gilad Ben-Yossef <gilad@benyossef.com>
CC: Eric Biggers <ebiggers3@gmail.com>
CC: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2018-01-04 18:15:43 -08:00
..
2017-11-03 21:35:35 +08:00
2017-11-21 09:49:20 +01:00
2017-09-20 17:42:29 +08:00
2017-06-10 12:04:25 +08:00
2016-11-28 21:23:18 +08:00