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

Joel Sherrill joel at rtems.org
Thu Sep 8 14:21:56 UTC 2022


Were there no updates to md4/md5 code in libmd? git blame shows md4.c as
having mostly no updates in 15 years.

--joel

On Thu, Sep 8, 2022 at 8:27 AM Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:

> 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
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20220908/6e58d726/attachment.htm>


More information about the devel mailing list