Fabcoin Core  0.16.2
P2P Digital Currency
Macros | Functions
b64.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define b64_encode_len(A)   ((A+2)/3 * 4 + 1)
 
#define b64_decode_len(A)   (A / 4 * 3 + 2)
 

Functions

int libscrypt_b64_encode (unsigned char const *src, size_t srclength, char *target, size_t targetsize)
 
int libscrypt_b64_decode (char const *src, unsigned char *target, size_t targetsize)
 

Macro Definition Documentation

#define b64_decode_len (   A)    (A / 4 * 3 + 2)

Definition at line 5 of file b64.h.

#define b64_encode_len (   A)    ((A+2)/3 * 4 + 1)

Definition at line 4 of file b64.h.

Function Documentation

int libscrypt_b64_decode ( char const *  src,
unsigned char *  target,
size_t  targetsize 
)

Definition at line 187 of file b64.c.

Here is the call graph for this function:

Here is the caller graph for this function:

int libscrypt_b64_encode ( unsigned char const *  src,
size_t  srclength,
char *  target,
size_t  targetsize 
)

Definition at line 123 of file b64.c.

Here is the caller graph for this function: