]> git.ipfire.org Git - pakfire.git/commit
base64: Replace the encoder/decoder with low-level functions
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 20 Apr 2025 13:56:48 +0000 (13:56 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 20 Apr 2025 13:56:48 +0000 (13:56 +0000)
commita56cfb97799f445f016e8433f09fbfa85098a3f9
tree8674b37f1696c9fbf243ec2c4124cf3482d609ff
parentb35e835b0e839d31428150b6828c75ad70e53a3b
base64: Replace the encoder/decoder with low-level functions

The BIO interface is large and very well suited to encode larger
messages. However, we only have very small messages to encode and
therefore will spend a long time on setting up and destroying the BIO
interface all of the time.

These low-level functions are a lot faster and easier to set up.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/pakfire/base64.c
src/pakfire/base64.h
src/pakfire/key.c
tests/libpakfire/util.c