/*
 * Copyright 2003-2004, Instant802 Networks, Inc.
 * Copyright 2006, Devicescape Software, Inc.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */

#ifndef AES_CCM_H
#define AES_CCM_H

#include <linux/crypto.h>

struct crypto_aead *ieee80211_aes_key_setup_encrypt(const u8 key[],
						    size_t key_len,
						    size_t mic_len);
void ieee80211_aes_ccm_encrypt(struct crypto_aead *tfm, u8 *b_0, u8 *aad,
			       u8 *data, size_t data_len, u8 *mic,
			       size_t mic_len);
int ieee80211_aes_ccm_decrypt(struct crypto_aead *tfm, u8 *b_0, u8 *aad,
			      u8 *data, size_t data_len, u8 *mic,
			      size_t mic_len);
void ieee80211_aes_key_free(struct crypto_aead *tfm);

#endif /* AES_CCM_H */
git</a></td><td class='form'><form method='get'>
<input type='hidden' name='id' value='bd08b532f49b640c8d2ba1a7a7344ab206e051cb'/><select name='h' onchange='this.form.submit();'>
<option value='emaclite-cleanup'>emaclite-cleanup</option>
<option value='master'>master</option>
<option value='nds-private-remove' selected='selected'>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/?h=nds-private-remove'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?h=nds-private-remove&amp;id=bd08b532f49b640c8d2ba1a7a7344ab206e051cb'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/sound/pci/aw2/Makefile?h=nds-private-remove'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/sound/pci/aw2/Makefile?h=nds-private-remove&amp;id=bd08b532f49b640c8d2ba1a7a7344ab206e051cb'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/sound/pci/aw2/Makefile?h=nds-private-remove&amp;id=bd08b532f49b640c8d2ba1a7a7344ab206e051cb'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/sound/pci/aw2/Makefile?h=nds-private-remove&amp;id=bd08b532f49b640c8d2ba1a7a7344ab206e051cb'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/sound/pci/aw2/Makefile'>
<input type='hidden' name='h' value='nds-private-remove'/><input type='hidden' name='id' value='bd08b532f49b640c8d2ba1a7a7344ab206e051cb'/><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/?h=nds-private-remove&amp;id=bd08b532f49b640c8d2ba1a7a7344ab206e051cb'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound?h=nds-private-remove&amp;id=bd08b532f49b640c8d2ba1a7a7344ab206e051cb'>sound</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound/pci?h=nds-private-remove&amp;id=bd08b532f49b640c8d2ba1a7a7344ab206e051cb'>pci</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound/pci/aw2?h=nds-private-remove&amp;id=bd08b532f49b640c8d2ba1a7a7344ab206e051cb'>aw2</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound/pci/aw2/Makefile?h=nds-private-remove&amp;id=bd08b532f49b640c8d2ba1a7a7344ab206e051cb'>Makefile</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/sound/pci/aw2/Makefile?h=nds-private-remove&amp;id=bd08b532f49b640c8d2ba1a7a7344ab206e051cb&amp;showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>
<th class='left'>Lines</th></tr>
adcb5cb6de1489422411d701c158bb69'/><table><tr><td colspan='2'/></tr><tr><td class='label'>context:</td><td class='ctrl'><select name='context' onchange='this.form.submit();'><option value='1'>1</option><option value='2'>2</option><option value='3' selected='selected'>3</option><option value='4'>4</option><option value='5'>5</option><option value='6'>6</option><option value='7'>7</option><option value='8'>8</option><option value='9'>9</option><option value='10'>10</option><option value='15'>15</option><option value='20'>20</option><option value='25'>25</option><option value='30'>30</option><option value='35'>35</option><option value='40'>40</option></select></td></tr><tr><td class='label'>space:</td><td class='ctrl'><select name='ignorews' onchange='this.form.submit();'><option value='0' selected='selected'>include</option><option value='1'>ignore</option></select></td></tr><tr><td class='label'>mode:</td><td class='ctrl'><select name='dt' onchange='this.form.submit();'><option value='0' selected='selected'>unified</option><option value='1'>ssdiff</option><option value='2'>stat only</option></select></td></tr><tr><td/><td class='ctrl'><noscript><input type='submit' value='reload'/></noscript></td></tr></table></form></div><table summary='commit info' class='commit-info'>
<tr><th>author</th><td>Salvatore Benedetto &lt;salvatore.benedetto@intel.com&gt;</td><td class='right'>2017-01-13 11:54:08 +0000</td></tr>
<tr><th>committer</th><td>Herbert Xu &lt;herbert@gondor.apana.org.au&gt;</td><td class='right'>2017-01-23 22:41:32 +0800</td></tr>
<tr><th>commit</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/sound/firewire/tascam/tascam-hwdep.c?h=nds-private-remove&amp;id=d6040764adcb5cb6de1489422411d701c158bb69'>d6040764adcb5cb6de1489422411d701c158bb69</a> (<a href='/cgit.cgi/linux/net-next.git/patch/sound/firewire/tascam/tascam-hwdep.c?id=d6040764adcb5cb6de1489422411d701c158bb69'>patch</a>)</td></tr>
<tr><th>tree</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/tree/?h=nds-private-remove&amp;id=d6040764adcb5cb6de1489422411d701c158bb69'>ec8f34788bcdeaa9dc8f69c58af4c005d1e49021</a> /<a href='/cgit.cgi/linux/net-next.git/tree/sound/firewire/tascam/tascam-hwdep.c?h=nds-private-remove&amp;id=d6040764adcb5cb6de1489422411d701c158bb69'>sound/firewire/tascam/tascam-hwdep.c</a></td></tr>
<tr><th>parent</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/sound/firewire/tascam/tascam-hwdep.c?h=nds-private-remove&amp;id=07825f0acd85dd8b7481d5ef0eb024b05364d892'>07825f0acd85dd8b7481d5ef0eb024b05364d892</a> (<a href='/cgit.cgi/linux/net-next.git/diff/sound/firewire/tascam/tascam-hwdep.c?h=nds-private-remove&amp;id=d6040764adcb5cb6de1489422411d701c158bb69&amp;id2=07825f0acd85dd8b7481d5ef0eb024b05364d892'>diff</a>)</td></tr></table>
<div class='commit-subject'>crypto: api - Clear CRYPTO_ALG_DEAD bit before registering an alg</div><div class='commit-msg'>Make sure CRYPTO_ALG_DEAD bit is cleared before proceeding with
the algorithm registration. This fixes qat-dh registration when
driver is restarted

Cc: &lt;stable@vger.kernel.org&gt;
Signed-off-by: Salvatore Benedetto &lt;salvatore.benedetto@intel.com&gt;
Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;
</div><div class='diffstat-header'><a href='/cgit.cgi/linux/net-next.git/diff/?h=nds-private-remove&amp;id=d6040764adcb5cb6de1489422411d701c158bb69'>Diffstat</a> (limited to 'sound/firewire/tascam/tascam-hwdep.c')</div><table summary='diffstat' class='diffstat'>