aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/plugins/chapoly/chapoly_drv.c
Commit message (Collapse)AuthorAgeFilesLines
* chapoly: Add an SSSE3 based driverMartin Willi2015-06-291-0/+2
| | | | | | | | | | | | | We always build the driver on x86/x64, but enable it only if SSSE3 support is detected during runtime. Poly1305 uses parallel 32-bit multiplication operands yielding a 64-bit result, for which two can be done in parallel in SSE. This is minimally faster than multiplication with 64-bit operands, and also works on 32-bit builds not having a __int128 result type. On a 32-bit architecture, this is more than twice as fast as the portable driver, and on 64-bit it is ~30% faster.
* chapoly: Add a ChaCha20/Poly1305 driver implemented in portable CMartin Willi2015-06-291-0/+2
|
* chapoly: Provide a generic ChaCha20/Poly1305 AEAD supporting driver backendsMartin Willi2015-06-291-0/+39