[PATCH] Add support for 128-bit keys in RC2

Nikos Mavrogiannopoulos nmav at gnutls.org
Wed Oct 2 18:12:55 CEST 2013


On 10/01/2013 02:59 PM, Peter Wu wrote:

> Can you also update the documentation? In doc/gcrypt.texi from line 1563 it 
> says:
>     Ron's Cipher 2 in the 40 and 128 bit variants.  Note, that we currently
>     only support the 40 bit variant.  The identifier for 128 is reserved for
>     future use. 
> If keys of any length (ranging from 0 to 1024?) are allowed, it could be 
> specified in there.

They are allowed, but it isn't the normal RC2 cipher. It is the RC2-40
which uses a different key expansion. There is no point to use this
variant with longer keys.

regards,
Nikos




More information about the Gcrypt-devel mailing list