diff options
Diffstat (limited to 'contrib/wpa_supplicant/base64.h')
-rw-r--r-- | contrib/wpa_supplicant/base64.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/contrib/wpa_supplicant/base64.h b/contrib/wpa_supplicant/base64.h new file mode 100644 index 0000000..7043328 --- /dev/null +++ b/contrib/wpa_supplicant/base64.h @@ -0,0 +1,23 @@ +/* + * Base64 encoding/decoding (RFC1341) + * Copyright (c) 2005, Jouni Malinen <jkmaline@cc.hut.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 +#define BASE64_h + +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 */ |