Hi!

On Sun, 10 May 2026 07:51, Stef Bon said:

> I'm using gcry_pk_sign, and I want the code to get the size of the
> signature before using the sign function. Is there a way to do this?

The size of the signature depends on the algorithm and its parameters.
In general the size of a signature is fixed.  It is best to do trial
signing to find out which signature size is yielded for your algorithm.

There is no dummy signing, sorry.


Shalom-Salam,

   Werner

-- 
The pioneers of a warless world are the youth that
refuse military service.             - A. Einstein

Attachment: openpgp-digital-signature.asc
Description: PGP signature

_______________________________________________
Gcrypt-devel mailing list
[email protected]
https://lists.gnupg.org/mailman/listinfo/gcrypt-devel

Reply via email to