linux-efi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] crypto: add sha256() function
@ 2020-07-07 18:58 Eric Biggers
  2020-07-07 18:58 ` [PATCH 1/4] crypto: lib/sha256 - " Eric Biggers
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Eric Biggers @ 2020-07-07 18:58 UTC (permalink / raw)
  To: linux-crypto, Herbert Xu
  Cc: alsa-devel, Ard Biesheuvel, Cheng-Yi Chiang,
	Enric Balletbo i Serra, Guenter Roeck, Hans de Goede, linux-efi,
	Mat Martineau, Matthieu Baerts, mptcp, Tzung-Bi Shih

This series adds a function sha256() to the sha256 library so that users
who want to compute a hash in one step can just call sha256() instead of
sha256_init() + sha256_update() + sha256_final().

Patches 2-4 then convert some users to use it.

Eric Biggers (4):
  crypto: lib/sha256 - add sha256() function
  efi: use sha256() instead of open coding
  mptcp: use sha256() instead of open coding
  ASoC: cros_ec_codec: use sha256() instead of open coding

 drivers/firmware/efi/embedded-firmware.c |  9 +++-----
 include/crypto/sha.h                     |  1 +
 lib/crypto/sha256.c                      | 10 +++++++++
 net/mptcp/crypto.c                       | 15 +++----------
 sound/soc/codecs/cros_ec_codec.c         | 27 ++----------------------
 5 files changed, 19 insertions(+), 43 deletions(-)


base-commit: 57c8aa43b9f272c382c253573c82be5cb68fe22d
-- 
2.27.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-07-08 11:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-07 18:58 [PATCH 0/4] crypto: add sha256() function Eric Biggers
2020-07-07 18:58 ` [PATCH 1/4] crypto: lib/sha256 - " Eric Biggers
2020-07-07 18:58 ` [PATCH 2/4] efi: use sha256() instead of open coding Eric Biggers
2020-07-08  5:47 ` [PATCH 0/4] crypto: add sha256() function Ard Biesheuvel
2020-07-08 11:01 ` Hans de Goede

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).