Re: Release 1.1 (beta) of my AES implementation
From: Mok-Kong Shen (mok-kong.shen_at_t-online.de)
Date: 06/29/03
- Next message: Mok-Kong Shen: "Re: Release 1.1 (beta) of my AES implementation"
- Previous message: AE: "Re: Stream cipher against block cipher"
- Maybe in reply to: Mok-Kong Shen: "Release 1.1 (beta) of my AES implementation"
- Next in thread: Douglas A. Gwyn: "Re: Release 1.1 (beta) of my AES implementation"
- Reply: Douglas A. Gwyn: "Re: Release 1.1 (beta) of my AES implementation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sun, 29 Jun 2003 12:03:18 +0200
Eric Lee Green wrote:
>
> Mok-Kong Shen wrote:
> > Note that I have written the copyright notice expressly
> > in such a way that I would have a fairly good chance of
> > knowing the non-portability/non-interoperability, in
> > case such, contrary to my conviction, does happen.
>
> Not having looked at the code, are you properly accounting for big endian vs.
> little endian-ness? Bit shifting code works whether an architecture is
> big-endian or little-endian. Unions used to access individual bytes do not.
>
> Intel is the most common little-endian architecture. Sun SPARC is the most
> common big-endian architecture.
I don't use any bit-shifting of the (32-bit) words. Thus
endian-ness doesn't matter. Further, as said in a previous
post, thanks to two readers of the group, it has been
experimantally confirmed that my code (actually the
relase 1.0 stuff with some corrections) runs on big-endian
machines. I assume on the other hand 8-bit byte. On
a 32-bit machine, where this assumption is not fulfilled
(which should be comparatively rare), my code wouldn't run.
There is, I guess, one problem that could give rise to
non-interoperability, namely the so-called 'bit-sex',
i.e. the different ordering of bits 'within' an
8-bit byte. If a ciphertext generated by one machine
and output to an external medium, e.g. diskette, and
read in by machine of different bit-sex, then in my
understanding one would need conversion (which is
however not difficult). This is related to the issue
of network standard format, if I don't err. But this
kind of non-interoperability would certainly affect
other implementations of AES just as well and is
clearly not a specific problem of my implementation
alone.
M. K. Shen
- Next message: Mok-Kong Shen: "Re: Release 1.1 (beta) of my AES implementation"
- Previous message: AE: "Re: Stream cipher against block cipher"
- Maybe in reply to: Mok-Kong Shen: "Release 1.1 (beta) of my AES implementation"
- Next in thread: Douglas A. Gwyn: "Re: Release 1.1 (beta) of my AES implementation"
- Reply: Douglas A. Gwyn: "Re: Release 1.1 (beta) of my AES implementation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|