diff options
author | Eric Biggers <ebiggers@google.com> | 2025-04-02 07:33:33 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-04-07 02:33:53 +0300 |
commit | 4bf4b5046de0ef7f9dc50f3a9ef8a6dcda178a6d (patch) | |
tree | 3d60c5ee7f32d122d91f246abff05b37e4db7762 /scripts/lib/abi/helpers.py | |
parent | 1ec94a9f6dd870a4d9c799d26e440c8f6b6268d2 (diff) | |
download | linux-4bf4b5046de0ef7f9dc50f3a9ef8a6dcda178a6d.tar.xz |
bcachefs: use library APIs for ChaCha20 and Poly1305
Just use the ChaCha20 and Poly1305 libraries instead of the clunky
crypto API. This is much simpler. It is also slightly faster, since
the libraries provide more direct access to the same
architecture-optimized ChaCha20 and Poly1305 code.
I've tested that existing encrypted bcachefs filesystems can be continue
to be accessed with this patch applied.
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'scripts/lib/abi/helpers.py')
0 files changed, 0 insertions, 0 deletions