• Is TLS for the IIgs coming =?UTF-8?B?bGF0ZXI/?=

    From D Finnigan@21:1/5 to All on Tue Jul 23 14:46:14 2024
    As a part of Stephen Heumann's SMB filesystem translator for GS/OS, he also developed 65816 Cryptographic & Hash Libraries which are on GitHub here: https://github.com/sheumann/65816-crypto

    The project Read Me says:

    This package contains libraries implementing cryptographic algorithms for
    the 65816, suitable for use on the Apple IIgs and potentially also other 65816-based systems. Currently, it includes implementations of AES and RC4 encryption and decryption (in lib65816crypto), and of the MD4, MD5, SHA-1,
    and SHA-256 hash functions (in lib65816hash). The core algorithms for each
    of these are written in carefully optimized assembly code, and they can generally process at least several thousand bytes per second on a 2.8 MHz
    Apple IIgs.

    Using the Libraries
    These libraries can easily be used from ORCA/C, or from ORCA/M or other assemblers that permit linking to OMF libraries. (With appropriate glue
    code, they could also be used from other languages.) Refer to the included header files for documentation on how to call them. Note that each algorithm uses a 'context' structure which must be in bank 0. This can be allocated on the stack (e.g. by using a local variable in C), although maximum
    performance will be obtained if it is page-aligned.

    ============

    Availability of these hashes and ciphers brings us one step closer to a TLS library for the Apple IIgs.

    --
    ]DF$
    The New Apple II User's Guide:
    https://macgui.com/newa2guide/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From D Finnigan@21:1/5 to Stephen Heumann on Wed Jul 24 20:13:09 2024
    Stephen Heumann wrote:

    If you could get past that phase to the point of sending encrypted data
    back and forth, then algorithms in the 65816-crypto package (e.g. AES
    and HMAC-SHA256) could be used. That would still be pretty slow, but
    maybe usable for some things, especially on an accelerated IIGS.


    Indeed so. Do you have an accelerator in your Apple IIgs? I do not, but accelerators are a lot more accessible now than they were 10 years ago,
    thanks to recent developments.

    And next step with TLS is to integrate it in IIgs applications. That's going
    to require efforts from IIgs developers.

    --
    ]DF$
    The New Apple II User's Guide:
    https://macgui.com/newa2guide/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)