summaryrefslogtreecommitdiffstats
path: root/include/acpi
diff options
context:
space:
mode:
authorHerbert Xu2007-03-24 04:35:34 +0100
committerHerbert Xu2007-05-02 06:38:30 +0200
commit32e3983fe590ac4cd70c7728eb330d43cef031a7 (patch)
tree9e239c4d2f208578fd400c2abb31e8ae7788de4b /include/acpi
parent[CRYPTO] api: Proc functions should be marked as unused (diff)
downloadkernel-qcow2-linux-32e3983fe590ac4cd70c7728eb330d43cef031a7.tar.gz
kernel-qcow2-linux-32e3983fe590ac4cd70c7728eb330d43cef031a7.tar.xz
kernel-qcow2-linux-32e3983fe590ac4cd70c7728eb330d43cef031a7.zip
[CRYPTO] api: Add async block cipher interface
This patch adds the frontend interface for asynchronous block ciphers. In addition to the usual block cipher parameters, there is a callback function pointer and a data pointer. The callback will be invoked only if the encrypt/decrypt handlers return -EINPROGRESS. In other words, if the return value of zero the completion handler (or the equivalent code) needs to be invoked by the caller. The request structure is allocated and freed by the caller. Its size is determined by calling crypto_ablkcipher_reqsize(). The helpers ablkcipher_request_alloc/ablkcipher_request_free can be used to manage the memory for a request. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/acpi')
0 files changed, 0 insertions, 0 deletions