android_kernel_xiaomi_sm8350/crypto
Herbert Xu 32e3983fe5 [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>
2007-05-02 14:38:30 +10:00
..
aes.c
algapi.c [CRYPTO] api: Allow multiple frontends per backend 2007-02-07 09:21:01 +11:00
anubis.c
api.c [CRYPTO] api: Allow multiple frontends per backend 2007-02-07 09:21:01 +11:00
arc4.c
blkcipher.c [CRYPTO] api: Add async block cipher interface 2007-05-02 14:38:30 +10:00
blowfish.c
camellia.c [CRYPTO] camellia: added the code of Camellia cipher algorithm. 2007-02-07 09:21:03 +11:00
cast5.c
cast6.c
cbc.c [CRYPTO] api: Add type-safe spawns 2007-02-07 09:21:01 +11:00
cipher.c [CRYPTO] api: Remove deprecated interface 2007-02-07 09:21:00 +11:00
compress.c [CRYPTO] api: Remove deprecated interface 2007-02-07 09:21:00 +11:00
crc32c.c
crypto_null.c
cryptomgr.c
deflate.c
des.c
digest.c [CRYPTO] api: Remove deprecated interface 2007-02-07 09:21:00 +11:00
ecb.c [CRYPTO] api: Add type-safe spawns 2007-02-07 09:21:01 +11:00
fcrypt.c [CRYPTO] fcrypt: Add FCrypt from RxRPC 2007-02-07 09:20:59 +11:00
gf128mul.c [CRYPTO] lib: table driven multiplications in GF(2^128) 2006-12-06 18:38:55 -08:00
hash.c [CRYPTO] api: Proc functions should be marked as unused 2007-05-02 14:38:29 +10:00
hmac.c [CRYPTO] api: Add type-safe spawns 2007-02-07 09:21:01 +11:00
internal.h [CRYPTO] api: Allow multiple frontends per backend 2007-02-07 09:21:01 +11:00
Kconfig Merge branch 'HEAD' of master.kernel.org:/pub/scm/linux/kernel/git/herbert/crypto-2.6 2007-02-08 15:25:18 -08:00
khazad.c
lrw.c [CRYPTO] api: Add type-safe spawns 2007-02-07 09:21:01 +11:00
Makefile [CRYPTO] camellia: added the code of Camellia cipher algorithm. 2007-02-07 09:21:03 +11:00
md4.c
md5.c
michael_mic.c [PATCH] Update my email address from jkmaline@cc.hut.fi to j@w1.fi 2007-04-28 11:01:01 -04:00
pcbc.c [CRYPTO] api: Add type-safe spawns 2007-02-07 09:21:01 +11:00
proc.c [PATCH] mark struct file_operations const 3 2007-02-12 09:48:45 -08:00
scatterwalk.c [CRYPTO] api: Flush the current page right than the next 2007-03-31 12:58:20 +10:00
scatterwalk.h
serpent.c
sha1.c
sha256.c
sha512.c [CRYPTO] sha512: Fix sha384 block size 2006-12-11 14:34:33 -08:00
tcrypt.c [CRYPTO] tcrypt: Fix error checking for comp allocation 2007-03-21 08:58:43 +11:00
tcrypt.h [CRYPTO] camellia: added the testing code of Camellia cipher 2007-02-07 09:21:04 +11:00
tea.c
tgr192.c
twofish_common.c
twofish.c
wp512.c
xcbc.c [CRYPTO] xcbc: Use new cipher interface 2007-02-07 09:21:01 +11:00