/* Asymmetric public-key cryptography data parser * * See Documentation/crypto/asymmetric-keys.txt * * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. * Written by David Howells (dhowells@redhat.com) * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public Licence * as published by the Free Software Foundation; either version * 2 of the Licence, or (at your option) any later version. */ #ifndef _KEYS_ASYMMETRIC_PARSER_H #define _KEYS_ASYMMETRIC_PARSER_H /* * Key data parser. Called during key instantiation. */ struct asymmetric_key_parser { struct list_head link; struct module *owner; const char *name; /* Attempt to parse a key from the data blob passed to add_key() or * keyctl_instantiate(). Should also generate a proposed description * that the caller can optionally use for the key. * * Return EBADMSG if not recognised. */ int (*parse)(struct key_preparsed_payload *prep); }; extern int register_asymmetric_key_parser(struct asymmetric_key_parser *); extern void unregister_asymmetric_key_parser(struct asymmetric_key_parser *); #endif /* _KEYS_ASYMMETRIC_PARSER_H */ op-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=eeeefd41843218c55a8782a6920f044d9bf6207a'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/sound/oss/tuning.h'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/sound/oss/tuning.h?id=eeeefd41843218c55a8782a6920f044d9bf6207a'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/sound/oss/tuning.h?id=eeeefd41843218c55a8782a6920f044d9bf6207a'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/sound/oss/tuning.h?id=eeeefd41843218c55a8782a6920f044d9bf6207a'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/sound/oss/tuning.h'> <input type='hidden' name='id' value='eeeefd41843218c55a8782a6920f044d9bf6207a'/><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=eeeefd41843218c55a8782a6920f044d9bf6207a'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound?id=eeeefd41843218c55a8782a6920f044d9bf6207a'>sound</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound/oss?id=eeeefd41843218c55a8782a6920f044d9bf6207a'>oss</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound/oss/tuning.h?id=eeeefd41843218c55a8782a6920f044d9bf6207a'>tuning.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/sound/oss/tuning.h?id=eeeefd41843218c55a8782a6920f044d9bf6207a&showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>