25 #include "../../../../common/util.h"
29 #if defined(WANT_XBASE64)
33 # define XBASE64_PADDING_CHAR '_'
35 size_t xbase64_encode (
const uint8_t *,
size_t,
char **);
36 size_t xbase64_decode (
const char *,
size_t, uint8_t **);
41 #if defined(WANT_BASE64)
45 # define BASE64_PADDING_CHAR '='
47 size_t base64_encode (
const uint8_t *,
size_t,
char **);
48 size_t base64_decode (
const char *,
size_t, uint8_t **);