wolfSSL - Embedded SSL Library
You are not logged in. Please login or register.
Active topics Unanswered topics
Welcome to the wolfSSL Forums!
Please post questions or comments you have about wolfSSL products here. It is helpful to be as descriptive as possible when asking your questions.
References
Stable Releases - download stable product releases.
Development Branch - latest development branch on GitHub.
wolfSSL Manual - wolfSSL (formerly CyaSSL) product manual and API reference.
Search options
No, im expecting TLSv1.2 or TLSv1.3, whichever is smaller. I didn't expect to get exactly 100k ofcourse, but i cant get even 300k... but 400-600k instead. Recommended tinycurl version compiles into 201k with literally everything disabled. only HTTP enabled. That's why i'm wondering maybe need to use some specific version of curl? Because even curl without wolfSSL is much bigger than expected
I'm not using latest versions because it results in even bigger size. I cannot use latest version of wolfssl also because it fails to build when i start disabling unneeded options
git checkout v4.8.0-stable
export CFLAGS="-Wno-error -Os"
./configure \
--host=${ARCH} \
CC=${CROSS_COMPILE}-gcc LD=${CROSS_COMPILE}-ld \
AR=${CROSS_COMPILE}-ar RANLIB=${CROSS_COMPILE}-ranlib \
STRIP=${CROSS_COMPILE}-strip \
RANLIB=${CROSS_COMPILE}-ranlib \
--prefix=/tmp/wolf \
--disable-tls13 --disable-oldtls --disable-sslv3 --disable-tlsv10 \
--disable-sha512 --disable-sha384 --disable-sha224 --disable-sha3 --disable-chacha \
--disable-pkcs12 --disable-poly1305 --disable-dh --disable-rsa \
--disable-examples --disable-crypttests \
--disable-shared --enable-static
and tinycurl
export CFLAGS="-Os -ffunction-sections -fdata-sections -fno-unwind-tables -fno-asynchronous-unwind-tables -flto"
export LDFLAGS="-Wl,-s -Wl,-Bsymbolic -Wl,--gc-sections -lm"
...
disable-everything
...
--with-wolfssl=/tmp/wolf \
--disable-shared \
--enable-static
This results in 470k wolfSSL static lib and 200k curl without ssl, 470k curl with wolfssl
Hi, anyone got build options list that would allow at least something similar to "100k" from the release news?
I cant get even beyond 300 kilobytes for static library (which results in +200k to a tinycurl, which is already 220k in the smallest possible build)
So best case curl with libcurl and wolfssl embedded is 440k, which is extremely far from the "100k"
Trying on tinycurl 7.79.1 and wolfssl around 5.x
Posts found: 3
Generated in 0.022 seconds (95% PHP - 5% DB) with 5 queries