[SLOF] [PATCH 2/4] tcgbios: Add implementations for sha1, sha384, and sha512

Stefan Berger stefanb at linux.ibm.com
Mon Jun 28 21:39:36 AEST 2021


On 6/28/21 3:45 AM, Alexey Kardashevskiy wrote:
>
>> @@ -90,7 +90,7 @@ static void sha256_block(uint32_t *w, sha256_ctx *ctx)
>>        *
>>        *  0 <= i <= 15:
>>        *    W(t) = M(t)
>> -     * 16 <= i <= 79:
>> +     * 16 <= i <= 63:
>
>
> What is this change about? Thanks,


Code comment was wrong. That's all.

All see pdf page 24 (doc page 19) bottom here: 
https://csrc.nist.gov/csrc/media/publications/fips/180/2/archive/2002-08-01/documents/fips180-2.pdf

    Stefan


More information about the SLOF mailing list