diff options
| author | Eric Biggers <ebiggers@kernel.org> | 2026-05-22 08:07:33 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-06-10 03:03:03 +0300 |
| commit | 97b768514a6eb5aa8c2806df07aa1d37c5f3b1d2 (patch) | |
| tree | 4243d1cfa0e741059c2dd7a96255d851b8d0904d /include/linux/debugobjects.h | |
| parent | f10e73dffd2abf51c5ba6f5dc724a0df690cd783 (diff) | |
| download | linux-97b768514a6eb5aa8c2806df07aa1d37c5f3b1d2.tar.xz | |
net/rxrpc: Use local FCrypt-PCBC implementation
Use the local implementation of FCrypt-PCBC instead of the crypto API
one. This will allow the crypto API one to be removed. It also
simplifies the code quite a bit.
The local FCrypt-PCBC implementation is also significantly faster than
the crypto API one, since the crypto API one had a lot of overhead. For
example, benchmarking on an x86_64 CPU, I see that FCrypt-PCBC
decryption throughput improved from 83 MB/s to 157 MB/s.
(Meanwhile, AES-256-GCM decryption is 8064 MB/s on the same CPU.
Clearly, anyone looking for good performance, or anything that is
actually secure for that matter, needs to look elsewhere anyway.)
Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Tested-by: Marc Dionne <marc.dionne@auristor.com>
Link: https://patch.msgid.link/20260522050740.84561-3-ebiggers@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
