On 2021-02-09 Andreas Metzler ametzler@bebt.de wrote:
Hello,
Upgrading nettle from 3.6 to 3.7 triggers a GnuTLS 3.7.0 testsuite error on both ppc64 and ppc64el:
(sid_ppc64el-dchroot)ametzler@plummer:~/GNUTLS/gnutls28-3.7.0/b4deb/tests$ ./min
[...]
testing chacha20-poly1305 testing tls13-chacha20-poly1305 server:330: client: Error: An unexpected TLS packet was received.
Running the same binary dynamically (with LD_LIBRARY_PATH setting) linked against nettle 3.6 succeeds.
--verbose logs are huge (5-7 MB xz-compressed), I have uploaded them to https://people.debian.org/~ametzler/tmp/
Hello,
I have bisected this[1] in nettle git and found
58a0301437e9beb23130423ff1063a67b6f2b43b ppc: New assembly for chacha_core4, doing four blocks in parallel.
as first bad commit, the previous one (58c55046beda976b10ac3ce930696d172e5e5038 Fix a ChangeLog typo.) works.
cu Andreas
[1] twice :-( First try found d56503602134442832e73bc40a657954d3f8db8f - "Enable fat build by default." so I did a second run with --enable-fat.