NEON hardware acceleration of curve25519

I installed kmod-crypto-lib-curve25519 package as a dependency of wireguard-tools.

When I list the files of this package on a cortex a53 openwrt-24.10 installation:

# opkg files kmod-crypto-lib-curve25519
...
/lib/modules/6.6.93/libcurve25519-generic.ko

I would expect to see in the output the accelerated NEON curve25519 module curve25519-neon.ko . Why the generic implementation is installed instead?

Because you use old LTS kernel version and YOU have not backported NEON assembly code.
Will not help you to update to 25.12.x / kernel 6.12 as you have not backported driver there either. next release , kernel 6.18 will have it at no extra effort.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.