Robert Foss
Robert Foss
I've verified the same behaviour on the firmware/SAm0815_experimental branch @ 0a16b523d46a6d9febef5c17daf91c675ab1953f
ping
I would hope for a plaintext by default when replying to received plaintext, plus an option to force the mode.
If the key is the routable identity of an yggrasil node, you want key generation to be quite slow & hard to compute to prevent Sybil attacks on the DHT.
I think at this point even a non ASM implementation would be good. Any old C that just builds on an ARM platform would be an improvement.
Cryptopp has a rather nice AVX/AVX2/NEON runtime selection. BLAKE2_NEON_Compress32: https://github.com/weidai11/cryptopp/blob/master/blake2.cpp#L3466 BLAKE2_NEON_Compress64: https://github.com/weidai11/cryptopp/blob/master/blake2.cpp#L3972
So going with a straight up C implementation covering all architectures that don't have avx/sse available would probably be the better way that. No need for NEON support or anything...
The motivation for adding ARM support is the abundance of hardware. Nearly everyone has a raspberry pi or two laying around. ARM hardware is also only getting faster, A73 CPUs...
Either you'll be doing inter process communication (or worst case repeatedly spawning miner processes) or you'll have to do inter thread communication. I can't tell you which is the fastest,...