Using AcornSSL from C
Chris Johns (8262) 242 posts |
Is there a C interface to the AcornSSL module, or is it a case of calling the SWIs with _swix or similar? I have an old network application that I’m trying to update, and one of the things it now needs to do is talk over SSL. Currently it uses the ‘standard’ socket, connect C calls, and I now want to add option to use SSL. Cheers Chris |
Colin (478) 2433 posts |
I made this up for FTPc you are welcome to have. acornssl. hopefully it compiles. |
Chris Johns (8262) 242 posts |
Thanks Colin. Compiles fine! |
Steffen Huber (91) 1953 posts |
Using AcornSSL via Colin’s lib is certainly possible, however…AcornSSL is currently based on mbedTLS, which is unfortunately still not supporting TLS 1.3. So for a C-based application, it might be worthwhile to try one of the alternative SSL/TLS libs like GnuTLS, BoringSSL, OpenSSL, LibreSSL, WolfSSL or MatrixSSL depending on “will it be easily compiled with Norcroft” or “what license do I need”. After all, IT is always based on reinventing the wheel, so why have only one SSL/TLS implementation… |