OpenOCD
base64.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: BSD-3-Clause */
2 
3 /*
4  * Base64 encoding/decoding (RFC1341)
5  * Copyright (c) 2005, Jouni Malinen <j@w1.fi>
6  *
7  * Original file from FreeBSD code
8  * https://cgit.freebsd.org/src/tree/contrib/wpa/src/utils/base64.h?id=f05cddf940db
9  */
10 
11 #ifndef BASE64_H
12 #define BASE64_H
13 
14 unsigned char *base64_encode(const unsigned char *src, size_t len,
15  size_t *out_len);
16 unsigned char *base64_decode(const unsigned char *src, size_t len,
17  size_t *out_len);
18 
19 #endif /* BASE64_H */
unsigned char * base64_decode(const unsigned char *src, size_t len, size_t *out_len)
base64_decode - Base64 decode @src: Data to be decoded @len: Length of the data to be decoded @out_le...
Definition: base64.c:101
unsigned char * base64_encode(const unsigned char *src, size_t len, size_t *out_len)
base64_encode - Base64 encode @src: Data to be encoded @len: Length of the data to be encoded @out_le...
Definition: base64.c:33