|  | The FreeRADIUS server $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
    | 
Encode/decode binary data using printable characters (base32 format) More...
 Include dependency graph for base32.c:
 Include dependency graph for base32.c:Go to the source code of this file.
| Macros | |
| #define | us(x) (uint8_t) x | 
| Functions | |
| fr_slen_t | fr_base32_decode_nstd (fr_sbuff_parse_error_t *err, fr_dbuff_t *out, fr_sbuff_t *in, bool expect_padding, bool no_trailing, uint8_t const alphabet[static UINT8_MAX]) | 
| ssize_t | fr_base32_encode_nstd (fr_sbuff_t *out, fr_dbuff_t *in, bool add_padding, char const alphabet[static UINT8_MAX]) | 
| Base 64 encode binary data. | |
| Variables | |
| uint8_t const | fr_base32_alphabet_decode [UINT8_MAX] | 
| char const | fr_base32_alphabet_encode [UINT8_MAX] | 
| Encode/decode binary data using printable characters (base32 format) | |
| uint8_t const | fr_base32_hex_alphabet_decode [UINT8_MAX] | 
| char const | fr_base32_hex_alphabet_encode [UINT8_MAX] | 
Encode/decode binary data using printable characters (base32 format)
Definition in file base32.c.
| fr_slen_t fr_base32_decode_nstd | ( | fr_sbuff_parse_error_t * | err, | 
| fr_dbuff_t * | out, | ||
| fr_sbuff_t * | in, | ||
| bool | expect_padding, | ||
| bool | no_trailing, | ||
| uint8_t const | alphabet[static UINT8_MAX] | ||
| ) | 
| ssize_t fr_base32_encode_nstd | ( | fr_sbuff_t * | out, | 
| fr_dbuff_t * | in, | ||
| bool | add_padding, | ||
| char const | alphabet[static UINT8_MAX] | ||
| ) | 
Base 64 encode binary data.
base32 encode in bytes to base32, writing to out.
| [out] | out | Where to write base32 string. | 
| [in] | in | Data to encode. | 
| [in] | add_padding | Add padding bytes. | 
| [in] | alphabet | to use for encoding. | 
Definition at line 190 of file base32.c.
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| char const fr_base32_alphabet_encode[UINT8_MAX] | 
Encode/decode binary data using printable characters (base32 format)
 1.9.8
 1.9.8