aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/crypto/zinc/chacha20/chacha20.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* chacha20: split chacha20_ctx into unionJason A. Donenfeld2018-10-021-11/+11
| | | | This avoids casts and makes counter increments obvious.
* crypto: add missing static keyword to fpu init functionsJason A. Donenfeld2018-10-021-1/+1
|
* crypto: document what's used from <crypto/ beside #includeJason A. Donenfeld2018-10-021-1/+1
|
* crypto: WARN_ON in module_init if selftest failsJason A. Donenfeld2018-10-021-1/+1
| | | | | | | If it's a built-in and initcall fails, it won't be fatal. So we should at least be loud. Suggested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
* chacha20: feed fpu functions PAGE_SIZE at a timeJason A. Donenfeld2018-10-021-2/+2
| | | | Suggested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
* chacha20: test multiple page span in selftestJason A. Donenfeld2018-10-021-0/+1
|
* crypto: rename DEBUG to SELFTESTJason A. Donenfeld2018-09-251-1/+1
| | | | | Also we make selftest errors of type err, so that they're obvious in dmesg.
* hchacha20: keep in native endian in wordsJason A. Donenfeld2018-09-251-19/+14
|
* chacha20-arm: go with Ard's version to optimize for Cortex-A7Jason A. Donenfeld2018-09-211-19/+12
|
* global: put SPDX identifier on its own lineJason A. Donenfeld2018-09-201-2/+2
| | | | | The kernel has very specific rules correlating file type with comment type, and also SPDX identifiers can't be merged with other comments.
* crypto: explicitly dual licenseJason A. Donenfeld2018-09-201-1/+1
| | | | Suggested-by: Thomas Gleixner <tglx@linutronix.de>
* chacha20: prefer crypto_xor_cpy to avoid memmoveJason A. Donenfeld2018-09-201-5/+3
| | | | Suggested-by: Eric Biggers <ebiggers@kernel.org>
* chacha20: add independent self testJason A. Donenfeld2018-09-181-0/+6
| | | | | This was already tested from the chacha20poly1305 test, but it's useful to be able to test this in isolation too.
* crypto: allow for disabling simd in zinc modulesJason A. Donenfeld2018-09-181-1/+5
|
* crypto: turn Zinc into individual modulesJason A. Donenfeld2018-09-181-4/+25
|
* crypto: do not use -include trickJason A. Donenfeld2018-09-171-1/+7
|
* crypto: pass simd by referenceJason A. Donenfeld2018-09-171-4/+4
|
* crypto: make MITJason A. Donenfeld2018-09-161-1/+1
|
* chacha20: add constant for words in blockJason A. Donenfeld2018-09-121-2/+2
|
* crypto: import zincJason A. Donenfeld2018-09-031-0/+168