Egregoros

Signal feed

Adrian Chadd <verified.png>

@erikarn@mstdn.social

I have some code and radio stuff. https://erikarn.github.io.

I'm on twitter. https://twitter.com/erikarn .

I do FreeBSD related stuff. https://people.freebsd.org/~adrian/

I dunno, what else? You can just find me via google. I've been on the internet since the 90s.

I'm KK6VQK when I talk on the radio.

Posts

Latest notes

So I'm going to reach out to the original bug filer (q66, who's here on fediverse) to see if we can figure out how to PROPERLY fix it so we don't just disable hardware crypto handling on big endian platforms.

This btw is how a platform dies the death of a thousand cuts - laziness.

(also note the bug 100% fired in QEMU, so "I don't have hardware" isn't a good enough reason. You can run the test suite in a QEMU VM!)

In another case of "you broke something, then you just disabled it" i give you:

OpenSSL "Fixing" PPC64 HW AES crypto handling (save/restore VSX registers) which broke PPC64 bigendian so they just said "oh this is broken, disable it" rather than asking the original developer to fix it.

So, the VSX fix:

https://github.com/openssl/openssl/commit/8f24a148e6f112045cf110c3e3f4e2415d9c11fe

.. which they obviously didn't test on PPC64.

Then someone noticed it broke PPC BE:

https://github.com/openssl/openssl/issues/29845

which was "Fixed" by:

https://github.com/openssl/openssl/commit/1d19060b55b3ab206cf1399220a4bdb5bd7c2d42

@wollman 35 year old code risks a different problem though - I've got plenty of 15+ year old firmware that requires an old version of gcc/binutils and /those/ don't compile on modern compilers.

I'd like modern written C code with modern C features, but many less dependencies. Many.

(And use make, not cmake. Cmake is nice until you have to build it, and it took a week to build on my SGI O2.)