FreeRDP
base64.c File Reference
#include <freerdp/config.h>
#include <winpr/crt.h>
#include <freerdp/crypto/crypto.h>

Functions

char * crypto_base64_encode (const BYTE *data, size_t length)
 
static int base64_decode_char (char c)
 
static void * base64_decode (const char *s, size_t length, size_t *data_len)
 
void crypto_base64_decode (const char *enc_data, size_t length, BYTE **dec_data, size_t *res_length)
 

Variables

static const char base64 [] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
 

Function Documentation

◆ base64_decode()

static void* base64_decode ( const char *  s,
size_t  length,
size_t *  data_len 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ base64_decode_char()

static int base64_decode_char ( char  c)
static
Here is the caller graph for this function:

◆ crypto_base64_decode()

void crypto_base64_decode ( const char *  enc_data,
size_t  length,
BYTE **  dec_data,
size_t *  res_length 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ crypto_base64_encode()

char* crypto_base64_encode ( const BYTE data,
size_t  length 
)
Here is the caller graph for this function:

Variable Documentation

◆ base64

const char base64[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
static

FreeRDP: A Remote Desktop Protocol Implementation Base64 Encoding & Decoding

Copyright 2011-2012 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.