aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/crypto/zinc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* chacha20: add independent self testJason A. Donenfeld2018-09-182-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 functionsJason A. Donenfeld2018-09-181-3/+3
|
* curve25519-arm: only compile if symbols will be usedJason A. Donenfeld2018-09-181-1/+1
|
* chacha20-x86_64: use correct cut off for avx512-vlJason A. Donenfeld2018-09-181-1/+1
|
* poly1305-x86_64: show full struct for stateJason A. Donenfeld2018-09-181-5/+7
|
* crypto: allow for disabling simd in zinc modulesJason A. Donenfeld2018-09-186-9/+33
|
* chacha20-x86_64: more limited cascadeJason A. Donenfeld2018-09-181-5/+4
|
* chacha20poly1305: relax simd between sg chunksJason A. Donenfeld2018-09-181-0/+2
|
* crypto: turn Zinc into individual modulesJason A. Donenfeld2018-09-1818-18/+151
|
* crypto: do not use -include trickJason A. Donenfeld2018-09-1713-33/+22
|
* poly1305-x86_64: don't activate simd for small blocksJason A. Donenfeld2018-09-171-3/+14
|
* chacha20-x86_64: don't activate simd for small blocksJason A. Donenfeld2018-09-171-1/+2
|
* crypto: pass simd by referenceJason A. Donenfeld2018-09-1711-77/+83
|
* chacha20-x86_64: cascade down implementationsJason A. Donenfeld2018-09-171-3/+3
|
* poly1305: do not require simd context for archJason A. Donenfeld2018-09-177-20/+13
|
* crypto: make MITJason A. Donenfeld2018-09-1634-34/+34
|
* chacha20-arm: swap scalar and neon functionsJason A. Donenfeld2018-09-131-697/+697
| | | | This brings us closer to the original code.
* poly1305: precompute 5*r in init instead of blocksJason A. Donenfeld2018-09-122-6/+18
|
* curve25519-x86_64: remove useless defineJason A. Donenfeld2018-09-121-1/+0
|
* chacha20: add constant for words in blockJason A. Donenfeld2018-09-121-2/+2
|
* poly1305: rename finish to finalJason A. Donenfeld2018-09-114-10/+10
|
* crypto: do not use compound literals in selftestsJason A. Donenfeld2018-09-112-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 errorsJason A. Donenfeld2018-09-101-2/+2
|
* poly1305: switch to donnaJason A. Donenfeld2018-09-103-183/+398
|
* poly1305: rewrite self tests from scratchJason A. Donenfeld2018-09-081-1529/+831
| | | | This removes the old cruft and makes things a bit more idiomatic.
* crypto: use CRYPTOGAMS licenseJason A. Donenfeld2018-09-069-23/+27
|
* curve25519: arm: do not modify sp directlyJason A. Donenfeld2018-09-061-3/+3
| | | | | | Thumb doesn't like this. Reported-by: Roman Mamedov <rm@romanrm.net>
* global: prefer sizeof(*pointer) when possibleJason A. Donenfeld2018-09-041-1/+1
| | | | Suggested-by: Sultan Alsawaf <sultanxda@gmail.com>
* crypto: import zincJason A. Donenfeld2018-09-0332-0/+33331