xref: /freebsd/contrib/wpa/src/utils/base64.h (revision 9124ddeb4a551977cf6b2218291e7c666ce25f47)
1 /*
2  * Base64 encoding/decoding (RFC1341)
3  * Copyright (c) 2005, Jouni Malinen <j@w1.fi>
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License version 2 as
7  * published by the Free Software Foundation.
8  *
9  * Alternatively, this software may be distributed under the terms of BSD
10  * license.
11  *
12  * See README and COPYING for more details.
13  */
14 
15 #ifndef BASE64_H
16 #define BASE64_h
17 
18 unsigned char * base64_encode(const unsigned char *src, size_t len,
19 			      size_t *out_len);
20 unsigned char * base64_decode(const unsigned char *src, size_t len,
21 			      size_t *out_len);
22 
23 #endif /* BASE64_H */
24