[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..
- Bill
-----BEGIN PGP SIGNATURE-----
Version: 2.6.1
iQCVAwUBMCmOdbT+rHlVUGpxAQFdNQP+I5lvR0itV0l2ypGF7EGGKrYcTnSNa0Fn
UqD7IIQ/BqViSeoXFHWzWJ5KUj9+y9RuKmwnMGGrlxRunZSDUya4VX0PZOX0bP4K
rbtu2j2H33cIrDPA+POvVYNAXBj3Sw1paIVf/07937oDZfdsqrn8c4rgXEeMgk4U
aoH4lpMfxY8=
=dd0O
-----END PGP SIGNATURE-----