Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2018-09-20 | global: put SPDX identifier on its own line | Jason A. Donenfeld | 108 | -216/+216 | |
The kernel has very specific rules correlating file type with comment type, and also SPDX identifiers can't be merged with other comments. | |||||
2018-09-20 | ratelimiter: disable selftest with KASAN | Jason A. Donenfeld | 1 | -0/+4 | |
This this relies on instructions taking a "normal" amount of time, we really can't run this with KASAN, especially inside QEMU, so just disable it for KASAN, since it's hard to make it complete on slow systems. | |||||
2018-09-20 | crypto: do not waste space on selftest items | Jason A. Donenfeld | 3 | -9458/+10993 | |
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). | |||||
2018-09-20 | netlink: reverse my christmas trees | Jason A. Donenfeld | 1 | -10/+11 | |
2018-09-20 | crypto: explicitly dual license | Jason A. Donenfeld | 41 | -41/+41 | |
Suggested-by: Thomas Gleixner <tglx@linutronix.de> | |||||
2018-09-20 | poly1305: account for simd being toggled off midway | Jason A. Donenfeld | 3 | -26/+131 | |
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. | |||||
2018-09-20 | allowedips: change from BUG_ON to WARN_ON | Jason A. Donenfeld | 2 | -3/+3 | |
This is never going to hit anyway, and if it does, it's a development problem that will be caught with the selftests anyway. So don't make Andrew Lunn upset, and just change it to a WARN_ON. Suggested-by: Andrew Lunn <andrew@lunn.ch> | |||||
2018-09-20 | chacha20: prefer crypto_xor_cpy to avoid memmove | Jason A. Donenfeld | 2 | -5/+31 | |
Suggested-by: Eric Biggers <ebiggers@kernel.org> | |||||
2018-09-19 | poly1305: no need to trick gcc 8.1 | Jason A. Donenfeld | 1 | -2/+2 | |
This reverts 37f114a73ba37219b00a66f0a51219a696599745, since gcc 8.2 no longer exhibits that bug. Suggested-by: Eric Biggers <ebiggers@kernel.org> | |||||
2018-09-19 | blake2s: simplify final function | Jason A. Donenfeld | 3 | -40/+19 | |
Suggested-by: Eric Biggers <ebiggers@kernel.org> | |||||
2018-09-18 | poly1305: better module description | Jason A. Donenfeld | 1 | -1/+1 | |
2018-09-18 | version: bump snapshot0.0.20180918 | Jason A. Donenfeld | 2 | -2/+2 | |
2018-09-18 | chacha20: add independent self test | Jason A. Donenfeld | 2 | -0/+1188 | |
This was already tested from the chacha20poly1305 test, but it's useful to be able to test this in isolation too. | |||||
2018-09-18 | chacha20poly1305: add __init to selftest helper functions | Jason A. Donenfeld | 1 | -3/+3 | |
2018-09-18 | curve25519-arm: only compile if symbols will be used | Jason A. Donenfeld | 1 | -1/+1 | |
2018-09-18 | chacha20-x86_64: use correct cut off for avx512-vl | Jason A. Donenfeld | 1 | -1/+1 | |
2018-09-18 | poly1305-x86_64: show full struct for state | Jason A. Donenfeld | 1 | -5/+7 | |
2018-09-18 | crypto: allow for disabling simd in zinc modules | Jason A. Donenfeld | 6 | -9/+33 | |
2018-09-18 | chacha20-x86_64: more limited cascade | Jason A. Donenfeld | 1 | -5/+4 | |
2018-09-18 | chacha20poly1305: relax simd between sg chunks | Jason A. Donenfeld | 1 | -0/+2 | |
2018-09-18 | crypto: turn Zinc into individual modules | Jason A. Donenfeld | 25 | -54/+172 | |
2018-09-17 | crypto: do not use -include trick | Jason A. Donenfeld | 14 | -51/+34 | |
2018-09-17 | poly1305-x86_64: don't activate simd for small blocks | Jason A. Donenfeld | 1 | -3/+14 | |
2018-09-17 | chacha20-x86_64: don't activate simd for small blocks | Jason A. Donenfeld | 1 | -1/+2 | |
2018-09-17 | crypto: pass simd by reference | Jason A. Donenfeld | 17 | -109/+129 | |
2018-09-17 | chacha20-x86_64: cascade down implementations | Jason A. Donenfeld | 1 | -3/+3 | |
2018-09-17 | poly1305: do not require simd context for arch | Jason A. Donenfeld | 8 | -22/+14 | |
2018-09-16 | crypto: make MIT | Jason A. Donenfeld | 39 | -39/+39 | |
2018-09-16 | qemu: always pull and reset against integration tree | Jason A. Donenfeld | 1 | -0/+5 | |
2018-09-16 | global: remove non-essential inline annotations | Jason A. Donenfeld | 5 | -30/+23 | |
2018-09-16 | send/receive: reduce number of sg entries | Jason A. Donenfeld | 2 | -2/+2 | |
This reduces stack usage to quell warnings on powerpc. | |||||
2018-09-15 | simd: add __must_check annotation | Jason A. Donenfeld | 1 | -2/+2 | |
Suggested-by: Andy Lutomirski <luto@amacapital.net> | |||||
2018-09-13 | chacha20-arm: swap scalar and neon functions | Jason A. Donenfeld | 1 | -697/+697 | |
This brings us closer to the original code. | |||||
2018-09-12 | poly1305: precompute 5*r in init instead of blocks | Jason A. Donenfeld | 2 | -6/+18 | |
2018-09-12 | curve25519-x86_64: remove useless define | Jason A. Donenfeld | 1 | -1/+0 | |
2018-09-12 | chacha20: add constant for words in block | Jason A. Donenfeld | 2 | -2/+3 | |
2018-09-11 | poly1305: rename finish to final | Jason A. Donenfeld | 5 | -13/+13 | |
2018-09-11 | kconfig: make NEON depend on CPU_V7 | Jason A. Donenfeld | 1 | -3/+3 | |
2018-09-11 | crypto: make sure UML is properly disabled | Jason A. Donenfeld | 1 | -4/+4 | |
2018-09-11 | crypto: do not use compound literals in selftests | Jason A. Donenfeld | 2 | -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. | |||||
2018-09-10 | blake2s-x86_64: fix whitespace errors | Jason A. Donenfeld | 1 | -2/+2 | |
2018-09-10 | version: bump snapshot0.0.20180910 | Jason A. Donenfeld | 2 | -2/+2 | |
2018-09-10 | poly1305: switch to donna | Jason A. Donenfeld | 3 | -183/+398 | |
2018-09-08 | poly1305: rewrite self tests from scratch | Jason A. Donenfeld | 1 | -1529/+831 | |
This removes the old cruft and makes things a bit more idiomatic. | |||||
2018-09-06 | compat: move simd.h from crypto to compat since it's going upstream | Jason A. Donenfeld | 2 | -0/+4 | |
2018-09-06 | compat: arch-namespace certain includes | Jason A. Donenfeld | 5 | -8/+8 | |
2018-09-06 | compat: support neon.h on old kernels | Jason A. Donenfeld | 2 | -0/+14 | |
Reported-by: Philipp Richter <richterphilipp.pops@gmail.com> | |||||
2018-09-06 | crypto: use CRYPTOGAMS license | Jason A. Donenfeld | 9 | -23/+27 | |
2018-09-06 | curve25519: arm: do not modify sp directly | Jason A. Donenfeld | 1 | -3/+3 | |
Thumb doesn't like this. Reported-by: Roman Mamedov <rm@romanrm.net> | |||||
2018-09-04 | version: bump snapshot0.0.20180904 | Jason A. Donenfeld | 2 | -2/+2 | |