aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/crypto/zinc/selftest/chacha20poly1305.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* global: rename include'd C files to be .cJason A. Donenfeld2018-10-061-9038/+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>
* crypto: rename DEBUG to SELFTESTJason A. Donenfeld2018-09-251-14/+14
| | | | | Also we make selftest errors of type err, so that they're obvious in dmesg.
* crypto: make constant naming scheme consistentJason A. Donenfeld2018-09-251-2/+2
|
* global: reduce stack frame sizeJason A. Donenfeld2018-09-231-17/+18
| | | | 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-64/+1
| | | | | 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-7566/+8812
| | | | | | 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>
* chacha20poly1305: add __init to selftest helper functionsJason A. Donenfeld2018-09-181-3/+3
|
* crypto: turn Zinc into individual modulesJason A. Donenfeld2018-09-181-1/+1
|
* crypto: pass simd by referenceJason A. Donenfeld2018-09-171-17/+19
|
* poly1305: do not require simd context for archJason A. Donenfeld2018-09-171-1/+1
|
* crypto: make MITJason A. Donenfeld2018-09-161-1/+1
|
* poly1305: rename finish to finalJason A. Donenfeld2018-09-111-1/+1
|
* crypto: do not use compound literals in selftestsJason A. Donenfeld2018-09-111-6972/+6976
| | | | | | | 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.
* crypto: import zincJason A. Donenfeld2018-09-031-0/+7848