Problem with Padding

Vinod Jacob vinod.jacob at gmail.com
Sat Oct 7 06:54:08 CEST 2006


Hi,

I am trying to write some code to make the libgcrypt handle the pkcs1.
for this to achieve, do i need to use the s-expression interface ?

 I am using sexp_data_to_mpi() with pkcs1 flag , which sets the MSBs
to 0x00. But when its 'gcy_mpi_scan'ed, the MSB 0x00x are ignored due
to mpi_normalize().

 Any Pointers how to go about this and what is missing here?


Thanks in advance,
   Vinod



More information about the Gnupg-users mailing list