/*
 * Authenc: Simple AEAD wrapper for IPsec
 *
 * Copyright (c) 2007 Herbert Xu <herbert@gondor.apana.org.au>
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License as published by the Free
 * Software Foundation; either version 2 of the License, or (at your option)
 * any later version.
 *
 */
#ifndef _CRYPTO_AUTHENC_H
#define _CRYPTO_AUTHENC_H

#include <linux/types.h>

enum {
	CRYPTO_AUTHENC_KEYA_UNSPEC,
	CRYPTO_AUTHENC_KEYA_PARAM,
};

struct crypto_authenc_key_param {
	__be32 enckeylen;
};

struct crypto_authenc_keys {
	const u8 *authkey;
	const u8 *enckey;

	unsigned int authkeylen;
	unsigned int enckeylen;
};

int crypto_authenc_extractkeys(struct crypto_authenc_keys *keys, const u8 *key,
			       unsigned int keylen);

#endif	/* _CRYPTO_AUTHENC_H */
'hidden' name='id' value='982acb97560c8118c2109504a22b0d78a580547d'/><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=982acb97560c8118c2109504a22b0d78a580547d'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/include/net/lapb.h'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/include/net/lapb.h?id=982acb97560c8118c2109504a22b0d78a580547d'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/include/net/lapb.h?id=982acb97560c8118c2109504a22b0d78a580547d'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/include/net/lapb.h?id=982acb97560c8118c2109504a22b0d78a580547d'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/include/net/lapb.h'>
<input type='hidden' name='id' value='982acb97560c8118c2109504a22b0d78a580547d'/><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=982acb97560c8118c2109504a22b0d78a580547d'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/include?id=982acb97560c8118c2109504a22b0d78a580547d'>include</a>/<a href='/cgit.cgi/linux/net-next.git/log/include/net?id=982acb97560c8118c2109504a22b0d78a580547d'>net</a>/<a href='/cgit.cgi/linux/net-next.git/log/include/net/lapb.h?id=982acb97560c8118c2109504a22b0d78a580547d'>lapb.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/net/lapb.h?id=982acb97560c8118c2109504a22b0d78a580547d&amp;showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>