peapod
0.1.0
EAPOL Proxy Daemon
|
Base64 encoder. More...
#include "b64enc.h"
Macros | |
#define | b64len(len) (4 * ((len) / 3) + 5) |
The length of the resulting Base64-encoded string, including the null terminator, from an input of length len . More... | |
Functions | |
char * | b64enc (const uint8_t *in, size_t len) |
Base64 encoder. More... | |
Variables | |
static const char | b64 [64] |
Base64 index table. More... | |
Base64 encoder.
#define b64len | ( | len | ) | (4 * ((len) / 3) + 5) |
The length of the resulting Base64-encoded string, including the null terminator, from an input of length len
.
char* b64enc | ( | const uint8_t * | in, |
size_t | len | ||
) |
Base64 encoder.
in | Data to be Base64-encoded |
len | The length of in |
in
if successful, or NULL
if unsuccessful free(3)
ing the result
|
static |
Base64 index table.