how to use libgcrypt library
Werner Koch
wk@gnupg.org
Sun, 27 Jul 2003 20:13:32 +0200
On Sun, 27 Jul 2003 02:40:06 -0700, Neil Spring said:
> I also can't seem to use as small a key as I'd like -- anything smaller than 512 bits causes a GCRYERR_TOO_SHORT. Suggestions for making smaller signatures with smaller keys would be appreciated --
PKCS#1 adds internal padding. For tehre security reasons there is a
minimum requirement how short this can be. So when signing large data
with a short key, pkcs#1 can't be applied and thus the function must
fail.
--
Werner Koch <wk@gnupg.org>
The GnuPG Experts http://g10code.com
Free Software Foundation Europe http://fsfeurope.org