RISC OS Open
A fast and easily customised operating system for ARM devices
ROOL
Home | News | Downloads | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account
Forums → Code review →

Using AcornSSL from C

Subscribe to Using AcornSSL from C 4 posts, 3 voices

 
Apr 7, 2021 8:46pm
Avatar Chris Johns (8262) 198 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

 
Apr 8, 2021 2:09pm
Avatar Colin (478) 2308 posts

I made this up for FTPc you are welcome to have. acornssl. hopefully it compiles.

 
Apr 9, 2021 9:38am
Avatar Chris Johns (8262) 198 posts

Thanks Colin. Compiles fine!

 
Apr 9, 2021 5:08pm
Avatar Steffen Huber (91) 1685 posts

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.

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…

Reply

To post replies, please first log in.

Forums → Code review →

Search forums

Social

Follow us on and

ROOL Store

Buy RISC OS Open merchandise here, including SD cards for Raspberry Pi and more.

Donate! Why?

Help ROOL make things happen – please consider donating!

RISC OS IPR

RISC OS is an Open Source operating system owned by RISC OS Developments Ltd and licensed primarily under the Apache 2.0 license.

Description

Developer peer review of proposed code alterations.

Voices

  • Chris Johns (8262)
  • Colin (478)
  • Steffen Huber (91)

Options

  • Forums
  • Login
Site design © RISC OS Open Limited 2018 except where indicated
The RISC OS Open Beast theme is based on Beast's default layout

Valid XHTML 1.0  |  Valid CSS

Powered by Beast © 2006 Josh Goebel and Rick Olson
This site runs on Rails

Hosted by Arachsys