0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 17:51:53 +00:00

SHA256: Remove 32-bit move at the 32-bit number

This commit is contained in:
Pavel Tvrdík 2015-06-16 15:13:53 +02:00
parent c40185a176
commit 700cf1c203

View File

@ -298,7 +298,7 @@ sha256_final(struct sha256_context *ctx)
if (sizeof t == sizeof ctx->nblocks)
th = ctx->nblocks_high;
else
th = ctx->nblocks >> 32;
th = 0;
/* multiply by 64 to make a byte count */
lsb = t << 6;