[SLOF] [PATCH v6 5/7] tpm: Add sha256 implementation

Segher Boessenkool segher at kernel.crashing.org
Mon Jan 20 23:08:37 AEDT 2020


Hi!

On Wed, Jan 15, 2020 at 03:00:46PM -0500, Stefan Berger wrote:
> The following patch adds a SHA256 implementation based on the algorithm
> description in NIST FIPS PUB 180-4. The patch includes test cases that test
> the sha256 implementation and pass on big and little endian ppc64 hosts.

> --- /dev/null
> +++ b/lib/libtpm/sha256.c

> +/*
> + *  See: NIST standard for SHA-1 in FIPS PUB 180-4
> + */

That seems wrong ;-)


Segher


More information about the SLOF mailing list