"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "cipher/stribog.c" between
libgcrypt-1.9.1.tar.bz2 and libgcrypt-1.9.2.tar.bz2

About: Libgcrypt is a general purpose library of cryptographic building blocks (originally based on GnuPG code).

stribog.c  (libgcrypt-1.9.1.tar.bz2):stribog.c  (libgcrypt-1.9.2.tar.bz2)
skipping to change at line 1302 skipping to change at line 1302
memset (&hd->bctx.buf[i], 0, 64 - i); memset (&hd->bctx.buf[i], 0, 64 - i);
i = 64; i = 64;
transform_bits (hd, hd->bctx.buf, hd->bctx.count * 8); transform_bits (hd, hd->bctx.buf, hd->bctx.count * 8);
g (hd->h, hd->N, Z); g (hd->h, hd->N, Z);
g (hd->h, hd->Sigma, Z); g (hd->h, hd->Sigma, Z);
for (i = 0; i < 8; i++) for (i = 0; i < 8; i++)
hd->h[i] = le_bswap64(hd->h[i]); hd->h[i] = le_bswap64(hd->h[i]);
hd->bctx.count = 0;
_gcry_burn_stack (768); _gcry_burn_stack (768);
} }
static byte * static byte *
stribog_read_512 (void *context) stribog_read_512 (void *context)
{ {
STRIBOG_CONTEXT *hd = context; STRIBOG_CONTEXT *hd = context;
return hd->result; return hd->result;
} }
 End of changes. 1 change blocks. 
0 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)