diff options
author | Gilad Ben-Yossef <gilad@benyossef.com> | 2017-10-18 10:00:52 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-11-03 17:11:23 +0300 |
commit | aba973c69e3658e3190d8983eed7dddd3c44dd1e (patch) | |
tree | adef831ec7aa34c422be804f172d74fca107655b /drivers/crypto/atmel-tdes.c | |
parent | 591b95af3da027412be17ecbcb4dbd33990b557c (diff) | |
download | linux-aba973c69e3658e3190d8983eed7dddd3c44dd1e.tar.xz |
crypto: doc - adapt api sample to use async. op wait
The code sample is waiting for an async. crypto op completion.
Adapt sample to use the new generic infrastructure to do the same.
This also fixes a possible data coruption bug created by the
use of wait_for_completion_interruptible() without dealing
correctly with an interrupt aborting the wait prior to the
async op finishing.
Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/atmel-tdes.c')
0 files changed, 0 insertions, 0 deletions