diff options
| author | 2025-11-02 15:42:07 -0800 | |
|---|---|---|
| committer | 2025-11-05 20:30:52 -0800 | |
| commit | a7acd77ebd7f17b07a6ab2ca1dd1e4d487bdfa80 (patch) | |
| tree | 88509831eb6dc2fa97dfdcee2ec9e8f9047a3a15 /kernel/locking/git:/ssh:/git@git.zx2c4.com | |
| parent | lib/crypto: x86/blake2s: Use local labels for data (diff) | |
| download | linux-rng-a7acd77ebd7f17b07a6ab2ca1dd1e4d487bdfa80.tar.xz linux-rng-a7acd77ebd7f17b07a6ab2ca1dd1e4d487bdfa80.zip | |
lib/crypto: x86/blake2s: Improve readability
Various cleanups for readability. No change to the generated code:
- Add some comments
- Add #defines for arguments
- Rename some labels
- Use decimal constants instead of hex where it makes sense.
(The pshufd immediates intentionally remain as hex.)
- Add blank lines when there's a logical break
The round loop still could use some work, but this is at least a start.
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20251102234209.62133-5-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Diffstat (limited to 'kernel/locking/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
