crypto: shash - Remove dynamic descsize
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | crypto: padlock-sha - Make descsize an algorithm attributedrivers/ | +11 | 0 replies | |
| 2/4 | crypto: zynqmp-sha - Make descsize an algorithm attributedrivers/ | +9 | 0 replies | |
| 3/4 | crypto: hmac - Make descsize an algorithm attributecrypto/ | +1 | 0 replies | |
| 4/4 | crypto: shash - Remove dynamic descsizecrypto/ include/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] crypto: shash - Remove dynamic descsize
Dynamic desc sizes were created for fallbacks. However, it's actually never needed in practice since the only shash fallbacks that can be used all have the same descsize.
Once the fallback cases go away, its use in hmac becomes gratuitous as the spawn descsize is constant.
Remove the two fallback users and then fix hmac to use the spawn descsize. This allows the dynamic descsize to be removed.
Herbert Xu (4):
crypto: padlock-sha - Make descsize an algorithm attribute
crypto: zynqmp-sha - Make descsize an algorithm attribute
crypto: hmac - Make descsize an algorithm attribute
crypto: shash - Remove dynamic descsize
crypto/hmac.c | 4 +--- crypto/shash.c | 18 +----------------- drivers/crypto/padlock-sha.c | 14 +++++++++++--- drivers/crypto/xilinx/zynqmp-sha.c | 11 +++++++++-- include/crypto/hash.h | 3 +-- 5 files changed, 23 insertions(+), 27 deletions(-)
Signature · 1 line
2.39.5