Test failure in test-ciphers-api.sh
Description of problem:
I am getting FAIL: test-ciphers-api.sh
when running tests on aarch64.
Version of gnutls used:
3.6.7
Distributor of gnutls (e.g., Ubuntu, Fedora, RHEL)
NixOS
How reproducible:
100%.
Steps to Reproduce:
- Try to build gnutls on NixOS on an aarch64 machine.
Actual results:
A bunch of assertion failures like these:
FAIL: test-ciphers-api.sh
=========================
trying aes128-gcm
cipher-api-test: gcm.c:429: nettle_gcm_update: Assertion `ctx->auth_size % GCM_BLOCK_SIZE == 0' failed.
cipher-api-test: gcm.c:479: nettle_gcm_encrypt: Assertion `ctx->data_size % GCM_BLOCK_SIZE == 0' failed.
trying aes256-gcm
cipher-api-test: gcm.c:429: nettle_gcm_update: Assertion `ctx->auth_size % GCM_BLOCK_SIZE == 0' failed.
cipher-api-test: gcm.c:479: nettle_gcm_encrypt: Assertion `ctx->data_size % GCM_BLOCK_SIZE == 0' failed.
trying aes128-cbc
cipher-api-test: cbc.c:53: nettle_cbc_encrypt: Assertion `!(length % block_size)' failed.
trying aes256-cbc
cipher-api-test: cbc.c:53: nettle_cbc_encrypt: Assertion `!(length % block_size)' failed.
(...)
check_status:206: Child died with signal 4
SSSE3 cipher tests failed
FAIL test-ciphers-api.sh (exit status: 1)
============================================================================
Testsuite summary for GnuTLS 3.6.7
============================================================================
# TOTAL: 6
# PASS: 5
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
============================================================================
See tests/slow/test-suite.log
Please report to bugs@gnutls.org
============================================================================
make[4]: *** [Makefile:1975: test-suite.log] Error 1
make[4]: Leaving directory '/build/gnutls-3.6.7/tests/slow'
Expected results:
No test failure.