linux/Documentation/crypto
Gilad Ben-Yossef aba973c69e 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>
2017-11-03 22:11:23 +08:00
..
api-aead.rst crypto: doc - optimize compilation 2016-12-13 16:38:07 -07:00
api-akcipher.rst crypto: doc - optimize compilation 2016-12-13 16:38:07 -07:00
api-digest.rst crypto: doc - Fix hash export state information 2017-02-03 18:16:11 +08:00
api-intro.txt crypt: doc - remove misleading mention of async API 2016-12-01 21:06:34 +08:00
api-kpp.rst crypto: doc - optimize compilation 2016-12-13 16:38:07 -07:00
api-rng.rst crypto: doc - optimize compilation 2016-12-13 16:38:07 -07:00
api-samples.rst crypto: doc - adapt api sample to use async. op wait 2017-11-03 22:11:23 +08:00
api-skcipher.rst crypto: doc - fix typo 2017-02-15 13:23:49 +08:00
api.rst crypto: doc - add KPP documentation 2016-12-13 16:38:06 -07:00
architecture.rst crypto: doc - add KPP documentation 2016-12-13 16:38:06 -07:00
asymmetric-keys.txt KEYS: Add documentation for asymmetric keyring restrictions 2017-07-14 11:01:38 +10:00
async-tx-api.txt drivers/dma: remove unused support for MEMSET operations 2013-07-03 16:07:42 -07:00
conf.py docs-rst: add crypto API book to pdf output 2017-05-16 08:44:06 -03:00
descore-readme.txt [PATCH] Spelling fixes for Documentation/ 2005-09-10 10:06:28 -07:00
devel-algos.rst crypto: doc - convert crypto API documentation to Sphinx 2016-12-13 16:37:54 -07:00
index.rst crypto: doc - convert crypto API documentation to Sphinx 2016-12-13 16:37:54 -07:00
intro.rst crypto: doc - convert crypto API documentation to Sphinx 2016-12-13 16:37:54 -07:00
userspace-if.rst crypto: doc - fix typo in docs 2017-06-22 16:54:07 +08:00