Path: csiph.com!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: D Finnigan Newsgroups: comp.sys.apple2 Subject: Is TLS for the IIgs coming =?UTF-8?B?bGF0ZXI/?= Date: Tue, 23 Jul 2024 14:46:14 -0000 (UTC) Organization: Mac GUI Lines: 34 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Tue, 23 Jul 2024 16:46:15 +0200 (CEST) Injection-Info: dont-email.me; posting-host="1a501d77340ff6707a1dc4f5dab7c8b8"; logging-data="1325116"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/bS7bVtXjn7Ddcs2uMCszw" User-Agent: Mac GUI Usenet Cancel-Lock: sha1:vdvj/vVpReYlmqES9U7zsM1SAE4= Xref: csiph.com comp.sys.apple2:48991 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/