[PATCH v2 0/7] MD5 library functions
Eric Biggers
ebiggers at kernel.org
Tue Aug 12 04:00:26 AEST 2025
On Tue, Aug 05, 2025 at 03:28:48PM -0700, Eric Biggers wrote:
> This series is targeting libcrypto-next and can also be retrieved from:
>
> git fetch https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git md5-lib-v2
>
> This series introduces a library API for MD5 and HMAC-MD5 and
> reimplements the crypto_shash "md5" and "hmac(md5)" on top of it.
>
> The library API will also be usable directly by various in-kernel users
> that are stuck with MD5 due to having to implement legacy protocols.
>
> This should again look quite boring and familiar, as it mirrors the
> SHA-1 and SHA-2 changes closely.
>
> Changed in v2:
> - Kept the architecture-optimized MD5 code, since unfortunately there
> were objections to removing it.
>
> Eric Biggers (7):
> lib/crypto: md5: Add MD5 and HMAC-MD5 library functions
> lib/crypto: mips/md5: Migrate optimized code into library
> mips: cavium-octeon: Move octeon-crypto.c into parent dir
> lib/crypto: powerpc/md5: Migrate optimized code into library
> lib/crypto: sparc/md5: Migrate optimized code into library
> crypto: md5 - Wrap library and add HMAC support
> lib/crypto: tests: Add KUnit tests for MD5 and HMAC-MD5
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git/log/?h=libcrypto-next
Reviews and acks still greatly appreciated, of course!
- Eric
More information about the Linuxppc-dev
mailing list