aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/crypto/zinc/selftest/chacha20.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* global: rename include'd C files to be .cJason A. Donenfeld2018-10-061-2702/+0
| | | | | | | | | This is done by 259 other files in the kernel tree: linux $ rg '#include.*\.c' -l | wc -l 259 Suggested-by: Sultan Alsawaf <sultanxda@gmail.com>
* simd: introduce useful disabling macroJason A. Donenfeld2018-10-031-2/+1
|
* chacha20: test multiple page span in selftestJason A. Donenfeld2018-10-021-3/+26
|
* chacha20: break out of zero loops in selftestJason A. Donenfeld2018-10-021-0/+5
|
* crypto: rename DEBUG to SELFTESTJason A. Donenfeld2018-09-251-23/+22
| | | | | Also we make selftest errors of type err, so that they're obvious in dmesg.
* chacha20: add bounds checking to selftestsJason A. Donenfeld2018-09-251-1/+45
|
* hchacha20: keep in native endian in wordsJason A. Donenfeld2018-09-251-3/+5
|
* global: reduce stack frame sizeJason A. Donenfeld2018-09-231-8/+17
| | | | This brings it under 1280 on 64-bit and under 1024 on 32-bit systems.
* chacha20: add chunked selftest and test sliding alignments and hchacha20Jason A. Donenfeld2018-09-231-1096/+2466
| | | | | This ensures we're properly updating state[12] and that we're handling all unaligned acceses (in the jump tables for MIPS).
* 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: do not waste space on selftest itemsJason A. Donenfeld2018-09-201-1084/+1153
| | | | | | This unfortunately means we have to define symbols, since we want them in __initconst, but it's better than the other two options (no initconst or wasting space for fixed size buffers).
* crypto: explicitly dual licenseJason A. Donenfeld2018-09-201-1/+1
| | | | Suggested-by: Thomas Gleixner <tglx@linutronix.de>
* chacha20: add independent self testJason A. Donenfeld2018-09-181-0/+1182
This was already tested from the chacha20poly1305 test, but it's useful to be able to test this in isolation too.