wolfssl icon indicating copy to clipboard operation
wolfssl copied to clipboard

Added ARM poly1305 routine that uses NEON registers. By using the re…

Open llcodesmith opened this issue 3 years ago • 3 comments

…gisters,

all the memory references in the non-NEON poly1305 routine were removed except the memory references for the message block itself.

Still researching other possible uses of NEON instructions to accelerate poly 1305 algorithm.

Description

Please describe the scope of the fix or feature addition.

Fixes zd#

Testing

How did you test?

Checklist

  • [ ] added tests
  • [ ] updated/added doxygen
  • [ ] updated appropriate READMEs
  • [ ] Updated manual and documentation

llcodesmith avatar Sep 06 '22 04:09 llcodesmith

Can one of the admins verify this patch?

wolfSSL-Bot avatar Sep 06 '22 04:09 wolfSSL-Bot

Added two routines.

The first is an ARM 32 bit non-NEON implementation of poly 1305. The second is a rework of that routine to utilize NEON registers, thereby reducing memory accesses.

Research is still on going for a NEON vector solution for the algorithm.

llcodesmith avatar Sep 06 '22 04:09 llcodesmith

ok to test

SparkiDev avatar Sep 06 '22 05:09 SparkiDev