Nettle 3.7.2 and OS X 10.5

2021-03-21 Thread Jeffrey Walton
Hi Everyone, I'm testing Nettle 3.7.2 on a PowerMac with OS X 10.5 . I added -maltivec to CFLAGS and CXXFLAGS. I enabled Altivec builds with --enable-power-altivec and --enable-fat. Auditing the dylib it appears Altivec was not engaged: $ otool -tV /usr/local/lib/libnettle.dylib | grep perm

Nettle 3.7.2 and OS X 10.12.6

2021-03-21 Thread Jeffrey Walton
And it looks like examples are not quite working either: $ make check ... All 110 tests passed Making check in examples TEST_SHLIB_DIR="/Users/jwalton/Build-Scripts/nettle-3.7.2/.lib" \ srcdir="." EMULATOR="" EXEEXT="" \ ".."/run-tests

Re: Nettle 3.7.2 and OS X 10.12.6

2021-03-21 Thread Jeffrey Walton
On Sun, Mar 21, 2021 at 6:18 PM Jeffrey Walton wrote: > > $ make check > ... > ../run-tests aes-test arcfour-test arctwo-test blowfish-test > bcrypt-test cast128-test base16-test base64-test camellia-test > chacha-test cnd-memcpy-test des-test des3-test md2-test md4-test > md5-test

Nettle 3.7.2 and OS X 10.12.6

2021-03-21 Thread Jeffrey Walton
$ make check ... ../run-tests aes-test arcfour-test arctwo-test blowfish-test bcrypt-test cast128-test base16-test base64-test camellia-test chacha-test cnd-memcpy-test des-test des3-test md2-test md4-test md5-test md5-compat-test memeql-test memxor-test gosthash94-test ripemd160-test

[S390x] Optimize SHA functions

2021-03-21 Thread Maamoun TK
I made a patch that optimizes SHA functions on S390x architecture. the patch implements the optimized cores using cipher instructions that have been added to s390x arch in message security assist extensions. The patch uses the following functions: KIMD-SHA-1, KLMD-SHA-1 (SHA1) KIMD-SHA-256,

[AArch64] Fat build support for GCM optimization and syntax improvements

2021-03-21 Thread Maamoun TK
I made a merge request #21 that adds fat build support for GCM implementation on arm64, the patch also updates the README file to stay on par with the other architectures and use m4 macros in gcm-hash.asm (patch provided by Niels

ANNOUNCE: Nettle-3.7.2

2021-03-21 Thread Niels Möller
I've prepared a new bug-fix release of Nettle, a low-level cryptographics library, to fix a serious bug in the function to verify ECDSA signatures. Implications include an assertion failure, which could be used for denial-of-service, when verifying signatures on the secp_224r1 and secp521_r1