Address "make dudect more portable?"
Adds support for running dudect -based constant-time tests on more targets i.e. aarch64 (running Linux kernel), Apple Silicon and more non-x86_64 targets.
Partially addresses https://github.com/oreparaz/dudect/issues/33.
This is great @itzmeanjan . Thank you. Can you please list here the targets in which you tested it? (Maybe the test should be run test.py?)
I'll also test in a bunch of hardware and report back here.
Can you please list here the targets in which you tested it? (Maybe the test should be run
test.py?)
I've tested the patch, issuing make test -j, on following targets.
- 12th Gen Intel(R) Core(TM) i7-1260P : PASSED
$ uname -srm
Linux 6.5.0-15-generic x86_64
- Apple M1 Max : PASSED
$ uname -srm
Darwin 23.2.0 arm64
- ARM Cortex-A72 (i.e. Raspberry Pi 4B) with Linux Kernel Module @ https://github.com/jerinjacobk/armv8_pmu_cycle_counter_el0 : PASSED except
dudect_simple_O0FAILING
$ uname -srm
Linux 6.5.0-1009-raspi aarch64
:wave: @oreparaz can we merge this ?