lib: Add base64 library

Since base64 is such a simple and commonly used feature it makes no
sense to build the whole of mbedTLS for it. Instead take the
implementation that comes with mbedTLS and import it as a native library
outside of ext/ for all to use directly.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
This commit is contained in:
Carles Cufi 2018-03-22 20:05:26 +01:00 committed by Anas Nashif
commit fb50e81dfd
5 changed files with 303 additions and 0 deletions

View file

@ -24,4 +24,11 @@ config RING_BUFFER
Enable usage of ring buffers. This is similar to kernel FIFOs but ring
buffers manage their own buffer memory and can store arbitrary data.
For optimal performance, use buffer sizes that are a power of 2.
config BASE64
bool
prompt "Enable base64 encoding and decoding"
default n
help
Enable base64 encoding and decoding functionality
endmenu