[PATCH 00/15] Synchronize libcrypt and libmd with FreeBSD

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Sep 8 13:27:17 UTC 2022


Alan Somers (1):
  Fix C++ includability of crypto headers with static array sizes

Allan Jude (2):
  Replace sys/crypto/sha2/sha2.c with lib/libmd/sha512c.c
  Implement SHA-512 truncated (224 and 256 bits)

Colin Percival (1):
  Retune SHA2 code for improved performance on CPUs

Conrad Meyer (2):
  crypto routines: Hint minimum buffer sizes to the compiler
  Implement SHA2-224 submode of SHA2-256

Pedro F. Giffuni (2):
  General further adoption of SPDX licensing ID tags.
  lib: further adoption of SPDX licensing ID tags.

Sebastian Huber (4):
  libtests/sha: Add tests for SHA224
  libtests/sha: Add tests for SHA384
  libtests/sha: Add tests for SHA512-224
  libtests/sha: Add tests for SHA512-256

Xin LI (3):
  libmd: Always erase context in _Final method,
  Get rid of unused variables.
  libcrypt: There is no need to clear message digest

 cpukit/include/sha224.h        |  62 ++++++
 cpukit/include/sha256.h        |  16 +-
 cpukit/include/sha384.h        |  61 ++++++
 cpukit/include/sha512.h        |  17 +-
 cpukit/include/sha512t.h       |  68 ++++++
 cpukit/libcrypt/crypt-md5.c    |   2 +
 cpukit/libcrypt/crypt-sha256.c |  15 +-
 cpukit/libcrypt/crypt-sha512.c |  15 +-
 cpukit/libcrypt/misc.c         |   4 +-
 cpukit/libmd/sha256c.c         | 230 ++++++++++++--------
 cpukit/libmd/sha512c.c         | 377 +++++++++++++++++++++++----------
 testsuites/libtests/sha/init.c | 215 ++++++++++++++++++-
 12 files changed, 843 insertions(+), 239 deletions(-)
 create mode 100644 cpukit/include/sha224.h
 create mode 100644 cpukit/include/sha384.h
 create mode 100644 cpukit/include/sha512t.h

-- 
2.35.3



More information about the devel mailing list