On Mon May 20 2002; 15:00, Rüdiger Sonderfeld wrote: > when I use the gcry_pk_genkey() function I recive only one GCRY_SEXP > structue... You should take a closer look to the gcry_sexp_xxx functions. With them you can extract the values for the public and the secret key values. If you don't have an idea about the structure, use gcry_sexp_dump. Timo