Explicit overflow / incorrect code?

Joshua Rogers honey at internot.info
Sun Dec 28 06:57:20 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/aa45a6fa/attachment.sig>


More information about the Gcrypt-devel mailing list