Explicit overflow / incorrect code?

Joshua Rogers git at internot.info
Sun Dec 28 08:19:17 CET 2014


Hi,

In /cipher/gostr3411-94.c:

310  for (i = 1; i < 32 && nblocks != 0; i++)
311    {
312      l[i] = nblocks;

But in
/cipher/gostr3411-94.c:
284  u32 l[8];


I believe it should be:
for (i = *0*; i < *8* && nblocks != 0; i++)

right?


Thanks,


-- 
-- Joshua Rogers <https://internot.info/>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20141228/76187514/attachment.sig>


More information about the Gcrypt-devel mailing list