crypto: AF_ALG - consolidation
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest16 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/16 | crypto: AF_ALG - consolidation of common data structurescrypto/ crypto/ include/ | +112 | 0 replies | |
| 2/16 | crypto: AF_ALG - consolidation of context data structurecrypto/ crypto/ include/ | +70 | 0 replies | |
| 3/16 | crypto: AF_ALG - consolidate send buffer service functionscrypto/ crypto/ include/ | +38 | 0 replies | |
| 4/16 | crypto: AF_ALG - consolidate RX buffer service functionscrypto/ crypto/ include/ | +28 | 0 replies | |
| 5/16 | crypto: AF_ALG - consolidate TX SGL allocationcrypto/ crypto/ crypto/ +1 more | +43 | 0 replies | |
| 6/16 | crypto: AF_ALG - consolidate counting TX SG entriescrypto/ crypto/ crypto/ +1 more | +59 | 0 replies | |
| 7/16 | crypto: AF_ALG - consolidate counting TX SG entriescrypto/ crypto/ crypto/ +1 more | +87 | 0 replies | |
| 8/16 | crypto: AF_ALG - consolidate freeing TX/RX SGLscrypto/ crypto/ crypto/ +1 more | +40 | 0 replies | |
| 9/16 | crypto: AF_ALG - consolidate waiting for wmemcrypto/ crypto/ crypto/ +1 more | +40 | 0 replies | |
| 10/16 | crypto: AF_ALG - consolidate waking up on writable memorycrypto/ crypto/ crypto/ +1 more | +26 | 0 replies | |
| 11/16 | crypto: AF_ALG - consolidate waiting for TX datacrypto/ crypto/ crypto/ +1 more | +42 | 0 replies | |
| 12/16 | crypto: AF_ALG - consolidate waking up caller for TX datacrypto/ crypto/ crypto/ +1 more | +31 | 0 replies | |
| 13/16 | crypto: AF_ALG - consolidate sendmsg implementationcrypto/ crypto/ crypto/ +1 more | +161 | 0 replies | |
| 14/16 | crypto: AF_ALG - consolidate sendpage implementationcrypto/ crypto/ crypto/ +1 more | +64 | 0 replies | |
| 15/16 | crypto: AF_ALG - consolidate AIO callback handlercrypto/ crypto/ crypto/ +1 more | +38 | 0 replies | |
| 16/16 | crypto: AF_ALG - consolidate poll syscall handlercrypto/ crypto/ crypto/ +1 more | +30 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/16] crypto: AF_ALG - consolidation
Hi,
with the update of the algif_aead and algif_skcipher memory management, a lot of code duplication has been introduced deliberately.
This patch set cleans up the low-hanging fruits. The cleanup of the recvmsg RX SGL copy will come separately as this is not a simple copy and paste operation.
Each patch was tested individually with libkcapi's test suite.
The patch set goes on top of patches "crypto: AF_ALG - return error code when no data was processed" and "crypto: algif_aead - copy AAD from src to dst".
Stephan Mueller (16):
crypto: AF_ALG - consolidation of common data structures
crypto: AF_ALG - consolidation of context data structure
crypto: AF_ALG - consolidate send buffer service functions
crypto: AF_ALG - consolidate RX buffer service functions
crypto: AF_ALG - consolidate TX SGL allocation
crypto: AF_ALG - consolidate counting TX SG entries
crypto: AF_ALG - consolidate counting TX SG entries
crypto: AF_ALG - consolidate freeing TX/RX SGLs
crypto: AF_ALG - consolidate waiting for wmem
crypto: AF_ALG - consolidate waking up on writable memory
crypto: AF_ALG - consolidate waiting for TX data
crypto: AF_ALG - consolidate waking up caller for TX data
crypto: AF_ALG - consolidate sendmsg implementation
crypto: AF_ALG - consolidate sendpage implementation
crypto: AF_ALG - consolidate AIO callback handler
crypto: AF_ALG - consolidate poll syscall handler
crypto/af_alg.c | 597 ++++++++++++++++++++++++++++++++++++++++++++ crypto/algif_aead.c | 641 +++--------------------------------------------- crypto/algif_skcipher.c | 585 +++---------------------------------------- include/crypto/if_alg.h | 163 ++++++++++++ 4 files changed, 830 insertions(+), 1156 deletions(-)
Signature · 1 line
2.13.3