Home GnuPG

cipher: Add support for 128-bit keys in RC2
738177ec0eaeUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

cipher: Add support for 128-bit keys in RC2

* cipher/rfc2268.c (oids_rfc2268_128): New
(_gcry_cipher_spec_rfc2268_128): New.
* cipher/cipher.c (cipher_table_entry): Add GCRY_CIPHER_RFC2268_128.

This patch adds support for decrypting (and encrypting) using 128-bit
keys using the RC2 algorithm.

Actually this is merely enabling that extra ID for 128 bit RFC2268.
We should have used one id for that algorithm only, because a second
identifier merely for having the OID in the code is a bad idea. My
initial fault and thus I better apply this patch to make the id not
entirely useless. -wk

  • Signed-off-by: Peter Wu <lekensteyn@gmail.com>

Details

Provenance
LekensteynAuthored on Sep 26 2013, 11:20 PM
wernerCommitted on Oct 1 2013, 2:01 PM
Parents
rC1d85452412b6: ecc: Use faster b parameter for Ed25519.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rC738177ec0eae: cipher: Add support for 128-bit keys in RC2 (authored by Peter Wu <lekensteyn@gmail.com>).Oct 1 2013, 2:01 PM