[PATCH] Add support for 128-bit keys in RC2
wk at gnupg.org
Tue Oct 1 13:59:08 CEST 2013
On Thu, 26 Sep 2013 23:20, lekensteyn at gmail.com said:
> This patch adds support for decrypting (and encrypting) using 128-bit
> keys using the RC2 algorithm.
Actually our RC2 implementation supports any key size >= 40 bit. I
can't remember why I came up with the two identifiers
GCRY_CIPHER_RFC2268_40 = 307, /* Ron's Cipher 2 (40 bit). */
GCRY_CIPHER_RFC2268_128 = 308, /* Ron's Cipher 2 (128 bit). */
and didn't implement the second one. Actually GCRY_CIPHER_RFC2268 would
have been sufficient because the caller may use any keylength anyway.
I added a Changelog entry and pushed it to master.
Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.
More information about the Gcrypt-devel