1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

16 Commits

Author SHA1 Message Date
MrKevinWeiss
7a68fb0d5e
*Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
MrKevinWeiss
e0aea475be sys/base64: Add Kconfig support 2021-02-22 14:54:14 +01:00
Benjamin Valentin
48c33ae0a2 sys/base64: drop padding for base64url encoding
The URLsafe base64 encoding variant does not require padding, using
'=' as padding is in fact an error as it is not a URL-safe character.
2020-12-15 12:18:45 +01:00
Marian Buschsieweke
1267277ca7
sys/base64: Improved implementation 2020-07-06 09:16:24 +02:00
Marian Buschsieweke
3c7fd0cdc9
sys/base64: Use void pointer for buffers in API
This is a non-breaking change, as `unsigned char *` can implicitly be converted
to `void *`.
2020-07-02 11:10:06 +02:00
Benjamin Valentin
fc89531c61 sys/base64: Implement Base 64 Encoding with URL Safe Alphabet
RFC4648 specifies an alternate alphabet for base64 encoding / decoding
where '+' and '/' are exchanged for '-' and '-' to make the resulting
string safe to use in filenames and URLs.

This adds a base64url_encode() function that uses the alternate alphabet.

The base64_decode() function is extended to accept both alphabets.
2020-03-31 19:01:05 +02:00
1d8e86c570
sys/base64: fix return value when input data is empty 2019-10-08 15:38:27 +02:00
Leandro Lanzieri
c5cd71fb72 sys/base64: Add size estimation macros 2019-01-24 08:35:22 +01:00
Pieter Willemsen
394c3ecd6d base64: use void* to pass byte buffers 2018-09-26 18:24:21 +02:00
Pieter Willemsen
2cc1ac4fa8 base64: make input argument const 2018-09-26 17:51:08 +02:00
7d013eb2b6 sys: fix doxygen grouping 2018-06-11 19:12:02 +02:00
BytesGalore
49f89b4268 sys/base64: corrected output size determination 2017-01-10 18:30:38 +01:00
Matthias Kolja Miehl
1e8d768701 sys/base64: fix variableScope 2016-09-05 02:21:50 +02:00
René Kijewski
7af7d37531 base64: remove unused calculation in base64_encode
Found via scan-build.
2015-09-22 11:01:56 +02:00
Joakim Gebart
13832d8e62 everything: Remove filename from @file Doxygen command 2015-05-22 07:34:41 +02:00
Martin Landsmann
a0898dbb9f sys: add base64 encoding/decoding module
- suppressed cppcheck warning for `unassignedVariable` for
   the encode/decode arrays in stream encode/decode tests
   as these arrays are assigned by the according `base64_[en|de]code()` function.
2015-01-12 11:26:41 +01:00