Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2019-12-06 | chacha20poly1305: double check the sgmiter logic with test | 1 | -8/+59 | ||
2019-12-05 | chacha20poly1305: port to sgmitter for 5.5 | 1 | -18/+9 | ||
I'm not totally comfortable with these changes yet, and it'll require some more scrutiny. But it's a start. | |||||
2019-01-07 | global: update copyright | 6 | -6/+6 | ||
2018-10-07 | crypto: use BIT(i) & bitmap instead of (bitmap >> i) & 1 | 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 | 1 | -9/+8 | ||
2018-10-06 | crypto: test all SIMD combinations | 6 | -22/+49 | ||
2018-10-06 | global: rename include'd C files to be .c | 5 | -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> | |||||
2018-10-03 | simd: introduce useful disabling macro | 2 | -3/+2 | ||
2018-10-02 | chacha20: test multiple page span in selftest | 1 | -3/+26 | ||
2018-10-02 | chacha20: break out of zero loops in selftest | 1 | -0/+5 | ||
2018-09-25 | crypto: rename DEBUG to SELFTEST | 5 | -50/+49 | ||
Also we make selftest errors of type err, so that they're obvious in dmesg. | |||||
2018-09-25 | curve25519: show all failures in test case | 1 | -2/+0 | ||
2018-09-25 | chacha20: add bounds checking to selftests | 1 | -1/+45 | ||
2018-09-25 | crypto: make constant naming scheme consistent | 3 | -21/+21 | ||
2018-09-25 | hchacha20: keep in native endian in words | 1 | -3/+5 | ||
2018-09-23 | global: reduce stack frame size | 2 | -25/+35 | ||
This brings it under 1280 on 64-bit and under 1024 on 32-bit systems. | |||||
2018-09-23 | chacha20: add chunked selftest and test sliding alignments and hchacha20 | 2 | -1160/+2467 | ||
This ensures we're properly updating state[12] and that we're handling all unaligned acceses (in the jump tables for MIPS). | |||||
2018-09-20 | global: put SPDX identifier on its own line | 5 | -10/+10 | ||
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 | crypto: do not waste space on selftest items | 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 | crypto: explicitly dual license | 5 | -5/+5 | ||
Suggested-by: Thomas Gleixner <tglx@linutronix.de> | |||||
2018-09-20 | poly1305: account for simd being toggled off midway | 1 | -0/+17 | ||
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-18 | chacha20: add independent self test | 1 | -0/+1182 | ||
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 | 1 | -3/+3 | ||
2018-09-18 | crypto: turn Zinc into individual modules | 4 | -4/+4 | ||
2018-09-17 | crypto: pass simd by reference | 2 | -26/+29 | ||
2018-09-17 | poly1305: do not require simd context for arch | 2 | -5/+3 | ||
2018-09-16 | crypto: make MIT | 4 | -4/+4 | ||
2018-09-11 | poly1305: rename finish to final | 2 | -3/+3 | ||
2018-09-11 | crypto: do not use compound literals in selftests | 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-08 | poly1305: rewrite self tests from scratch | 1 | -1529/+831 | ||
This removes the old cruft and makes things a bit more idiomatic. | |||||
2018-09-06 | crypto: use CRYPTOGAMS license | 1 | -1/+1 | ||
2018-09-03 | crypto: import zinc | 4 | -0/+12836 | ||