Howto use libgrcypt for signature?

Stephan Mueller smueller at chronox.de
Fri May 27 13:19:18 CEST 2016


Am Freitag, 27. Mai 2016, 13:18:11 schrieb Stephan Mueller:

Hi Stephan,

> Am Freitag, 27. Mai 2016, 12:17:23 schrieb Stef Bon:
> 
> Hi Stef,
> 
> > Aha thanks! That helps a lot!
> > 
> > How does the struct struct rsa_sigver_data look like? I see the values
> 
> struct rsa_sigver_data {
>         struct buffer n; /* input */
>         struct buffer e; /* input */
>         struct buffer msg; /* input */
>         struct buffer sig; /* input */
>         enum cipher cipher; /* input */
> };

One hint:

struct buffer {
        unsigned char *buf;
        uint32_t len;
};

Ciao
Stephan



More information about the Gcrypt-devel mailing list