Go to the source code of this file.
Macros | |
#define | B64(_) |
#define | return_false |
#define | uchar_in_range(c) ((c) <= 255) |
Functions | |
bool | base64_decode_alloc_ctx (struct base64_decode_context *ctx, const char *in, size_t inlen, char **out, size_t *outlen) |
bool | base64_decode_ctx (struct base64_decode_context *ctx, const char *in, size_t inlen, char *out, size_t *outlen) |
void | base64_decode_ctx_init (struct base64_decode_context *ctx) |
void | base64_encode (const char *in, size_t inlen, char *out, size_t outlen) |
size_t | base64_encode_alloc (const char *in, size_t inlen, char **out) |
static bool | decode_4 (char const *in, size_t inlen, char **outp, size_t *outleft) |
static char * | get_4 (struct base64_decode_context *ctx, char const **in, char const *in_end, size_t *n_non_newline) |
bool | isbase64 (char ch) |
static unsigned char | to_uchar (char ch) |
Variables | |
static const signed char | b64 [0x100] |
#define return_false |
Definition at line 360 of file base64.cc.
Referenced by decode_4().
#define uchar_in_range | ( | c | ) | ((c) <= 255) |
Definition at line 294 of file base64.cc.
Referenced by isbase64().
bool base64_decode_alloc_ctx | ( | struct base64_decode_context * | ctx, |
const char * | in, | ||
size_t | inlen, | ||
char ** | out, | ||
size_t * | outlen | ||
) |
Definition at line 551 of file base64.cc.
References base64_decode_ctx(), and NULL.
bool base64_decode_ctx | ( | struct base64_decode_context * | ctx, |
const char * | in, | ||
size_t | inlen, | ||
char * | out, | ||
size_t * | outlen | ||
) |
Definition at line 460 of file base64.cc.
References decode_4(), get_4(), base64_decode_context::i, recoMuon::in, and NULL.
Referenced by base64_decode_alloc_ctx().
void base64_decode_ctx_init | ( | struct base64_decode_context * | ctx | ) |
Definition at line 308 of file base64.cc.
References base64_decode_context::i.
void base64_encode | ( | const char * | in, |
size_t | inlen, | ||
char * | out, | ||
size_t | outlen | ||
) |
Definition at line 70 of file base64.cc.
References b64str, and to_uchar().
size_t base64_encode_alloc | ( | const char * | in, |
size_t | inlen, | ||
char ** | out | ||
) |
Definition at line 117 of file base64.cc.
References base64_encode(), BASE64_LENGTH, and NULL.
Referenced by cond::Cipher::b64encrypt().
|
inlinestatic |
Definition at line 375 of file base64.cc.
References b64, isbase64(), dbtoconf::out, return_false, and to_uchar().
Referenced by base64_decode_ctx().
|
inlinestatic |
Definition at line 321 of file base64.cc.
References base64_decode_context::buf, EnergyCorrector::c, base64_decode_context::i, recoMuon::in, NULL, AlCaHLTBitMon_ParallelJobs::p, and edmStreamStallGrapher::t.
Referenced by base64_decode_ctx().
bool isbase64 | ( | char | ch | ) |
Definition at line 301 of file base64.cc.
References b64, to_uchar(), and uchar_in_range.
Referenced by decode_4().
|
inlinestatic |
Definition at line 60 of file base64.cc.
Referenced by base64_encode(), decode_4(), and isbase64().
|
static |
Definition at line 224 of file base64.cc.
Referenced by decode_4(), and isbase64().