Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2018-10-07 | makefile: do more generic wildcard so as to avoid rename issues | Jason A. Donenfeld | 2 | -2/+2 | |
Commit ad5e4210 (global: rename include'd C files to be .c) breaks install target for dkms sources. Fix installing selftest/*.c. Suggested-by: Christian Hesse <mail@eworm.de> | |||||
2018-10-07 | crypto: use BIT(i) & bitmap instead of (bitmap >> i) & 1 | Jason A. Donenfeld | 1 | -2/+2 | |
Pros: clearer if you're not familiar with the shift idiom, uses kernel macro. Cons: doesn't work any more if the lvalue ever ceases to be a bool. Neutral: generates the same machine code. Suggested-by: Sultan Alsawaf <sultanxda@gmail.com> | |||||
2018-10-07 | crypto: disable broken implementations in selftests | Jason A. Donenfeld | 1 | -9/+8 | |
2018-10-07 | compat: clang cannot handle __builtin_constant_p | Jason A. Donenfeld | 1 | -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. | |||||
2018-10-07 | compat: make asm/simd.h conditional on its existence | Jason A. Donenfeld | 5 | -23/+24 | |
Android kernels backported it, complicating things. | |||||
2018-10-06 | compat: account for ancient ARM assembler | Jason A. Donenfeld | 1 | -0/+25 | |
2018-10-06 | version: bump snapshot0.0.20181006 | Jason A. Donenfeld | 2 | -2/+2 | |
2018-10-06 | crypto: test all SIMD combinations | Jason A. Donenfeld | 20 | -40/+82 | |
2018-10-06 | global: rename include'd C files to be .c | Jason A. Donenfeld | 25 | -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> | |||||
2018-10-06 | allowedips: remove ifdefs in favor of IS_ENABLED | Jason A. Donenfeld | 2 | -20/+34 | |
2018-10-05 | wg-quick.8: add policy routing example | Jason A. Donenfeld | 1 | -0/+26 | |
Suggested-by: Toke Høiland-Jørgensen <toke@toke.dk> Suggested-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org> | |||||
2018-10-04 | curve25519-arm: rearrange multiplications for better in-order performance | Jason A. Donenfeld | 1 | -12/+12 | |
Suggested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> | |||||
2018-10-04 | curve25519-arm: writeback to base register when possible | Jason A. Donenfeld | 1 | -58/+27 | |
Suggested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> | |||||
2018-10-03 | blake2s: always put a simd, even if not use()'d | Jason A. Donenfeld | 1 | -2/+5 | |
2018-10-03 | simd: introduce useful disabling macro | Jason A. Donenfeld | 3 | -3/+4 | |
2018-10-03 | Kconfig: do now allow IPV6=m,WG=y | Jason A. Donenfeld | 1 | -0/+1 | |
2018-10-03 | curve25519-arm: adjust comment | Jason A. Donenfeld | 1 | -2/+2 | |
2018-10-03 | curve25519-arm: use new simd api | Jason A. Donenfeld | 1 | -6/+9 | |
2018-10-02 | chacha20-arm: use proper reteq macro instead of bxeq | Jason A. Donenfeld | 1 | -1/+2 | |
Suggested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> | |||||
2018-10-02 | qemu: show more messages in console the right way | Jason A. Donenfeld | 1 | -1/+1 | |
2018-10-02 | qemu: support powerpc64le | Jason A. Donenfeld | 2 | -2/+22 | |
This uses ELFv2 ABI, which is the only ppc64 ABI musl supports. Big endian uses ELFv1 ABI, which musl doesn't support. | |||||
2018-10-02 | qemu: give up and accept a mips64r2 world | Jason A. Donenfeld | 3 | -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. | |||||
2018-10-02 | ratelimiter: prefer IS_ENABLED | Jason A. Donenfeld | 1 | -3/+2 | |
2018-10-02 | global: change BUG_ON to WARN_ON | Jason A. Donenfeld | 4 | -27/+19 | |
Suggested-by: Andrew Lunn <andrew@lunn.ch> | |||||
2018-10-02 | poly1305: document rationale for base 2^26->2^64/32 conversion | Jason A. Donenfeld | 2 | -0/+20 | |
2018-10-02 | crypto: use ZINC_ARCH macros | Jason A. Donenfeld | 2 | -9/+9 | |
2018-10-02 | chacha20: no need to align ctx | Jason A. Donenfeld | 1 | -1/+1 | |
We don't use vmovdqa any more. Suggested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> | |||||
2018-10-02 | chacha20: split chacha20_ctx into union | Jason A. Donenfeld | 5 | -45/+50 | |
This avoids casts and makes counter increments obvious. | |||||
2018-10-02 | qemu: support m68k | Jason A. Donenfeld | 2 | -1/+18 | |
2018-10-02 | crypto: add missing static keyword to fpu init functions | Jason A. Donenfeld | 4 | -4/+3 | |
2018-10-02 | crypto: document what's used from <crypto/ beside #include | Jason A. Donenfeld | 4 | -4/+3 | |
2018-10-02 | crypto: WARN_ON in module_init if selftest fails | Jason A. Donenfeld | 5 | -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> | |||||
2018-10-02 | simd: refactor simd availability handling | Jason A. Donenfeld | 2 | -16/+24 | |
2018-10-02 | simd: return a bool from simd_relax | Jason A. Donenfeld | 1 | -1/+3 | |
Suggested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> | |||||
2018-10-02 | global: prefix all functions with wg_ | Jason A. Donenfeld | 28 | -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> | |||||
2018-10-02 | poly1305-mips64: use compiler-defined macros in assembly | Jason A. Donenfeld | 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> | |||||
2018-10-02 | blake2s: rename arch function and use slicker le32 helper | Jason A. Donenfeld | 3 | -11/+15 | |
2018-10-02 | blake2s: feed fpu functions PAGE_SIZE at a time | Jason A. Donenfeld | 1 | -14/+28 | |
2018-10-02 | poly1305: feed fpu functions PAGE_SIZE at a time | Jason A. Donenfeld | 4 | -29/+49 | |
2018-10-02 | chacha20: feed fpu functions PAGE_SIZE at a time | Jason A. Donenfeld | 4 | -23/+54 | |
Suggested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> | |||||
2018-10-02 | chacha20: test multiple page span in selftest | Jason A. Donenfeld | 2 | -3/+27 | |
2018-10-02 | chacha20: break out of zero loops in selftest | Jason A. Donenfeld | 1 | -0/+5 | |
2018-10-02 | crypto: prefer IS_ENABLED to ifdefs | Jason A. Donenfeld | 8 | -135/+73 | |
Suggested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> | |||||
2018-10-02 | crypto: ignore ARMv3 | Jason A. Donenfeld | 1 | -1/+1 | |
2018-10-02 | compat: kernels < 3.17 don't have read_cpuid_part | Nathan Chancellor | 1 | -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> | |||||
2018-10-02 | qemu: support more arm big endian platforms | Jason A. Donenfeld | 5 | -4/+43 | |
2018-09-25 | crypto: rename DEBUG to SELFTEST | Jason A. Donenfeld | 11 | -59/+59 | |
Also we make selftest errors of type err, so that they're obvious in dmesg. | |||||
2018-09-25 | poly1305-arm: swap endianness in base 2^26 conversion | Jason A. Donenfeld | 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> | |||||
2018-09-25 | curve25519-arm: disable on big-endian | Jason A. Donenfeld | 2 | -3/+3 | |
The qhasm was only written for little-endian systems, and we don't want disaster to ensue. | |||||
2018-09-25 | chacha20-arm,poly1305-arm: fix big-endian aarch64 | Jason A. Donenfeld | 2 | -21/+21 | |
Suggested-by: Andy Polyakov <appro@openssl.org> |