Topic: custom build - common required files?
L.S. said:
However, it can be built smaller if you cut out some of the ciphers. Some
guys on the OpenWRT project managed to build CyaSSL [wolfSSL] to around 15k.
The wolfSSL code is very compact and organized very well. As you said, to reduce size I'm stripping out ciphers. The problem lies in dependencies. While I am continuing my effort to discover the dependencies, I am hoping you can give some insights. I am trying to build the smallest embedded SSL library possible and only will be using these three features: AES, Diffie-Hellman, SHA-256. In essence my SSL library will support only one stream cipher: AES. The supported client will be built the same.
These are the source files I think I need:
tls.c
ssl.c
aes.c
dh.c
sha256.c
integer.c
random.c
misc.c
Questions:
asm.c - this is assembly for x86 optimization?
So far it appears that integer.o is 50k!?? So I assume adding DH is costly?
I would appreciate any insights.