Re: Cohen's paper on byte order
From: Mok-Kong Shen (mok-kong.shen_at_t-online.de)
Date: Tue, 20 May 2003 11:35:48 +0200
Brian Gladman wrote:
> In my view AES implementations in software are tested using the external
> byte array interface at which the bit sequence test vectors are applied or
> read using a big-endian transformation to arrays of bytes.
As I expressed previously, the document descirbes
'only' an abstract algorithm for the 'human' readers.
Hence the bit sequences referred to in the document
are to be understood to be in the ordering of his
'logical' view. The hex digits are equivalent to bit
sequences according to the common convention of
re-writing. In the proper domain of the document the
issue of endian-ness thus clearly and simply doesn't
even exist. (There are there only bit sequences, no
interpretation as binary integers whatever.) Only
when one starts to do implementation, i.e. to map
an 8-bit units which AES calls a 'byte' in Fig.2
to a byte in the terminology of the particular
implementor does the issue of endian-ness pops up.
But the writers of the document obviously (and
in my view correctly) assume that the implementors
are capable enough to realize the abstract algorithm
properly in their cocrete codes with due regard
to the (under circumstances idiosyncrytic) properties
of their specific hardware. Thus any claim of
'deficiency' of the AES document in the context of
this thread is bogous in my opinion.
M. K. Shen