libtom / libtomcrypt

LibTomCrypt is a fairly comprehensive, modular and portable cryptographic toolkit that provides developers with a vast array of well known published block ciphers, one-way hash functions, chaining modes, pseudo-random number generators, public key cryptography and a plethora of other routines.
https://www.libtom.net
Other
1.55k stars 457 forks source link

m68k platforms are big endian #567

Closed dcantrell closed 3 years ago

dcantrell commented 3 years ago

The endianness fallback in tomcrypt_cfg.h lacked a check for the gcc define for m68k. I discovered this while building dropbear on A/UX 3.1.1 on a Macintosh Quadra 700 (yes, in 2021). Adding the check for the gcc m68k define gets everything building.

Signed-off-by: David Cantrell david.l.cantrell@gmail.com