Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | chacha20,poly1305: simplify perlasm fanciness | Jason A. Donenfeld | 2018-12-07 | 1 | -39/+37 |
| | |||||
* | chacha20,poly1305: do not use xlate | Jason A. Donenfeld | 2018-11-19 | 1 | -29/+39 |
| | |||||
* | poly1305: make frame pointers for auxiliary calls | Samuel Neves | 2018-11-17 | 1 | -31/+43 |
| | | | | Signed-off-by: Samuel Neves <sneves@dei.uc.pt> | ||||
* | chacha20,poly1305: don't do compiler testing in generator and remove xor helper | Jason A. Donenfeld | 2018-11-15 | 1 | -15/+20 |
| | |||||
* | poly1305: cleanup leftover debugging changes | Jason A. Donenfeld | 2018-11-15 | 1 | -3/+3 |
| | |||||
* | poly1305: only export neon symbols when in use | Jason A. Donenfeld | 2018-11-15 | 1 | -2/+6 |
| | |||||
* | chacha20,poly1305: fix up for win64 | Samuel Neves | 2018-11-15 | 1 | -26/+28 |
| | | | | | | | These don't help us, but it is important to keep this working for when it's re-added to cryptogams. Signed-off-by: Samuel Neves <sneves@dei.uc.pt> | ||||
* | poly1305: specialize to wireguard | Jason A. Donenfeld | 2018-11-15 | 1 | -11/+20 |
| | |||||
* | poly1305: adjust to kernel | Samuel Neves | 2018-11-15 | 1 | -220/+291 |
| | | | | Signed-off-by: Samuel Neves <sneves@dei.uc.pt> | ||||
* | chacha20,poly1305: switch to perlasm originals on x86_64 | Samuel Neves | 2018-11-14 | 2 | -2792/+4159 |
| | | | | Signed-off-by: Samuel Neves <sneves@dei.uc.pt> | ||||
* | chacha20,poly1305: use CONFIG_KERNEL_MODE_NEON in .pl on arm | Jason A. Donenfeld | 2018-11-14 | 2 | -6/+8 |
| | | | | | | While Andy is right to desire a separation between compiler defines and project defines, there are simply too many odd kernel configurations and we require testing for CONFIG_KERNEL_MODE_NEON. | ||||
* | chacha20,poly1305: switch to perlasm originals on mips and arm | Jason A. Donenfeld | 2018-11-14 | 6 | -2301/+2711 |
| | | | | | We also separate out Eric Biggers' Cortex A7 implementation into its own file. | ||||
* | poly1305-donna64: mark large constants as ULL | Jason A. Donenfeld | 2018-10-27 | 1 | -24/+24 |
| | |||||
* | crypto: clean up remaining .h->.c | Jason A. Donenfeld | 2018-10-07 | 3 | -4/+4 |
| | |||||
* | crypto: test all SIMD combinations | Jason A. Donenfeld | 2018-10-06 | 4 | -3/+8 |
| | |||||
* | global: rename include'd C files to be .c | Jason A. Donenfeld | 2018-10-06 | 4 | -7/+7 |
| | | | | | | | | | 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> | ||||
* | poly1305: document rationale for base 2^26->2^64/32 conversion | Jason A. Donenfeld | 2018-10-02 | 2 | -0/+20 |
| | |||||
* | crypto: use ZINC_ARCH macros | Jason A. Donenfeld | 2018-10-02 | 1 | -5/+5 |
| | |||||
* | crypto: add missing static keyword to fpu init functions | Jason A. Donenfeld | 2018-10-02 | 1 | -1/+1 |
| | |||||
* | crypto: WARN_ON in module_init if selftest fails | Jason A. Donenfeld | 2018-10-02 | 1 | -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> | ||||
* | poly1305-mips64: use compiler-defined macros in assembly | Jason A. Donenfeld | 2018-10-02 | 1 | -5/+10 |
| | | | | | | | Andy and I agreed it's more correct to use the compiler-defined macros in assembly code, and not the project specific macros. Suggested-by: Andy Polyakov <appro@openssl.org> | ||||
* | poly1305: feed fpu functions PAGE_SIZE at a time | Jason A. Donenfeld | 2018-10-02 | 4 | -29/+49 |
| | |||||
* | crypto: prefer IS_ENABLED to ifdefs | Jason A. Donenfeld | 2018-10-02 | 3 | -58/+30 |
| | | | | Suggested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> | ||||
* | crypto: rename DEBUG to SELFTEST | Jason A. Donenfeld | 2018-09-25 | 1 | -1/+1 |
| | | | | | Also we make selftest errors of type err, so that they're obvious in dmesg. | ||||
* | poly1305-arm: swap endianness in base 2^26 conversion | Jason A. Donenfeld | 2018-09-25 | 1 | -1/+5 |
| | | | | | | | These are actually 32-bit limbs, so we have to swap them back after the 64-bit arithmetic. Also, change type of boolean for 64-bit. Suggested-by: Andy Polyakov <appro@openssl.org> | ||||
* | chacha20-arm,poly1305-arm: fix big-endian aarch64 | Jason A. Donenfeld | 2018-09-25 | 1 | -12/+12 |
| | | | | Suggested-by: Andy Polyakov <appro@openssl.org> | ||||
* | poly1305-mips64: remove useless preprocessor error | Jason A. Donenfeld | 2018-09-23 | 1 | -4/+0 |
| | |||||
* | crypto-arm: rework KERNEL_MODE_NEON handling again | Jason A. Donenfeld | 2018-09-23 | 3 | -10/+7 |
| | |||||
* | crypto-arm: rework KERNEL_MODE_NEON handling | Jason A. Donenfeld | 2018-09-23 | 1 | -6/+9 |
| | | | | It might be defined even if the compiler doesn't support it. | ||||
* | poly1305-mips32r2: remove all reorder directives | René van Dorst | 2018-09-21 | 1 | -32/+22 |
| | | | | | | | | This requires some minimal rearranging to make work, but for the most part as does the right thing, provided we pass it an optimization flag. Suggested-by: Paul Burton <paul.burton@mips.com> Signed-off-by: René van Dorst <opensource@vdorst.com> | ||||
* | global: put SPDX identifier on its own line | Jason A. Donenfeld | 2018-09-20 | 11 | -22/+22 |
| | | | | | 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 license | Jason A. Donenfeld | 2018-09-20 | 11 | -11/+11 |
| | | | | Suggested-by: Thomas Gleixner <tglx@linutronix.de> | ||||
* | poly1305: account for simd being toggled off midway | Jason A. Donenfeld | 2018-09-20 | 2 | -26/+114 |
| | | | | | | 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. | ||||
* | poly1305: no need to trick gcc 8.1 | Jason A. Donenfeld | 2018-09-19 | 1 | -2/+2 |
| | | | | | | | This reverts 37f114a73ba37219b00a66f0a51219a696599745, since gcc 8.2 no longer exhibits that bug. Suggested-by: Eric Biggers <ebiggers@kernel.org> | ||||
* | poly1305: better module description | Jason A. Donenfeld | 2018-09-18 | 1 | -1/+1 |
| | |||||
* | poly1305-x86_64: show full struct for state | Jason A. Donenfeld | 2018-09-18 | 1 | -5/+7 |
| | |||||
* | crypto: allow for disabling simd in zinc modules | Jason A. Donenfeld | 2018-09-18 | 2 | -5/+16 |
| | |||||
* | crypto: turn Zinc into individual modules | Jason A. Donenfeld | 2018-09-18 | 4 | -3/+31 |
| | |||||
* | crypto: do not use -include trick | Jason A. Donenfeld | 2018-09-17 | 4 | -11/+7 |
| | |||||
* | poly1305-x86_64: don't activate simd for small blocks | Jason A. Donenfeld | 2018-09-17 | 1 | -3/+14 |
| | |||||
* | crypto: pass simd by reference | Jason A. Donenfeld | 2018-09-17 | 4 | -20/+20 |
| | |||||
* | poly1305: do not require simd context for arch | Jason A. Donenfeld | 2018-09-17 | 4 | -11/+6 |
| | |||||
* | crypto: make MIT | Jason A. Donenfeld | 2018-09-16 | 11 | -11/+11 |
| | |||||
* | poly1305: precompute 5*r in init instead of blocks | Jason A. Donenfeld | 2018-09-12 | 2 | -6/+18 |
| | |||||
* | poly1305: rename finish to final | Jason A. Donenfeld | 2018-09-11 | 1 | -3/+3 |
| | |||||
* | poly1305: switch to donna | Jason A. Donenfeld | 2018-09-10 | 3 | -183/+398 |
| | |||||
* | crypto: use CRYPTOGAMS license | Jason A. Donenfeld | 2018-09-06 | 5 | -13/+17 |
| | |||||
* | crypto: import zinc | Jason A. Donenfeld | 2018-09-03 | 9 | -0/+6014 |