Buffer sizes

Werner Koch wk@gnupg.org
Fri, 25 Jul 2003 09:58:11 +0200

On Thu, 24 Jul 2003 20:08:11 +0200, Ralf Schneider said:

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

Use gcry_mpi_aprint; it returns an allocated buffer of the approriate size.

Werner Koch                                      <wk@gnupg.org>
The GnuPG Experts                                http://g10code.com
Free Software Foundation Europe	                 http://fsfeurope.org