diff options
author | Stefan Berger <stefanb@linux.ibm.com> | 2021-07-08 22:53:09 -0400 |
---|---|---|
committer | Alexey Kardashevskiy <aik@ozlabs.ru> | 2021-07-09 15:35:56 +1000 |
commit | 064a999a233a5efcfdec70f6f3bbb6e7cda8f78c (patch) | |
tree | 29a94f290cf14dab230492a0c42c129511568f48 | |
parent | 286073fac6d659fe1512ef05b82001677f5a9b43 (diff) | |
download | SLOF-064a999a233a5efcfdec70f6f3bbb6e7cda8f78c.zip SLOF-064a999a233a5efcfdec70f6f3bbb6e7cda8f78c.tar.gz SLOF-064a999a233a5efcfdec70f6f3bbb6e7cda8f78c.tar.bz2 |
tcgbios: Fix a typo in the sha256 algo description
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
-rw-r--r-- | lib/libtpm/sha256.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libtpm/sha256.c b/lib/libtpm/sha256.c index fb67e19..2a09af6 100644 --- a/lib/libtpm/sha256.c +++ b/lib/libtpm/sha256.c @@ -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: * W(t) = sigma1(W(t-2)) + W(t-7) + sigma0(W(t-15)) + W(t-16) */ |