-
Notifications
You must be signed in to change notification settings - Fork 27
Closed
Description
After upgrading libtommath to the latest version (develop branch) there are more or less consinstent CPAN testers failing report from ARM architecture, namely:
- armv6l-linux
- arm64-freebsd
- aarch64-linux
- aarch64-freebsd
It seems to be an issue related to ARM; it does not seem to be compiler specific; other platforms (x86, x86_64) build fine even on different OS (linux, windows, freebds, openbsd).
For example:
- https://www.cpantesters.org/cpan/report/7b112218-4624-11f0-8860-ba8612798db0
- https://www.cpantesters.org/cpan/report/2dc34fd4-45bd-11f0-8f02-593d6e8775ea
- more https://fast2-matrix.cpantesters.org/?dist=CryptX%200.086_004
- or https://fast2-matrix.cpantesters.org/?dist=CryptX%200.086_003
Failing tests:
- t/pk_ecc.t
- t/pk_ecc_test_vectors_openssl.t
Unfortunatelly I do not have an ARM box available for debugging at the moment; but from the diagnostic output it seems that the failing operation is import of an ECC compressed public key which calls ecc_set_key >>> ltc_ecc_import_point (where some maths related magic takes place).
@sjaeckel are there any known issues reported for libtommath+ARM architecture?
- I am using this libtommath commit e823b0c34cea291bdb94d672731e1c1f08525557
- on top of that I have applied
make c89trick (great idea BTW) - plus two small necessary tweaks - patched_s_mp_rand_platform.c + patched_tommath_c89.h
Metadata
Metadata
Assignees
Labels
No labels