fwknop/base64.h
Damien Stuart 1e7534df68 Added rijndael code, spa digest and message functions, and a shitload of other changes and tweaks.
git-svn-id: file:///home/mbr/svn/fwknop/trunk@9 510a4753-2344-4c79-9c09-4d669213fbeb
2008-12-08 01:02:21 +00:00

39 lines
1.0 KiB
C

/* $Id$
*****************************************************************************
*
* File: base64.h
*
* Author: Damien S. Stuart
*
* Purpose: Header for the fwknop base64.c
*
* License (GNU Public License):
*
* 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.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA
*
*****************************************************************************
*/
#ifndef _BASE64_H_
#define _BASE64_H_
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
/* Prototypes
*/
int b64_encode(uchar *in, char *out, int in_len);
int b64_decode(char *in, uchar *out, int out_len);
#endif /* _BASE64_H_ */
/***EOF***/