Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | chacha20: add independent self test | Jason A. Donenfeld | 2018-09-18 | 2 | -0/+1188 |
| | | | | | This was already tested from the chacha20poly1305 test, but it's useful to be able to test this in isolation too. | ||||
* | chacha20poly1305: add __init to selftest helper functions | Jason A. Donenfeld | 2018-09-18 | 1 | -3/+3 |
| | |||||
* | curve25519-arm: only compile if symbols will be used | Jason A. Donenfeld | 2018-09-18 | 1 | -1/+1 |
| | |||||
* | chacha20-x86_64: use correct cut off for avx512-vl | Jason A. Donenfeld | 2018-09-18 | 1 | -1/+1 |
| | |||||
* | poly1305-x86_64: show full struct for state | Jason A. Donenfeld | 2018-09-18 | 1 | -5/+7 |
| | |||||
* | crypto: allow for disabling simd in zinc modules | Jason A. Donenfeld | 2018-09-18 | 6 | -9/+33 |
| | |||||
* | chacha20-x86_64: more limited cascade | Jason A. Donenfeld | 2018-09-18 | 1 | -5/+4 |
| | |||||
* | chacha20poly1305: relax simd between sg chunks | Jason A. Donenfeld | 2018-09-18 | 1 | -0/+2 |
| | |||||
* | crypto: turn Zinc into individual modules | Jason A. Donenfeld | 2018-09-18 | 18 | -18/+151 |
| | |||||
* | crypto: do not use -include trick | Jason A. Donenfeld | 2018-09-17 | 13 | -33/+22 |
| | |||||
* | poly1305-x86_64: don't activate simd for small blocks | Jason A. Donenfeld | 2018-09-17 | 1 | -3/+14 |
| | |||||
* | chacha20-x86_64: don't activate simd for small blocks | Jason A. Donenfeld | 2018-09-17 | 1 | -1/+2 |
| | |||||
* | crypto: pass simd by reference | Jason A. Donenfeld | 2018-09-17 | 11 | -77/+83 |
| | |||||
* | chacha20-x86_64: cascade down implementations | Jason A. Donenfeld | 2018-09-17 | 1 | -3/+3 |
| | |||||
* | poly1305: do not require simd context for arch | Jason A. Donenfeld | 2018-09-17 | 7 | -20/+13 |
| | |||||
* | crypto: make MIT | Jason A. Donenfeld | 2018-09-16 | 34 | -34/+34 |
| | |||||
* | chacha20-arm: swap scalar and neon functions | Jason A. Donenfeld | 2018-09-13 | 1 | -697/+697 |
| | | | | This brings us closer to the original code. | ||||
* | poly1305: precompute 5*r in init instead of blocks | Jason A. Donenfeld | 2018-09-12 | 2 | -6/+18 |
| | |||||
* | curve25519-x86_64: remove useless define | Jason A. Donenfeld | 2018-09-12 | 1 | -1/+0 |
| | |||||
* | chacha20: add constant for words in block | Jason A. Donenfeld | 2018-09-12 | 1 | -2/+2 |
| | |||||
* | poly1305: rename finish to final | Jason A. Donenfeld | 2018-09-11 | 4 | -10/+10 |
| | |||||
* | crypto: do not use compound literals in selftests | Jason A. Donenfeld | 2018-09-11 | 2 | -7704/+7710 |
| | | | | | | | gcc can't apply section attributes to compound literals, so we can't mark the actual data as __initconst. We thus waste space instead, but this shouldn't matter much, since it's cleared after init anyway, and because this is only for debugging. | ||||
* | blake2s-x86_64: fix whitespace errors | Jason A. Donenfeld | 2018-09-10 | 1 | -2/+2 |
| | |||||
* | poly1305: switch to donna | Jason A. Donenfeld | 2018-09-10 | 3 | -183/+398 |
| | |||||
* | poly1305: rewrite self tests from scratch | Jason A. Donenfeld | 2018-09-08 | 1 | -1529/+831 |
| | | | | This removes the old cruft and makes things a bit more idiomatic. | ||||
* | crypto: use CRYPTOGAMS license | Jason A. Donenfeld | 2018-09-06 | 9 | -23/+27 |
| | |||||
* | curve25519: arm: do not modify sp directly | Jason A. Donenfeld | 2018-09-06 | 1 | -3/+3 |
| | | | | | | Thumb doesn't like this. Reported-by: Roman Mamedov <rm@romanrm.net> | ||||
* | global: prefer sizeof(*pointer) when possible | Jason A. Donenfeld | 2018-09-04 | 1 | -1/+1 |
| | | | | Suggested-by: Sultan Alsawaf <sultanxda@gmail.com> | ||||
* | crypto: import zinc | Jason A. Donenfeld | 2018-09-03 | 32 | -0/+33331 |