aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/crypto/zinc/curve25519 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* global: rename include'd C files to be .cJason A. Donenfeld2018-10-063-5/+5
| | | | | | | | | 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>
* 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>
* curve25519-arm: adjust commentJason A. Donenfeld2018-10-031-2/+2
|
* curve25519-arm: use new simd apiJason A. Donenfeld2018-10-031-6/+9
|
* crypto: add missing static keyword to fpu init functionsJason A. Donenfeld2018-10-021-1/+1
|
* crypto: document what's used from <crypto/ beside #includeJason A. Donenfeld2018-10-021-1/+1
|
* crypto: WARN_ON in module_init if selftest failsJason A. Donenfeld2018-10-021-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>
* crypto: prefer IS_ENABLED to ifdefsJason A. Donenfeld2018-10-021-5/+3
| | | | Suggested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
* crypto: rename DEBUG to SELFTESTJason A. Donenfeld2018-09-251-1/+1
| | | | | Also we make selftest errors of type err, so that they're obvious in dmesg.
* 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.
* curve25519-hacl64: reduce stack usage under KASANJason A. Donenfeld2018-09-251-2/+1
| | | | Suggested-by: Arnd Bergmann <arnd@arndb.de>
* crypto: make constant naming scheme consistentJason A. Donenfeld2018-09-256-56/+56
|
* crypto-arm: rework KERNEL_MODE_NEON handling againJason A. Donenfeld2018-09-232-9/+4
|
* curve25519-fiat32: work around m68k compiler stack frame bugJason A. Donenfeld2018-09-231-6/+4
| | | | | | | The m68k compiler generates a 1032 byte stack frame. Moving these variables inside the loop fixes that. It also means we're not explicitly memzeroing it any more either, but hopefully that memory is reused anyway by the multiplications.
* crypto-arm: rework KERNEL_MODE_NEON handlingJason A. Donenfeld2018-09-231-3/+7
| | | | It might be defined even if the compiler doesn't support it.
* global: reduce stack frame sizeJason A. Donenfeld2018-09-231-1/+1
| | | | This brings it under 1280 on 64-bit and under 1024 on 32-bit systems.
* global: put SPDX identifier on its own lineJason A. Donenfeld2018-09-207-14/+14
| | | | | 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 licenseJason A. Donenfeld2018-09-207-7/+7
| | | | Suggested-by: Thomas Gleixner <tglx@linutronix.de>
* curve25519-arm: only compile if symbols will be usedJason A. Donenfeld2018-09-181-1/+1
|
* crypto: allow for disabling simd in zinc modulesJason A. Donenfeld2018-09-181-1/+5
|
* crypto: turn Zinc into individual modulesJason A. Donenfeld2018-09-183-2/+30
|
* crypto: do not use -include trickJason A. Donenfeld2018-09-173-7/+5
|
* crypto: make MITJason A. Donenfeld2018-09-167-7/+7
|
* curve25519-x86_64: remove useless defineJason A. Donenfeld2018-09-121-1/+0
|
* curve25519: arm: do not modify sp directlyJason A. Donenfeld2018-09-061-3/+3
| | | | | | Thumb doesn't like this. Reported-by: Roman Mamedov <rm@romanrm.net>
* crypto: import zincJason A. Donenfeld2018-09-037-0/+6254