Buffer sizes

Ralf Schneider ralf@tapfere-schneiderleins.de
Thu, 24 Jul 2003 20:08:11 +0200


=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

is there a way to estimate the size of the encrypted data if you know the s=
ize=20
of the plain text for a given algorithm (in my case RSA with 1024 bit keys)?

Or is there a way to determine the size of the data in a gcry_ac_data_t obj=
ect=20
that holds the encryted data?

I need this value for creating buffers for converting the MPI values of the=
=20
data set to strings.

Best regards,
Ralf.
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE/ICCM7YyyfykA0YkRAoaFAKCWay6ogEE17PBaRXcUzgdXcYKwLwCfQYW6
osIfMhui/VgJmU4S3Hd0ll4=3D
=3DwyJI
=2D----END PGP SIGNATURE-----