wolfssl icon indicating copy to clipboard operation
wolfssl copied to clipboard

no math library with pk callbacks and TLS connections

Open JacobBarthelmeh opened this issue 2 years ago • 0 comments

Currently completes a TLS connection with ECC using the configure:

./configure --enable-static --enable-pkcallbacks --disable-fastmath --disable-heapmath --disable-sp-math-all --disable-oldtls --disable-dh --disable-rsa --disable-pwdbased --disable-pkcs12 --disable-benchmark --enable-ecc 

Example server :

./examples/server/server -P -c ./certs/server-ecc.pem  -k ./certs/ecc-key.pem -d

Example client :

./examples/client/client -P -c ./certs/client-ecc-cert.pem -k ./certs/ecc-client-key.pem -A ./certs/ca-ecc-cert.pem 

Comparing the static library with and without a math BN implementation: With sp-math-all 746396 Apr 26 15:41 src/.libs/libwolfssl.a Without any 527256 Apr 26 15:41 src/.libs/libwolfssl.a

JacobBarthelmeh avatar Apr 26 '23 22:04 JacobBarthelmeh