/*
 * Shared async block cipher helpers
 */

#ifndef _CRYPTO_ABLK_HELPER_H
#define _CRYPTO_ABLK_HELPER_H

#include <linux/crypto.h>
#include <linux/kernel.h>
#include <crypto/cryptd.h>

struct async_helper_ctx {
	struct cryptd_ablkcipher *cryptd_tfm;
};

extern int ablk_set_key(struct crypto_ablkcipher *tfm, const u8 *key,
			unsigned int key_len);

extern int __ablk_encrypt(struct ablkcipher_request *req);

extern int ablk_encrypt(struct ablkcipher_request *req);

extern int ablk_decrypt(struct ablkcipher_request *req);

extern void ablk_exit(struct crypto_tfm *tfm);

extern int ablk_init_common(struct crypto_tfm *tfm, const char *drv_name);

extern int ablk_init(struct crypto_tfm *tfm);

#endif /* _CRYPTO_ABLK_HELPER_H */
ogo'/></a></td>
<td class='main'><a href='/cgit.cgi/'>index</a> : <a href='/cgit.cgi/linux/net-next.git/'>net-next.git</a></td><td class='form'><form method='get'>
<input type='hidden' name='id' value='165f1cc0b5858b17cbb31312e861495f4500d9f0'/><input type='hidden' name='showmsg' value='1'/><select name='h' onchange='this.form.submit();'>
<option value='emaclite-cleanup'>emaclite-cleanup</option>
<option value='master' selected='selected'>master</option>
<option value='nds-private-remove'>nds-private-remove</option>
<option value='packet-loop-back'>packet-loop-back</option>
<option value='packet-rx-pump-back'>packet-rx-pump-back</option>
</select> <input type='submit' value='switch'/></form></td></tr>
<tr><td class='sub'>net-next plumbings</td><td class='sub right'>Tobias Klauser</td></tr></table>
<table class='tabs'><tr><td>
<a href='/cgit.cgi/linux/net-next.git/'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?id=165f1cc0b5858b17cbb31312e861495f4500d9f0'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/include/dt-bindings/sound/samsung-i2s.h?showmsg=1'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/include/dt-bindings/sound/samsung-i2s.h?id=165f1cc0b5858b17cbb31312e861495f4500d9f0'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/include/dt-bindings/sound/samsung-i2s.h?id=165f1cc0b5858b17cbb31312e861495f4500d9f0'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/include/dt-bindings/sound/samsung-i2s.h?id=165f1cc0b5858b17cbb31312e861495f4500d9f0'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/include/dt-bindings/sound/samsung-i2s.h'>
<input type='hidden' name='id' value='165f1cc0b5858b17cbb31312e861495f4500d9f0'/><input type='hidden' name='showmsg' value='1'/><select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/log/?id=165f1cc0b5858b17cbb31312e861495f4500d9f0&amp;showmsg=1'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/include?id=165f1cc0b5858b17cbb31312e861495f4500d9f0&amp;showmsg=1'>include</a>/<a href='/cgit.cgi/linux/net-next.git/log/include/dt-bindings?id=165f1cc0b5858b17cbb31312e861495f4500d9f0&amp;showmsg=1'>dt-bindings</a>/<a href='/cgit.cgi/linux/net-next.git/log/include/dt-bindings/sound?id=165f1cc0b5858b17cbb31312e861495f4500d9f0&amp;showmsg=1'>sound</a>/<a href='/cgit.cgi/linux/net-next.git/log/include/dt-bindings/sound/samsung-i2s.h?id=165f1cc0b5858b17cbb31312e861495f4500d9f0&amp;showmsg=1'>samsung-i2s.h</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th class='left'>Age</th><th class='left'>Commit message (<a href='/cgit.cgi/linux/net-next.git/log/include/dt-bindings/sound/samsung-i2s.h?id=165f1cc0b5858b17cbb31312e861495f4500d9f0'>Collapse</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>