On 03/12/2013 10:51 AM, Niels Möller wrote:
I've new written some ARM assembly files for AES, SHA1 and SHA256. I haven't tried any clever scheduling (it seems quite unpredictable), so I think I win over the C code is mainly because I fit the important values in registers. I have benchmarked on a cortex-a9 system, with nice but not earth-shattering improvements over the C implementation.
Have you performed comparisons with the openssl AES-arm implementation? I would be curious about it because the openssl's version was for armv4 and as far as I remembered it outperformed nettle's C implementation for around 10-15% more (values out of memory I couldn't find out my measurements).
regards, Nikos