[PATCH 0/4] crypto: shash - Remove dynamic descsize

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

-- 
2.39.5





[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]
  Powered by Linux