aboutsummaryrefslogtreecommitdiff
path: root/base64.c (follow)
Commit message (Collapse)AuthorAgeLines
* base64: simplify lookup table initializerCraig Barnes2024-03-17-6/+3
|
* debug: rename assert() to xassert(), to avoid clashing with <assert.h>Craig Barnes2021-01-16-3/+3
|
* Print stack trace on assert() failure or when calling fatal_error()Craig Barnes2021-01-16-1/+1
| | | | | | Note: this uses the __sanitizer_print_stack_trace() function from the AddressSanitizer runtime, so it only works when AddressSanitizer is in use.
* base64: only allow padding bytes at the end of a string when decodingCraig Barnes2020-11-30-6/+17
|
* base64: optimize error checking in base64_decode()Craig Barnes2020-11-29-32/+27
|
* Convert most dynamic allocations to use functions from xmalloc.hCraig Barnes2020-08-08-2/+10
|
* base64: simplify is_valid() by using reverse_lookup tableCraig Barnes2020-08-08-5/+2
|
* base64: implement encode()Daniel Eklöf2019-07-19-2/+68
|
* base64: initial base64 decode implementationDaniel Eklöf2019-07-19-0/+88