mbox series

[0/6] crypto: sha256 - Merge 2 separate C implementations into 1, put into separate library

Message ID 20190816211611.2568-1-hdegoede@redhat.com (mailing list archive)
Headers show
Series crypto: sha256 - Merge 2 separate C implementations into 1, put into separate library | expand

Message

Hans de Goede Aug. 16, 2019, 9:16 p.m. UTC
Hi All,

Here is a patch series refactoring the current 2 separate SHA256
C implementations into 1 and put it into a separate library.

There are 2 reasons for this:

1) Remove the code duplication of having 2 separate implementations

2) Offer a separate library SHA256 implementation which can be used
without having to call crypto_alloc_shash first. This is especially
useful for use during early boot when crypto_alloc_shash does not
work yet.

This has been tested on x86, including checking that kecec still works.

This has NOT been tested on s390, if someone with access to s390 can
test that things still build with this series applied and that
kexec still works, that would be great.

Regards,

Hans