/*
 * 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 */
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='a810007afe239d59c1115fcaa06eb5b480f876e9'/><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=a810007afe239d59c1115fcaa06eb5b480f876e9'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/tools/build/feature/test-libunwind-debug-frame-arm.c?h=nds-private-remove'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/tools/build/feature/test-libunwind-debug-frame-arm.c?h=nds-private-remove&amp;id=a810007afe239d59c1115fcaa06eb5b480f876e9'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/tools/build/feature/test-libunwind-debug-frame-arm.c?h=nds-private-remove&amp;id=a810007afe239d59c1115fcaa06eb5b480f876e9'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/tools/build/feature/test-libunwind-debug-frame-arm.c?h=nds-private-remove&amp;id=a810007afe239d59c1115fcaa06eb5b480f876e9'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/tools/build/feature/test-libunwind-debug-frame-arm.c'>
<input type='hidden' name='h' value='nds-private-remove'/><input type='hidden' name='id' value='a810007afe239d59c1115fcaa06eb5b480f876e9'/><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=a810007afe239d59c1115fcaa06eb5b480f876e9'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/tools?h=nds-private-remove&amp;id=a810007afe239d59c1115fcaa06eb5b480f876e9'>tools</a>/<a href='/cgit.cgi/linux/net-next.git/log/tools/build?h=nds-private-remove&amp;id=a810007afe239d59c1115fcaa06eb5b480f876e9'>build</a>/<a href='/cgit.cgi/linux/net-next.git/log/tools/build/feature?h=nds-private-remove&amp;id=a810007afe239d59c1115fcaa06eb5b480f876e9'>feature</a>/<a href='/cgit.cgi/linux/net-next.git/log/tools/build/feature/test-libunwind-debug-frame-arm.c?h=nds-private-remove&amp;id=a810007afe239d59c1115fcaa06eb5b480f876e9'>test-libunwind-debug-frame-arm.c</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/tools/build/feature/test-libunwind-debug-frame-arm.c?h=nds-private-remove&amp;id=a810007afe239d59c1115fcaa06eb5b480f876e9&amp;showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>