aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/crypto/zinc/selftest/poly1305.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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-808/+1028
| | | | | | 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>
* poly1305: account for simd being toggled off midwayJason A. Donenfeld2018-09-201-0/+17
| | | | | | This is a very rare occurance, but we should account for it, so that the calculations aren't wrong. Here we convert from base 2^26 back to base 2^64.
* crypto: turn Zinc into individual modulesJason A. Donenfeld2018-09-181-1/+1
|
* crypto: pass simd by referenceJason A. Donenfeld2018-09-171-9/+10
|
* poly1305: do not require simd context for archJason A. Donenfeld2018-09-171-4/+2
|
* crypto: make MITJason A. Donenfeld2018-09-161-1/+1
|
* poly1305: rename finish to finalJason A. Donenfeld2018-09-111-2/+2
|
* crypto: do not use compound literals in selftestsJason A. Donenfeld2018-09-111-732/+734
| | | | | | | 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.
* 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-061-1/+1
|
* crypto: import zincJason A. Donenfeld2018-09-031-0/+1572