47 idx_t len = base64_encode_alloc (in, inlen, out);
78 int ok = base64_decode_alloc (in, inlen, out, &ol);
111 gsasl_hex_to (
const char *in,
size_t inlen,
char **out,
size_t *outlen)
113 size_t len = 2 * inlen;
118 *out = malloc (len + 1);
146 size_t inlen = strlen (in);
147 size_t l = inlen / 2;
int gsasl_base64_from(const char *in, size_t inlen, char **out, size_t *outlen)
int gsasl_base64_to(const char *in, size_t inlen, char **out, size_t *outlen)
int gsasl_hex_from(const char *in, char **out, size_t *outlen)
int gsasl_hex_to(const char *in, size_t inlen, char **out, size_t *outlen)