Add implementation of the RC2 block cipher (RFC 2268)
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
* Copyright (C) 2013 Tobias Brunner
|
||||
* Hochschule fuer Technik Rapperswil
|
||||
*
|
||||
* 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. See <http://www.fsf.org/copyleft/gpl.txt>.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful, but
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* for more details.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @defgroup rc2_p rc2
|
||||
* @ingroup plugins
|
||||
*
|
||||
* @defgroup rc2_plugin rc2_plugin
|
||||
* @{ @ingroup rc2_p
|
||||
*/
|
||||
|
||||
#ifndef RC2_PLUGIN_H_
|
||||
#define RC2_PLUGIN_H_
|
||||
|
||||
#include <plugins/plugin.h>
|
||||
|
||||
typedef struct rc2_plugin_t rc2_plugin_t;
|
||||
|
||||
/**
|
||||
* Plugin implementing RC2 (RFC 2268).
|
||||
*/
|
||||
struct rc2_plugin_t {
|
||||
|
||||
/**
|
||||
* Implements plugin interface
|
||||
*/
|
||||
plugin_t plugin;
|
||||
};
|
||||
|
||||
#endif /** RC2_PLUGIN_H_ @}*/
|
||||
Reference in New Issue
Block a user