[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "S1" encryption system
-----BEGIN PGP SIGNED MESSAGE-----
BTW, I compiled it and confirmed that decryption is the inverse of
encryption for at least one (key, plaintext) pair..
> BTW I just was starting to look at the key scheduling and I noticed that
> fullkey is indexed in its 2nd slot by i*2 where i goes from 0 to 31, but
> is only declared as being 32 in size in that slot. So I think this is
> another typo, probably the index should be i. This kind of thing does
> not inspire confidence...
It looks very much like the sort of typo you would get from a
mistranslation from assembly language if the target architecture had a
*4-bit* processor. (This is also consistant with the "<<4"'s which
show up in several places in the code).
The typo is consistant -- it shows up every time the key schedule is
referenced; it looks like a semi-mechanical translation was done..
-----BEGIN PGP SIGNATURE-----
-----END PGP SIGNATURE-----