2008-02-27 20:34:43 -05:00
|
|
|
/*
|
|
|
|
* Base64 encoding/decoding (RFC1341)
|
|
|
|
* Copyright (c) 2005, Jouni Malinen <j@w1.fi>
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
* Alternatively, this software may be distributed under the terms of BSD
|
|
|
|
* license.
|
|
|
|
*
|
|
|
|
* See README and COPYING for more details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef BASE64_H
|
2011-02-21 15:44:46 -05:00
|
|
|
#define BASE64_H
|
2008-02-27 20:34:43 -05:00
|
|
|
|
|
|
|
unsigned char * base64_encode(const unsigned char *src, size_t len,
|
|
|
|
size_t *out_len);
|
|
|
|
unsigned char * base64_decode(const unsigned char *src, size_t len,
|
|
|
|
size_t *out_len);
|
|
|
|
|
|
|
|
#endif /* BASE64_H */
|