REMOVE

Pike, Jerry jpike@blistex.com
Mon Oct 6 18:37:16 CEST 2003


Please remove this email address from the distribution list on these =
messages!

 -----Original Message-----
From: 	gcrypt-devel-admin@gnupg.org =
[mailto:gcrypt-devel-admin@gnupg.org]  On Behalf Of Simon Josefsson
Sent:	Thursday, October 02, 2003 9:16 AM
To:	Moritz Schulte
Cc:	gcrypt-devel@gnupg.org
Subject:	Re: accessing arcfour sboxes

Werner Koch <wk@gnupg.org> writes:

> On Sat, 27 Sep 2003 22:38:36 +0200, Moritz Schulte said:
>
>> What do you think about this, Simon, Werner?
>
> I think that Simon's needs are very special and would clutter
> Libgcrypt with stuff rarely needed.  Especially with the very simple
> Arcfour algorithm, a separate implementation - outside of Libgcrypt -
> makes sense to me.

I don't disagree with this.

> Simon, can you give us some hints why you need it?

The Kerberos cipher algorithms are specified to take an IV and return
an IV (as well as the actual data to work on), and I have modeled my
API after this.  There is a non-standard but allegedly widely used
Kerberos ARCFOUR cipher and some applications appear to support it
(e.g., Kerberos 'rsh').  Since stream cipher doesn't really have an IV
we can't return it.  But there is still a need to "carry on" the same
state to the next encryption, which essentially is what IV is about
anyway.  So implementations appear to use SBOX + i + j in this
situation as the IV, which would work fine when the crypto API allows
me to extract it.

But copying the ARCFOUR code into my application would work, I guess.

Thanks,
Simon


_______________________________________________
Gcrypt-devel mailing list
Gcrypt-devel@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gcrypt-devel






More information about the Gcrypt-devel mailing list