base64 library for embedded C applications
Go to file
Mario Hüttel b9cd9198d7 Finish first draft of this library
* Implement decode function with tests
* Write doxygen headers
* Fix ifdef guards in include file
* Fix test output formatting
2020-11-02 23:43:02 +01:00
include/base64-lib Finish first draft of this library 2020-11-02 23:43:02 +01:00
src Finish first draft of this library 2020-11-02 23:43:02 +01:00
test Finish first draft of this library 2020-11-02 23:43:02 +01:00
.gitignore Implement Base64 encoding function 2020-11-01 17:58:05 +01:00
CMakeLists.txt Implement Base64 encoding function 2020-11-01 17:58:05 +01:00
LICENSE.MD Implement Base64 encoding function 2020-11-01 17:58:05 +01:00
README.MD Modify test target and add build instructions to readme 2020-11-02 22:31:19 +01:00

This is a small implementation of base64 encode and decode functions designed for embedded systems. No dynamic memory is needed. However, a fair amount of static memory is needed for the lookup tables.

Storage of the lookup tables can be adapted using the BASE64_LOOKUP_TABLE_SECTION define. If it is set, the lookup table will be moved to the section specified by the define. Example:

#define BASE64_LOOKUP_TABLE_SECTION ".bss"

This project is licensed under GPLv2.

Build Instructions

  • Type make to build the static library object.
  • Type make execute-base64-test to build and run the tests