#include <assert.h>#include <errno.h>#include <stdio.h>#include <string.h>#include <openssl/base64.h>#include <openssl/bio.h>#include <openssl/buffer.h>#include <openssl/evp.h>#include <openssl/mem.h>#include "../../crypto/internal.h"
Go to the source code of this file.
Classes | |
| struct | b64_struct |
Macros | |
| #define | B64_BLOCK_SIZE 1024 |
| #define | B64_BLOCK_SIZE2 768 |
| #define | B64_DECODE 2 |
| #define | B64_ENCODE 1 |
| #define | B64_NONE 0 |
| #define | EVP_ENCODE_LENGTH(l) (((l+2)/3*4)+(l/48+1)*2+80) |
Typedefs | |
| typedef struct b64_struct | BIO_B64_CTX |
Functions | |
| static long | b64_callback_ctrl (BIO *b, int cmd, bio_info_cb fp) |
| static long | b64_ctrl (BIO *b, int cmd, long num, void *ptr) |
| static int | b64_free (BIO *bio) |
| static int | b64_new (BIO *bio) |
| static int | b64_read (BIO *b, char *out, int outl) |
| static int | b64_write (BIO *b, const char *in, int inl) |
| const BIO_METHOD * | BIO_f_base64 (void) |
Variables | |
| static const BIO_METHOD | b64_method |
| #define B64_BLOCK_SIZE 1024 |
Definition at line 71 of file base64_bio.c.
| #define B64_BLOCK_SIZE2 768 |
Definition at line 72 of file base64_bio.c.
| #define B64_DECODE 2 |
Definition at line 75 of file base64_bio.c.
| #define B64_ENCODE 1 |
Definition at line 74 of file base64_bio.c.
| #define B64_NONE 0 |
Definition at line 73 of file base64_bio.c.
| #define EVP_ENCODE_LENGTH | ( | l | ) | (((l+2)/3*4)+(l/48+1)*2+80) |
Definition at line 76 of file base64_bio.c.
| typedef struct b64_struct BIO_B64_CTX |
|
static |
Definition at line 515 of file base64_bio.c.
Definition at line 431 of file base64_bio.c.
Definition at line 109 of file base64_bio.c.
Definition at line 91 of file base64_bio.c.
Definition at line 120 of file base64_bio.c.
Definition at line 320 of file base64_bio.c.
| const BIO_METHOD* BIO_f_base64 | ( | void | ) |
Definition at line 527 of file base64_bio.c.
|
static |
Definition at line 522 of file base64_bio.c.