aboutsummaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAgeFilesLines
...
* crypto: disable broken implementations in selftestsJason A. Donenfeld2018-10-071-9/+8
|
* compat: clang cannot handle __builtin_constant_pJason A. Donenfeld2018-10-071-0/+7
| | | | | | Or, put differently, we don't want to go chasing down random versions of clang used by XDA users, so we just disable this checking on clang all together.
* compat: make asm/simd.h conditional on its existenceJason A. Donenfeld2018-10-075-23/+24
| | | | Android kernels backported it, complicating things.
* compat: account for ancient ARM assemblerJason A. Donenfeld2018-10-061-0/+25
|
* version: bump snapshot0.0.20181006Jason A. Donenfeld2018-10-062-2/+2
|
* crypto: test all SIMD combinationsJason A. Donenfeld2018-10-0620-40/+82
|
* global: rename include'd C files to be .cJason A. Donenfeld2018-10-0625-34/+34
| | | | | | | | | 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>
* allowedips: remove ifdefs in favor of IS_ENABLEDJason A. Donenfeld2018-10-062-20/+34
|
* wg-quick.8: add policy routing exampleJason A. Donenfeld2018-10-051-0/+26
| | | | | Suggested-by: Toke Høiland-Jørgensen <toke@toke.dk> Suggested-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
* curve25519-arm: rearrange multiplications for better in-order performanceJason A. Donenfeld2018-10-041-12/+12
| | | | Suggested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
* curve25519-arm: writeback to base register when possibleJason A. Donenfeld2018-10-041-58/+27
| | | | Suggested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
* blake2s: always put a simd, even if not use()'dJason A. Donenfeld2018-10-031-2/+5
|
* simd: introduce useful disabling macroJason A. Donenfeld2018-10-033-3/+4
|
* Kconfig: do now allow IPV6=m,WG=yJason A. Donenfeld2018-10-031-0/+1
|
* curve25519-arm: adjust commentJason A. Donenfeld2018-10-031-2/+2
|
* curve25519-arm: use new simd apiJason A. Donenfeld2018-10-031-6/+9
|
* chacha20-arm: use proper reteq macro instead of bxeqJason A. Donenfeld2018-10-021-1/+2
| | | | Suggested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
* qemu: show more messages in console the right wayJason A. Donenfeld2018-10-021-1/+1
|
* qemu: support powerpc64leJason A. Donenfeld2018-10-022-2/+22
| | | | | This uses ELFv2 ABI, which is the only ppc64 ABI musl supports. Big endian uses ELFv1 ABI, which musl doesn't support.
* qemu: give up and accept a mips64r2 worldJason A. Donenfeld2018-10-023-6/+8
| | | | | | We can't do SMP this way, and we also fall back to using the default N32 ABI, which is a bummer. But the mips64r6 toolchain is too much of a hassle to build with Gentoo's crossdev, and at least this works.
* ratelimiter: prefer IS_ENABLEDJason A. Donenfeld2018-10-021-3/+2
|
* global: change BUG_ON to WARN_ONJason A. Donenfeld2018-10-024-27/+19
| | | | Suggested-by: Andrew Lunn <andrew@lunn.ch>
* poly1305: document rationale for base 2^26->2^64/32 conversionJason A. Donenfeld2018-10-022-0/+20
|
* crypto: use ZINC_ARCH macrosJason A. Donenfeld2018-10-022-9/+9
|
* chacha20: no need to align ctxJason A. Donenfeld2018-10-021-1/+1
| | | | | | We don't use vmovdqa any more. Suggested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
* chacha20: split chacha20_ctx into unionJason A. Donenfeld2018-10-025-45/+50
| | | | This avoids casts and makes counter increments obvious.
* qemu: support m68kJason A. Donenfeld2018-10-022-1/+18
|
* crypto: add missing static keyword to fpu init functionsJason A. Donenfeld2018-10-024-4/+3
|
* crypto: document what's used from <crypto/ beside #includeJason A. Donenfeld2018-10-024-4/+3
|
* crypto: WARN_ON in module_init if selftest failsJason A. Donenfeld2018-10-025-5/+5
| | | | | | | 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>
* simd: refactor simd availability handlingJason A. Donenfeld2018-10-022-16/+24
|
* simd: return a bool from simd_relaxJason A. Donenfeld2018-10-021-1/+3
| | | | Suggested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
* global: prefix all functions with wg_Jason A. Donenfeld2018-10-0228-605/+627
| | | | | | | | | | | | | I understand why this must be done, though I'm not so happy about having to do it. In some places, it puts us over 80 chars and we have to break lines up in further ugly ways. And in general, I think this makes things harder to read. Yet another thing we must do to please upstream. Maybe this can be replaced in the future by some kind of automatic module namespacing logic in the linker, or even combined with LTO and aggressive symbol stripping. Suggested-by: Andrew Lunn <andrew@lunn.ch>
* poly1305-mips64: use compiler-defined macros in assemblyJason A. Donenfeld2018-10-021-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>
* blake2s: rename arch function and use slicker le32 helperJason A. Donenfeld2018-10-023-11/+15
|
* blake2s: feed fpu functions PAGE_SIZE at a timeJason A. Donenfeld2018-10-021-14/+28
|
* poly1305: feed fpu functions PAGE_SIZE at a timeJason A. Donenfeld2018-10-024-29/+49
|
* chacha20: feed fpu functions PAGE_SIZE at a timeJason A. Donenfeld2018-10-024-23/+54
| | | | Suggested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
* chacha20: test multiple page span in selftestJason A. Donenfeld2018-10-022-3/+27
|
* chacha20: break out of zero loops in selftestJason A. Donenfeld2018-10-021-0/+5
|
* crypto: prefer IS_ENABLED to ifdefsJason A. Donenfeld2018-10-028-135/+73
| | | | Suggested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
* crypto: ignore ARMv3Jason A. Donenfeld2018-10-021-1/+1
|
* compat: kernels < 3.17 don't have read_cpuid_partNathan Chancellor2018-10-021-0/+4
| | | | | | | | Use read_cpuid_part_number, which was the same thing before upstream commit af040ffc9ba1 ("ARM: make it easier to check the CPU part number correctly"). Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
* qemu: support more arm big endian platformsJason A. Donenfeld2018-10-025-4/+43
|
* crypto: rename DEBUG to SELFTESTJason A. Donenfeld2018-09-2511-59/+59
| | | | | Also we make selftest errors of type err, so that they're obvious in dmesg.
* poly1305-arm: swap endianness in base 2^26 conversionJason A. Donenfeld2018-09-251-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>
* curve25519-arm: disable on big-endianJason A. Donenfeld2018-09-252-3/+3
| | | | | The qhasm was only written for little-endian systems, and we don't want disaster to ensue.
* chacha20-arm,poly1305-arm: fix big-endian aarch64Jason A. Donenfeld2018-09-252-21/+21
| | | | Suggested-by: Andy Polyakov <appro@openssl.org>
* curve25519: show all failures in test caseJason A. Donenfeld2018-09-251-2/+0
|
* version: bump snapshot0.0.20180925Jason A. Donenfeld2018-09-252-2/+2
|