#include <cstddef>
Go to the source code of this file.
Classes | |
struct | base64_decode_context |
Macros | |
#define | base64_decode(in, inlen, out, outlen) base64_decode_ctx(NULL, in, inlen, out, outlen) |
#define | base64_decode_alloc(in, inlen, out, outlen) base64_decode_alloc_ctx(NULL, in, inlen, out, outlen) |
#define | BASE64_LENGTH(inlen) ((((inlen) + 2) / 3) * 4) |
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) |
bool | isbase64 (char ch) |
#define base64_decode | ( | in, | |
inlen, | |||
out, | |||
outlen | |||
) | base64_decode_ctx(NULL, in, inlen, out, outlen) |
Definition at line 52 of file base64.h.
Referenced by pos::PixelMaskAllPixels::PixelMaskAllPixels(), pos::PixelTrimAllPixels::PixelTrimAllPixels(), and pos::PixelROCTrimBits::writeXML().
#define base64_decode_alloc | ( | in, | |
inlen, | |||
out, | |||
outlen | |||
) | base64_decode_alloc_ctx(NULL, in, inlen, out, outlen) |
Definition at line 54 of file base64.h.
Referenced by cond::auth::Cipher::b64decrypt().
#define BASE64_LENGTH | ( | inlen | ) | ((((inlen) + 2) / 3) * 4) |
Definition at line 31 of file base64.h.
Referenced by base64_encode_alloc().
bool base64_decode_alloc_ctx | ( | struct base64_decode_context * | ctx, |
const char * | in, | ||
size_t | inlen, | ||
char ** | out, | ||
size_t * | outlen | ||
) |
Definition at line 452 of file base64.cc.
References base64_decode_ctx(), recoMuon::in, and MillePedeFileConverter_cfg::out.
bool base64_decode_ctx | ( | struct base64_decode_context * | ctx, |
const char * | in, | ||
size_t | inlen, | ||
char * | out, | ||
size_t * | outlen | ||
) |
Definition at line 372 of file base64.cc.
References decode_4(), get_4(), base64_decode_context::i, recoMuon::in, and MillePedeFileConverter_cfg::out.
Referenced by base64_decode_alloc_ctx().
void base64_decode_ctx_init | ( | struct base64_decode_context * | ctx | ) |
void base64_encode | ( | const char * | in, |
size_t | inlen, | ||
char * | out, | ||
size_t | outlen | ||
) |
Definition at line 65 of file base64.cc.
References b64str, recoMuon::in, MillePedeFileConverter_cfg::out, and to_uchar().
Referenced by base64_encode_alloc().
size_t base64_encode_alloc | ( | const char * | in, |
size_t | inlen, | ||
char ** | out | ||
) |
Definition at line 100 of file base64.cc.
References base64_encode(), BASE64_LENGTH, recoMuon::in, and MillePedeFileConverter_cfg::out.
Referenced by cond::auth::Cipher::b64encrypt().
bool isbase64 | ( | char | ch | ) |
Definition at line 243 of file base64.cc.
References b64, to_uchar(), and uchar_in_range.
Referenced by decode_4().